- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for Assembly (0.24 sec)
-
src/cmd/asm/main.go
break } } if ok && !*flags.SymABIs { ctxt.NumberSyms() obj.WriteObjFile(ctxt, buf) } if !ok || diag { if failedFile != "" { log.Printf("assembly of %s failed", failedFile) } else { log.Print("assembly failed") } buf.Close() os.Remove(*flags.OutputFile) os.Exit(1) }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Aug 29 07:48:38 GMT 2023 - 2.7K bytes - Viewed (0) -
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) -
src/cmd/asm/internal/flags/flags.go
flag.BoolVar(&DebugV, "v", false, "print debug output") flag.Var(objabi.NewDebugFlag(&DebugFlags, nil), "d", "enable debugging settings; try -d help") objabi.AddVersionFlag() // -V objabi.Flagcount("S", "print assembly and machine code", &PrintOut) } // MultiFlag allows setting a value multiple times to collect a list, as in -I=dir1 -I=dir2. type MultiFlag []string func (m *MultiFlag) String() string { if len(*m) == 0 {
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) -
src/cmd/asm/internal/asm/endtoend_test.go
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 } output := strings.Split(testOut.String(), "\n") // Reconstruct expected output by independently "parsing" the input. data, err := os.ReadFile(input) if err != nil {
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) -
src/cmd/asm/internal/asm/parse.go
continue } p.errorf("unrecognized instruction %q", word) } if p.errorCount > 0 { return nil, false } p.patch() return p.firstProg, true } // ParseSymABIs parses p's assembly code to find text symbol // definitions and references and writes a symabis file to w. func (p *Parser) ParseSymABIs(w io.Writer) bool { operands := make([][]lex.Token, 0, 3) for {
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) -
src/cmd/cgo/gcc.go
// Some systems use leading _ to denote non-assembly symbols. return s == "__cgodebug_ints" || s == "___cgodebug_ints" } isDebugFloats := func(s string) bool { // Some systems use leading _ to denote non-assembly symbols. return s == "__cgodebug_floats" || s == "___cgodebug_floats" } indexOfDebugStr := func(s string) int { // Some systems use leading _ to denote non-assembly symbols. if strings.HasPrefix(s, "___") {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Nov 02 16:43:23 GMT 2023 - 97K bytes - Viewed (0) -
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) -
cmd/encryption-v1.go
err = errors.New("Object is not encrypted") return } if rs == nil { // No range, so offsets refer to the whole object. return 0, o.Size, 0, 0, 0, nil } // Assemble slice of (decrypted) part sizes in `sizes` var sizes []int64 var decObjSize int64 // decrypted total object size if o.isMultipart() { sizes = make([]int64, len(o.Parts)) for i, part := range o.Parts {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 36.5K bytes - Viewed (0) -
cmd/object-api-utils.go
} return fn } // compressOpts are the options for writing compressed data. var compressOpts []s2.WriterOption func init() { if runtime.GOARCH == "amd64" { // On amd64 we have assembly and can use stronger compression. compressOpts = append(compressOpts, s2.WriterBetterCompression()) } } // newS2CompressReader will read data from r, compress it and return the compressed data as a Reader.
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Mar 11 11:55:34 GMT 2024 - 35.6K bytes - Viewed (1) -
src/cmd/asm/internal/asm/operand_test.go
} } }) } } type operandTest struct { input, output string } type badOperandTest struct { input, error string } // Examples collected by scanning all the assembly in the standard repo. var amd64OperandTests = []operandTest{ {"$(-1.0)", "$(-1.0)"}, {"$(0.0)", "$(0.0)"}, {"$(0x2000000+116)", "$33554548"}, {"$(0x3F<<7)", "$8064"}, {"$(112+8)", "$120"},
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Aug 29 18:31:05 GMT 2023 - 23.9K bytes - Viewed (0)