Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for ORN (0.04 sec)

  1. test/codegen/shift.go

    func lshMask64x64(v int64, s uint64) int64 {
    	// arm64:"LSL",-"AND"
    	// ppc64x:"RLDICL",-"ORN",-"ISEL"
    	// riscv64:"SLL",-"AND\t",-"SLTIU"
    	// s390x:-"RISBGZ",-"AND",-"LOCGR"
    	return v << (s & 63)
    }
    
    func rshMask64Ux64(v uint64, s uint64) uint64 {
    	// arm64:"LSR",-"AND",-"CSEL"
    	// ppc64x:"RLDICL",-"ORN",-"ISEL"
    	// riscv64:"SRL\t",-"AND\t",-"SLTIU"
    	// s390x:-"RISBGZ",-"AND",-"LOCGR"
    	return v >> (s & 63)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:53:43 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. 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)
  3. src/crypto/md5/md5block_ppc64x.s

    	ADD	R9, a; \
    	XOR	d, c, R31; \
    	XOR	b, R31; \
    	ADD	R31, a; \
    	ROTLW	$shift, a; \
    	ADD	b, a;
    
    #define ROUND4(a, b, c, d, index, const, shift) \
    	ADD	$const, index, R9; \
    	ADD	R9, a; \
    	ORN     d, b, R31; \
    	XOR	c, R31; \
    	ADD	R31, a; \
    	ROTLW	$shift, a; \
    	ADD	b, a;
    
    
    TEXT ·block(SB),NOSPLIT,$0-32
    	MOVD	dig+0(FP), R10
    	MOVD	p+8(FP), R6
    	MOVD	p_len+16(FP), R5
    
    	// We assume p_len >= 64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:05:32 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/ARM64Ops.go

    		{name: "ORNshiftLL", argLength: 2, reg: gp21, asm: "ORN", aux: "Int64"},                   // arg0 | ^(arg1<<auxInt), auxInt should be in the range 0 to 63.
    		{name: "ORNshiftRL", argLength: 2, reg: gp21, asm: "ORN", aux: "Int64"},                   // arg0 | ^(arg1>>auxInt), unsigned shift, auxInt should be in the range 0 to 63.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 58.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    (BIC x0 x1:(RORconst [c] y)) && clobberIfDead(x1) => (BICshiftRO x0 y [c])
    (ORN x0 x1:(SLLconst [c] y)) && clobberIfDead(x1) => (ORNshiftLL x0 y [c])
    (ORN x0 x1:(SRLconst [c] y)) && clobberIfDead(x1) => (ORNshiftRL x0 y [c])
    (ORN x0 x1:(SRAconst [c] y)) && clobberIfDead(x1) => (ORNshiftRA x0 y [c])
    (ORN x0 x1:(RORconst [c] y)) && clobberIfDead(x1) => (ORNshiftRO x0 y [c])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/compile/internal/ssa/_gen/PPC64Ops.go

    		{name: "OR", argLength: 2, reg: gp21, asm: "OR", commutative: true},                             // arg0|arg1
    		{name: "ORN", argLength: 2, reg: gp21, asm: "ORN"},                                              // arg0|^arg1
    		{name: "ORCC", argLength: 2, reg: gp21, asm: "ORCC", commutative: true, typ: "(Int,Flags)"},     // arg0|arg1 sets CC
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/testdata/ppc64.s

    	ANDCC R3, R4, R5                // 7c851839
    	ANDNCC R3, R4, R5               // 7c851879
    	OR R3, R4                       // 7c841b78
    	OR R3, R4, R5                   // 7c851b78
    	ORN R3, R4, R5                  // 7c851b38
    	ORCC R3, R4, R5                 // 7c851b79
    	ORNCC R3, R4, R5                // 7c851b39
    	XOR R3, R4                      // 7c841a78
    	XOR R3, R4, R5                  // 7c851a78
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 21:53:50 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewriteARM64.go

    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	// match: (ORN x (MOVDconst [c]))
    	// result: (ORconst [^c] x)
    	for {
    		x := v_0
    		if v_1.Op != OpARM64MOVDconst {
    			break
    		}
    		c := auxIntToInt64(v_1.AuxInt)
    		v.reset(OpARM64ORconst)
    		v.AuxInt = int64ToAuxInt(^c)
    		v.AddArg(x)
    		return true
    	}
    	// match: (ORN x x)
    	// result: (MOVDconst [-1])
    	for {
    		x := v_0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 608.6K bytes
    - Viewed (0)
  10. 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