Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for optab (0.05 sec)

  1. src/cmd/internal/obj/ppc64/asm9.go

    	{Optab: Optab{as: AMOVD, a1: C_LACON, a6: C_REG, type_: 26, size: 8}, minGOPPC64: 10, pfxsize: 8},
    	{Optab: Optab{as: AMOVD, a1: C_LOREG, a6: C_REG, type_: 36, size: 8}, minGOPPC64: 10, pfxsize: 8},
    	{Optab: Optab{as: AMOVD, a1: C_REG, a6: C_LOREG, type_: 35, size: 8}, minGOPPC64: 10, pfxsize: 8},
    	{Optab: Optab{as: AMOVD, a1: C_REG, a6: C_ADDR, type_: 74, size: 8}, minGOPPC64: 10, pfxsize: 8},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/mips/asm0.go

    			if cmp(n, i) {
    				xcmp[i][n] = true
    			}
    		}
    	}
    	for n = 0; optab[n].as != obj.AXXX; n++ {
    	}
    	sort.Sort(ocmp(optab[:n]))
    	for i := 0; i < n; i++ {
    		r := optab[i].as
    		r0 := r & obj.AMask
    		start := i
    		for optab[i].as == r {
    			i++
    		}
    		oprange[r0] = optab[start:i]
    		i--
    
    		switch r {
    		default:
    			ctxt.Diag("unknown op in build: %v", r)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 53.6K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/loong64/asm.go

    			if cmp(n, i) {
    				xcmp[i][n] = true
    			}
    		}
    	}
    	for n = 0; optab[n].as != obj.AXXX; n++ {
    	}
    	sort.Sort(ocmp(optab[:n]))
    	for i := 0; i < n; i++ {
    		r := optab[i].as
    		r0 := r & obj.AMask
    		start := i
    		for optab[i].as == r {
    			i++
    		}
    		oprange[r0] = optab[start:i]
    		i--
    
    		switch r {
    		default:
    			ctxt.Diag("unknown op in build: %v", r)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 61.8K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/ppc64/asm_test.go

    			}
    		}
    	}
    }
    
    // The optab size should remain constant when reinitializing the PPC64 assembler backend.
    func TestOptabReinit(t *testing.T) {
    	buildcfg.GOOS = "linux"
    	buildcfg.GOARCH = "ppc64le"
    	buildcfg.GOPPC64 = 8
    	buildop(nil)
    	optabLen := len(optab)
    	buildcfg.GOPPC64 = 9
    	buildop(nil)
    	reinitOptabLen := len(optab)
    	if reinitOptabLen != optabLen {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 09 22:14:57 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/arm64/asm7.go

    		for j := 0; j < C_GOK; j++ {
    			if cmp(j, i) {
    				xcmp[i][j] = true
    			}
    		}
    	}
    
    	sort.Sort(ocmp(optab))
    	for i := 0; i < len(optab); i++ {
    		as, start := optab[i].as, i
    		for ; i < len(optab)-1; i++ {
    			if optab[i+1].as != as {
    				break
    			}
    		}
    		t := optab[start : i+1]
    		oprangeset(as, t)
    		switch as {
    		default:
    			ctxt.Diag("unknown op in build: %v", as)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/s390x/asmz.go

    				xcmp[i][n] = true
    			}
    		}
    	}
    	sort.Sort(ocmp(optab))
    	for i := 0; i < len(optab); i++ {
    		r := optab[i].as
    		start := i
    		for ; i+1 < len(optab); i++ {
    			if optab[i+1].as != r {
    				break
    			}
    		}
    		oprange[r&obj.AMask] = optab[start : i+1]
    
    		// opset() aliases optab ranges for similar instructions, to reduce the number of optabs in the array.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 176.7K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/x86/asm6.go

    			ctxt.Diag("phase error in avxOptab: %d (%v)", i, c)
    		}
    		opindex[c&obj.AMask] = &avxOptab[i]
    	}
    	for i := 1; optab[i].as != 0; i++ {
    		c := optab[i].as
    		if opindex[c&obj.AMask] != nil {
    			ctxt.Diag("phase error in optab: %d (%v)", i, c)
    		}
    		opindex[c&obj.AMask] = &optab[i]
    	}
    
    	for i := 0; i < Ymax; i++ {
    		ycover[i*Ymax+i] = 1
    	}
    
    	ycover[Yi0*Ymax+Yu2] = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/link.go

    	As       As        // assembler opcode
    	Reg      int16     // 2nd source operand
    	RegTo2   int16     // 2nd destination operand
    	Mark     uint16    // bitmask of arch-specific items
    	Optab    uint16    // arch-specific opcode index
    	Scond    uint8     // bits that describe instruction suffixes (e.g. ARM conditions, RISCV Rounding Mode)
    	Back     uint8     // for x86 back end: backwards branch state
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/ppc64/obj9.go

    			p.As = AANDISCC
    			p.From.Offset >>= 16
    		}
    
    	// To maintain backwards compatibility, we accept some 4 argument usage of
    	// several opcodes which was likely not intended, but did work. These are not
    	// added to optab to avoid the chance this behavior might be used with newer
    	// instructions.
    	//
    	// Rewrite argument ordering like "ADDEX R3, $3, R4, R5" into
    	//                                "ADDEX R3, R4, $3, R5"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  10. src/runtime/plugin.go

    	// function symbol names are prefixed here with '.' to avoid
    	// a dependency on the reflect package.
    	syms = make(map[string]any, len(md.ptab))
    	for _, ptab := range md.ptab {
    		symName := resolveNameOff(unsafe.Pointer(md.types), ptab.name)
    		t := toRType((*_type)(unsafe.Pointer(md.types))).typeOff(ptab.typ) // TODO can this stack of conversions be simpler?
    		var val any
    		valp := (*[2]unsafe.Pointer)(unsafe.Pointer(&val))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top