Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ORN (0.03 sec)

  1. test/codegen/bits.go

    }
    
    func and_mask_3(a, b uint32) (uint32, uint32) {
    	// arm/7:`BIC`,-`AND`
    	a &= 0xffffaaaa
    	// arm/7:`BFC`,-`AND`,-`BIC`
    	b &= 0xffc003ff
    	return a, b
    }
    
    // Check generation of arm64 BIC/EON/ORN instructions
    
    func op_bic(x, y uint32) uint32 {
    	// arm64:`BIC\t`,-`AND`
    	return x &^ y
    }
    
    func op_eon(x, y, z uint32, a []uint32, n, m uint64) uint64 {
    	// arm64:`EON\t`,-`EOR`,-`MVN`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    // Catch bounded shifts in situations like foo<<uint(shift&63) which might not be caught by the prove pass.
    (CMP(U|WU)const [d] (ANDconst z [c])) && uint64(d) > uint64(c) => (FlagLT)
    
    (ORN x (MOVDconst [-1])) => x
    
    (S(RAD|RD|LD) x (MOVDconst [c])) => (S(RAD|RD|LD)const [c&63 | (c>>6&1*63)] x)
    (S(RAW|RW|LW) x (MOVDconst [c])) => (S(RAW|RW|LW)const [c&31 | (c>>5&1*31)] x)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewritePPC64.go

    func rewriteValuePPC64_OpPPC64ORN(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	// match: (ORN x (MOVDconst [-1]))
    	// result: x
    	for {
    		x := v_0
    		if v_1.Op != OpPPC64MOVDconst || auxIntToInt64(v_1.AuxInt) != -1 {
    			break
    		}
    		v.copyOf(x)
    		return true
    	}
    	// match: (ORN (MOVDconst [c]) (MOVDconst [d]))
    	// result: (MOVDconst [c|^d])
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
Back to top