Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TSTW (0.13 sec)

  1. test/fixedbugs/issue26438.go

    // Issue 26438: arm64 backend may use 64-bit TST for
    // "if uint32(a)&uint32(b) == 0", which should be
    // 32-bit TSTW
    
    package main
    
    //go:noinline
    func tstw(a, b uint64) uint64 {
    	if uint32(a)&uint32(b) == 0 {
    		return 100
    	} else {
    		return 200
    	}
    }
    
    func main() {
    	if tstw(0xff00000000, 0xaa00000000) == 200 {
    		panic("impossible")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 18 14:15:05 UTC 2018
    - 507 bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/ARM64latelower.rules

    (XORconst [c] x) && !isARM64bitcon(uint64(c))  => (XOR x (MOVDconst [c]))
    (TSTconst [c] x) && !isARM64bitcon(uint64(c))  => (TST x (MOVDconst [c]))
    (TSTWconst [c] x) && !isARM64bitcon(uint64(c)|uint64(c)<<32)  => (TSTW x (MOVDconst [int64(c)]))
    
    (CMPconst [c] x) && !isARM64addcon(c)  => (CMP x (MOVDconst [c]))
    (CMPWconst [c] x) && !isARM64addcon(int64(c))  => (CMPW x (MOVDconst [int64(c)]))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/arm64/anames.go

    	"SWPH",
    	"SWPLB",
    	"SWPLD",
    	"SWPLH",
    	"SWPLW",
    	"SWPW",
    	"SXTB",
    	"SXTBW",
    	"SXTH",
    	"SXTHW",
    	"SXTW",
    	"SYS",
    	"SYSL",
    	"TBNZ",
    	"TBZ",
    	"TLBI",
    	"TST",
    	"TSTW",
    	"UBFIZ",
    	"UBFIZW",
    	"UBFM",
    	"UBFMW",
    	"UBFX",
    	"UBFXW",
    	"UCVTFD",
    	"UCVTFS",
    	"UCVTFWD",
    	"UCVTFWS",
    	"UDIV",
    	"UDIVW",
    	"UMADDL",
    	"UMNEGL",
    	"UMSUBL",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 18 01:40:37 UTC 2023
    - 5.4K bytes
    - Viewed (0)
Back to top