Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for assemble (0.4 sec)

  1. src/cmd/asm/internal/flags/flags.go

    	AllErrors  = flag.Bool("e", false, "no limit on number of errors reported")
    	SymABIs    = flag.Bool("gensymabis", false, "write symbol ABI information to output file, don't assemble")
    	Importpath = flag.String("p", obj.UnlinkablePkg, "set expected package import to path")
    	Spectre    = flag.String("spectre", "", "enable spectre mitigations in `list` (all, ret)")
    )
    
    var DebugFlags struct {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 22 19:18:23 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/endtoend_test.go

    	var ok bool
    	testOut = new(strings.Builder) // The assembler writes test output to this buffer.
    	ctxt.Bso = bufio.NewWriter(os.Stdout)
    	ctxt.IsAsm = true
    	defer ctxt.Bso.Flush()
    	failed := false
    	ctxt.DiagFunc = func(format string, args ...interface{}) {
    		failed = true
    		t.Errorf(format, args...)
    	}
    	pList.Firstpc, ok = parser.Parse()
    	if !ok || failed {
    		t.Errorf("asm: %s assembly failed", goarch)
    		return
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  3. src/cmd/asm/doc.go

    		after consulting $GOROOT/pkg/$GOOS_$GOARCH.
    	-S
    		Print assembly and machine code.
    	-V
    		Print assembler version and exit.
    	-debug
    		Dump instructions as they are parsed.
    	-dynlink
    		Support references to Go symbols defined in other shared libraries.
    	-e
    		No limit on number of errors reported.
    	-gensymabis
    		Write symbol ABI information to output file. Don't assemble.
    	-o file
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 22 20:46:45 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/asm.go

    			targetAddr.Type = obj.TYPE_REG
    		}
    	case target.Type == obj.TYPE_CONST:
    		// JMP $4
    		*targetAddr = a[0]
    	case target.Type == obj.TYPE_NONE:
    		// JMP
    	default:
    		p.errorf("cannot assemble jump %+v", target)
    		return
    	}
    
    	p.append(prog, cond, true)
    }
    
    func (p *Parser) patch() {
    	for _, patch := range p.toPatch {
    		targetProg := p.labels[patch.label]
    		if targetProg == nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/loong64.s

    #include "../../../../../runtime/textflag.h"
    // TODO: cover more instruction
    
    TEXT foo(SB),DUPOK|NOSPLIT,$0
    	JAL	1(PC)	//CALL 1(PC)	//00040054
    	JAL	(R4)	//CALL (R4)	//8100004c
    	// relocation in play so the assembled offset should be 0
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 22 18:50:59 GMT 2023
    - 434 bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/parse.go

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package asm implements the parser and instruction generator for the assembler.
    // TODO: Split apart?
    package asm
    
    import (
    	"fmt"
    	"io"
    	"log"
    	"os"
    	"strconv"
    	"strings"
    	"text/scanner"
    	"unicode/utf8"
    
    	"cmd/asm/internal/arch"
    	"cmd/asm/internal/flags"
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/amd64.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This input was created by taking the instruction productions in
    // the old assembler's (6a's) grammar and hand-writing complete
    // instructions for each rule, to guarantee we cover the same space.
    
    #include "../../../../../runtime/textflag.h"
    
    TEXT	foo(SB), DUPOK|NOSPLIT, $0
    
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 18:57:21 GMT 2019
    - 3.3K bytes
    - Viewed (0)
  8. doc/go_spec.html

    returns a received value along with an indication of whether the channel is closed.
    </p>
    
    
    <h3 id="Complex_numbers">Manipulating complex numbers</h3>
    
    <p>
    Three functions assemble and disassemble complex numbers.
    The built-in function <code>complex</code> constructs a complex
    value from a floating-point real and imaginary part, while
    <code>real</code> and <code>imag</code>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/ppc64.s

    	// For backwards compatibility, MOVW $const,Rx and MOVWZ $const,Rx assemble identically
    	// and accept the same constants.
    	MOVW $2147483648, R5            // 64058000
    	MOVWZ $-2147483648, R5          // 3ca08000
    
    	// TODO: These are preprocessed by the assembler into MOVD $const>>shift, R5; SLD $shift, R5.
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 15:53:25 GMT 2024
    - 49K bytes
    - Viewed (0)
  10. doc/next/5-toolchain.md

    Previously, large builds could see 100%+ build time increase from enabling PGO.
    In Go 1.23, overhead should be in the single digit percentages.
    
    ## Assembler {#assembler}
    
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 18 15:39:17 GMT 2024
    - 332 bytes
    - Viewed (0)
Back to top