Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for int32 (0.25 sec)

  1. src/cmd/compile/internal/ssa/_gen/S390X.rules

    (CMPWconst (MOVDconst [x]) [y]) && int32(x)==int32(y) => (FlagEQ)
    (CMPWconst (MOVDconst [x]) [y]) && int32(x)<int32(y) => (FlagLT)
    (CMPWconst (MOVDconst [x]) [y]) && int32(x)>int32(y) => (FlagGT)
    (CMPWUconst (MOVDconst [x]) [y]) && uint32(x)==uint32(y) => (FlagEQ)
    (CMPWUconst (MOVDconst [x]) [y]) && uint32(x)<uint32(y) => (FlagLT)
    (CMPWUconst (MOVDconst [x]) [y]) && uint32(x)>uint32(y) => (FlagGT)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 74.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/ARM.rules

    (ANDconst [c] x) && !isARMImmRot(uint32(c)) && isARMImmRot(^uint32(c)) => (BICconst [int32(^uint32(c))] x)
    (BICconst [c] x) && !isARMImmRot(uint32(c)) && isARMImmRot(^uint32(c)) => (ANDconst [int32(^uint32(c))] x)
    (ADDconst [c] x) && buildcfg.GOARM.Version==7 && !isARMImmRot(uint32(c)) && uint32(c)>0xffff && uint32(-c)<=0xffff => (SUBconst [-c] x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 90.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/AMD64.rules

    (CMPLconst (MOVLconst [x]) [y]) && x==y => (FlagEQ)
    (CMPLconst (MOVLconst [x]) [y]) && x<y && uint32(x)<uint32(y) => (FlagLT_ULT)
    (CMPLconst (MOVLconst [x]) [y]) && x<y && uint32(x)>uint32(y) => (FlagLT_UGT)
    (CMPLconst (MOVLconst [x]) [y]) && x>y && uint32(x)<uint32(y) => (FlagGT_ULT)
    (CMPLconst (MOVLconst [x]) [y]) && x>y && uint32(x)>uint32(y) => (FlagGT_UGT)
    (CMPWconst (MOVLconst [x]) [y]) && int16(x)==y => (FlagEQ)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    (CMPWconst (MOVDconst [x]) [y]) && int32(x)==int32(y) => (FlagEQ)
    (CMPWconst (MOVDconst [x]) [y]) && int32(x)<int32(y)  => (FlagLT)
    (CMPWconst (MOVDconst [x]) [y]) && int32(x)>int32(y)  => (FlagGT)
    
    (CMPconst (MOVDconst [x]) [y]) && x==y => (FlagEQ)
    (CMPconst (MOVDconst [x]) [y]) && x<y  => (FlagLT)
    (CMPconst (MOVDconst [x]) [y]) && x>y  => (FlagGT)
    
    (CMPWUconst (MOVDconst [x]) [y]) && int32(x)==int32(y)  => (FlagEQ)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewrite.go

    func nlz32(x int32) int { return bits.LeadingZeros32(uint32(x)) }
    func nlz16(x int16) int { return bits.LeadingZeros16(uint16(x)) }
    func nlz8(x int8) int   { return bits.LeadingZeros8(uint8(x)) }
    
    // ntzX returns the number of trailing zeros.
    func ntz64(x int64) int { return bits.TrailingZeros64(uint64(x)) }
    func ntz32(x int32) int { return bits.TrailingZeros32(uint32(x)) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/debug.go

    						slotLoc := state.currentState.slots[slotID]
    						if slotLoc.absent() {
    							startState.Delete(int32(slotID))
    							continue
    						}
    						old := startState.Find(int32(slotID)) // do NOT replace existing values
    						if oldLS, ok := old.(*liveSlot); !ok || oldLS.VarLoc != slotLoc {
    							startState.Insert(int32(slotID),
    								&liveSlot{VarLoc: slotLoc})
    						}
    					}
    					locs.endState = startState
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/regalloc.go

    	// linear insert is ok.
    	for _, e := range x.entries {
    		d.addList(e.ID, e.regs)
    	}
    }
    
    func min32(x, y int32) int32 {
    	if x < y {
    		return x
    	}
    	return y
    }
    func max32(x, y int32) int32 {
    	if x > y {
    		return x
    	}
    	return y
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/api_test.go

    		},
    
    		// go.dev/issue/47243
    		{`package issue47243_a; var x int32; var _ = x << 3`, `3`, `untyped int`},
    		{`package issue47243_b; var x int32; var _ = x << 3.`, `3.`, `untyped float`},
    		{`package issue47243_c; var x int32; var _ = 1 << x`, `1 << x`, `int`},
    		{`package issue47243_d; var x int32; var _ = 1 << x`, `1`, `int`},
    		{`package issue47243_e; var x int32; var _ = 1 << 2`, `1`, `untyped int`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/ARM64Ops.go

    		{name: "SCVTFWS", argLength: 1, reg: gpfp, asm: "SCVTFWS"},   // int32 -> float32
    		{name: "SCVTFWD", argLength: 1, reg: gpfp, asm: "SCVTFWD"},   // int32 -> float64
    		{name: "UCVTFWS", argLength: 1, reg: gpfp, asm: "UCVTFWS"},   // uint32 -> float32
    		{name: "UCVTFWD", argLength: 1, reg: gpfp, asm: "UCVTFWD"},   // uint32 -> float64
    		{name: "SCVTFS", argLength: 1, reg: gpfp, asm: "SCVTFS"},     // int64 -> float32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 58.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/prove.go

    				case 4:
    					min = int64(int32(w.AuxInt) - int32(delta))
    					max = int64(int32(^uint32(0)>>1) - int32(delta))
    
    					vmin = parent.NewValue0I(parent.Pos, OpConst32, parent.Func.Config.Types.Int32, min)
    					vmax = parent.NewValue0I(parent.Pos, OpConst32, parent.Func.Config.Types.Int32, max)
    
    				case 2:
    					min = int64(int16(w.AuxInt) - int16(delta))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
Back to top