Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for CSNEG (0.05 sec)

  1. test/codegen/condmove.go

    }
    
    func cmovuintptr(x, y uintptr) uintptr {
    	if x < y {
    		x = -y
    	}
    	// amd64:"CMOVQ(HI|CS)"
    	// arm64:"CSNEG\tLS"
    	// ppc64x:"ISEL\t[$]1"
    	// wasm:"Select"
    	return x
    }
    
    func cmov32bit(x, y uint32) uint32 {
    	if x < y {
    		x = -y
    	}
    	// amd64:"CMOVL(HI|CS)"
    	// arm64:"CSNEG\t(LS|HS)"
    	// ppc64x:"ISEL\t[$]1"
    	// wasm:"Select"
    	return x
    }
    
    func cmov16bit(x, y uint16) uint16 {
    	if x < y {
    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/cmd/internal/obj/arm64/anames.go

    	"CRC32CW",
    	"CRC32CX",
    	"CRC32H",
    	"CRC32W",
    	"CRC32X",
    	"CSEL",
    	"CSELW",
    	"CSET",
    	"CSETM",
    	"CSETMW",
    	"CSETW",
    	"CSINC",
    	"CSINCW",
    	"CSINV",
    	"CSINVW",
    	"CSNEG",
    	"CSNEGW",
    	"DC",
    	"DCPS1",
    	"DCPS2",
    	"DCPS3",
    	"DMB",
    	"DRPS",
    	"DSB",
    	"DWORD",
    	"EON",
    	"EONW",
    	"EOR",
    	"EORW",
    	"ERET",
    	"EXTR",
    	"EXTRW",
    	"FABSD",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 18 01:40:37 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/arm64/doc.go

    	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
    
    (10) TBNZ, TBZ $<imm>, <Rt>, <label>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:21:42 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/testdata/arm64enc.s

    	CMP $3817, R29                             // bfa73bf1
    	CMP R7>>23, R3                             // 7f5c47eb
    	CNEGW PL, R9, R14                          // 2e45895a
    	CSNEGW HS, R5, R9, R14                     // ae24895a
    	CSNEG PL, R14, R21, R3                     // c35595da
    	CNEG  LO, R7, R15                          // ef2487da
    	CRC32B R17, R8, R16                        // 1041d11a
    	CRC32H R3, R21, R27                        // bb46c31a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 24 01:11:41 UTC 2023
    - 43.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/tables.go

    	// CSNEG <Wd>, <Wn>, <Wm>, <cond>
    	{0xffe00c00, 0x5a800400, CSNEG, instArgs{arg_Wd, arg_Wn, arg_Wm, arg_cond_AllowALNV_Normal}, nil},
    	// CNEG <Xd>, <Xn>, <cond>
    	{0xffe00c00, 0xda800400, CNEG, instArgs{arg_Xd, arg_Xn, arg_cond_NotAllowALNV_Invert}, cneg_csneg_64_condsel_cond},
    	// CSNEG <Xd>, <Xn>, <Xm>, <cond>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 17:57:48 UTC 2017
    - 211.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    (CSEL [cc] x (MVN a) flag) => (CSINV [cc] x a flag)
    (CSEL [cc] (MVN a) x flag) => (CSINV [arm64Negate(cc)] x a flag)
    (CSEL [cc] x (NEG a) flag) => (CSNEG [cc] x a flag)
    (CSEL [cc] (NEG a) x flag) => (CSNEG [arm64Negate(cc)] x a flag)
    
    (SUB x (SUB y z)) => (SUB (ADD <v.Type> x z) y)
    (SUB (SUB x y) z) => (SUB x (ADD <y.Type> y z))
    
    // remove redundant *const ops
    (ADDconst [0]  x) => x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/ARM64Ops.go

    		{name: "CSINV", argLength: 3, reg: gp2flags1, asm: "CSINV", aux: "CCop"}, // auxint(flags) ? arg0 : ^arg1
    		{name: "CSNEG", argLength: 3, reg: gp2flags1, asm: "CSNEG", aux: "CCop"}, // auxint(flags) ? arg0 : -arg1
    		{name: "CSETM", argLength: 1, reg: readflags, asm: "CSETM", aux: "CCop"}, // auxint(flags) ? -1 : 0
    
    		// function calls
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 58.8K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/inst.json

    {"Name":"CSNEG","Bits":"0|1|0|1|1|0|1|0|1|0|0|Rm:5|cond:4|0|1|Rn:5|Rd:5","Arch":"32-bit variant","Syntax":"CSNEG <Wd>, <Wn>, <Wm>, <cond>","Code":"","Alias":"This instruction is used by the alias CNEG."},
    {"Name":"CSNEG","Bits":"1|1|0|1|1|0|1|0|1|0|0|Rm:5|cond:4|0|1|Rn:5|Rd:5","Arch":"64-bit variant","Syntax":"CSNEG <Xd>, <Xn>, <Xm>, <cond>","Code":"","Alias":"This instruction is used by the alias CNEG."},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 17:57:48 UTC 2017
    - 234.7K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/arm64.s

    // conditional operations
    	CSET	GT, R1	        // e1d79f9a
    	CSETW	HI, R2	        // e2979f1a
    	CSEL	LT, R1, R2, ZR	// 3fb0829a
    	CSELW	LT, R2, R3, R4	// 44b0831a
    	CSINC	GT, R1, ZR, R3	// 23c49f9a
    	CSNEG	MI, R1, R2, R3	// 234482da
    	CSINV	CS, R1, R2, R3	// CSINV	HS, R1, R2, R3 // 232082da
    	CSINV	HS, R1, R2, R3	// 232082da
    	CSINVW	MI, R2, ZR, R2	// 42409f5a
    	CINC	EQ, R4, R9	// 8914849a
    	CINCW	PL, R2, ZR	// 5f44821a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 03:28:17 UTC 2023
    - 94.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/rewriteARM64.go

    	// match: (CSEL [cc] x (NEG a) flag)
    	// result: (CSNEG [cc] x a flag)
    	for {
    		cc := auxIntToOp(v.AuxInt)
    		x := v_0
    		if v_1.Op != OpARM64NEG {
    			break
    		}
    		a := v_1.Args[0]
    		flag := v_2
    		v.reset(OpARM64CSNEG)
    		v.AuxInt = opToAuxInt(cc)
    		v.AddArg3(x, a, flag)
    		return true
    	}
    	// match: (CSEL [cc] (NEG a) x flag)
    	// result: (CSNEG [arm64Negate(cc)] x a flag)
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 608.6K bytes
    - Viewed (0)
Back to top