Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for CSEL (0.09 sec)

  1. test/codegen/condmove.go

    	}
    	// arm64:"CSINC\tMI", -"CSEL"
    	r0 = x0
    
    	if s <= t {
    		x1 = a
    	} else {
    		x1 = ^b
    	}
    	// arm64:"CSINV\tLS", -"CSEL"
    	r1 = x1
    
    	if s > t {
    		x2 = a
    	} else {
    		x2 = -b
    	}
    	// arm64:"CSNEG\tMI", -"CSEL"
    	r2 = x2
    
    	if s >= t {
    		x3 = -1
    	} else {
    		x3 = 0
    	}
    	// arm64:"CSETM\tLS", -"CSEL"
    	r3 = x3
    
    	if s == t {
    		x4 = a
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 20:57:33 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  2. src/crypto/internal/nistec/p256_asm_arm64.s

    		LDP.P	16(b_ptr), (acc0, acc1)
    		CSEL	EQ, acc0, x0, x0
    		CSEL	EQ, acc1, x1, x1
    		LDP.P	16(b_ptr), (acc2, acc3)
    		CSEL	EQ, acc2, x2, x2
    		CSEL	EQ, acc3, x3, x3
    		LDP.P	16(b_ptr), (acc4, acc5)
    		CSEL	EQ, acc4, y0, y0
    		CSEL	EQ, acc5, y1, y1
    		LDP.P	16(b_ptr), (acc6, acc7)
    		CSEL	EQ, acc6, y2, y2
    		CSEL	EQ, acc7, y3, y3
    		LDP.P	16(b_ptr), (acc0, acc1)
    		CSEL	EQ, acc0, t0, t0
    		CSEL	EQ, acc1, t1, t1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  3. test/codegen/shift.go

    		r1 = val64 >> shift
    	}
    	if shift >= 0 && shift < 32 {
    		// arm64:"LSR",-"CSEL"
    		r2 = val32 >> shift
    	}
    	if shift >= 0 && shift < 16 {
    		// arm64:"LSR",-"CSEL"
    		r3 = val16 >> shift
    	}
    	if shift >= 0 && shift < 8 {
    		// arm64:"LSR",-"CSEL"
    		r4 = val8 >> shift
    	}
    	return r1, r2, r3, r4
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:53:43 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    (NEG (NEG x)) => x
    
    (CSEL [cc] (MOVDconst [-1]) (MOVDconst [0]) flag) => (CSETM [cc] flag)
    (CSEL [cc] (MOVDconst [0]) (MOVDconst [-1]) flag) => (CSETM [arm64Negate(cc)] flag)
    (CSEL [cc] x (MOVDconst [0]) flag) => (CSEL0 [cc] x flag)
    (CSEL [cc] (MOVDconst [0]) y flag) => (CSEL0 [arm64Negate(cc)] y flag)
    (CSEL [cc] x (ADDconst [1] a) flag) => (CSINC [cc] x a flag)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/arm64/doc.go

    Examples:
    
    	CCMN VS, R13, R22, $10     <=>    ccmn x13, x22, #0xa, vs
    	CCMPW HS, R19, R14, $11    <=>    ccmp w19, w14, #0xb, cs
    
    (9) CSEL, CSELW, CSNEG, CSNEGW, CSINC, CSINCW <cond>, <Rn>, <Rm>, <Rd> ;
    FCSELD, FCSELS <cond>, <Fn>, <Fm>, <Fd>
    
    Examples:
    
    	CSEL GT, R0, R19, R1        <=>    csel x1, x0, x19, gt
    	CSNEGW GT, R7, R17, R8      <=>    csneg w8, w7, w17, gt
    	FCSELD EQ, F15, F18, F16    <=>    fcsel d16, d15, d18, eq
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:21:42 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/arm64/anames.go

    	"CLSW",
    	"CLZ",
    	"CLZW",
    	"CMN",
    	"CMNW",
    	"CMP",
    	"CMPW",
    	"CNEG",
    	"CNEGW",
    	"CRC32B",
    	"CRC32CB",
    	"CRC32CH",
    	"CRC32CW",
    	"CRC32CX",
    	"CRC32H",
    	"CRC32W",
    	"CRC32X",
    	"CSEL",
    	"CSELW",
    	"CSET",
    	"CSETM",
    	"CSETMW",
    	"CSETW",
    	"CSINC",
    	"CSINCW",
    	"CSINV",
    	"CSINVW",
    	"CSNEG",
    	"CSNEGW",
    	"DC",
    	"DCPS1",
    	"DCPS2",
    	"DCPS3",
    	"DMB",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 18 01:40:37 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  7. src/internal/bytealg/compare_arm64.s

    //
    // On exit:
    // R0 is the result
    // R4, R5, R6, R8, R9 and R10 are clobbered
    TEXT cmpbody<>(SB),NOSPLIT|NOFRAME,$0-0
    	CMP	R0, R2
    	BEQ	samebytes         // same starting pointers; compare lengths
    	CMP	R1, R3
    	CSEL	LT, R3, R1, R6    // R6 is min(R1, R3)
    
    	CBZ	R6, samebytes
    	BIC	$0xf, R6, R10
    	CBZ	R10, small        // length < 16
    	ADD	R0, R10           // end of chunk16
    	// length >= 16
    chunk16_loop:
    	LDP.P	16(R0), (R4, R8)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 18 18:26:13 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewriteARM64.go

    		return true
    	}
    	// match: (CSEL [cc] x (MOVDconst [0]) flag)
    	// result: (CSEL0 [cc] x flag)
    	for {
    		cc := auxIntToOp(v.AuxInt)
    		x := v_0
    		if v_1.Op != OpARM64MOVDconst || auxIntToInt64(v_1.AuxInt) != 0 {
    			break
    		}
    		flag := v_2
    		v.reset(OpARM64CSEL0)
    		v.AuxInt = opToAuxInt(cc)
    		v.AddArg2(x, flag)
    		return true
    	}
    	// match: (CSEL [cc] (MOVDconst [0]) y flag)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 608.6K bytes
    - Viewed (0)
  9. test/codegen/comparisons.go

    }
    
    // invertLessThanNoov checks (LessThanNoov (InvertFlags x)) is lowered as
    // CMP, CSET, CSEL instruction sequence. InvertFlags are only generated under
    // certain conditions, see canonLessThan, so if the code below does not
    // generate an InvertFlags OP, this check may fail.
    func invertLessThanNoov(p1, p2, p3 Point) bool {
    	// arm64:`CMP`,`CSET`,`CSEL`
    	return (p1.X-p3.X)*(p2.Y-p3.Y)-(p2.X-p3.X)*(p1.Y-p3.Y) < 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 16:31:02 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  10. test/codegen/mathbits.go

    	return bits.RotateLeft32(n, 9)
    }
    
    func RotateLeft16(n uint16, s int) uint16 {
    	// amd64:"ROLW" 386:"ROLW"
    	// arm64:"RORW",-"CSEL"
    	return bits.RotateLeft16(n, s)
    }
    
    func RotateLeft8(n uint8, s int) uint8 {
    	// amd64:"ROLB" 386:"ROLB"
    	// arm64:"LSL","LSR",-"CSEL"
    	return bits.RotateLeft8(n, s)
    }
    
    func RotateLeftVariable(n uint, m int) uint {
    	// amd64:"ROLQ"
    	// arm64:"ROR"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:51:17 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top