- Sort Score
- Result 10 results
- Languages All
Results 21 - 28 of 28 for SRA (0.04 sec)
-
src/cmd/compile/internal/ssa/rewriteCond_test.go
one64 int64 = 1 one32 int32 = 1 v64 int64 = 11 // ensure it's not 2**n +/- 1 v64_n int64 = -11 v32 int32 = 11 v32_n int32 = -11 uv32 uint32 = 19 uz uint8 = 1 // for lowering to SLL/SRL/SRA ) var crTests = []struct { name string tf func(t *testing.T) }{ {"AddConst64", testAddConst64}, {"AddConst32", testAddConst32}, {"AddVar64", testAddVar64}, {"AddVar64Cset", testAddVar64Cset},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 24 01:19:09 UTC 2023 - 11.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteMIPS.go
v.AuxInt = int32ToAuxInt(d << uint32(c)) return true } return false } func rewriteValueMIPS_OpMIPSSRA(v *Value) bool { v_1 := v.Args[1] v_0 := v.Args[0] // match: (SRA x (MOVWconst [c])) // result: (SRAconst x [c&31]) for { x := v_0 if v_1.Op != OpMIPSMOVWconst { break } c := auxIntToInt32(v_1.AuxInt) v.reset(OpMIPSSRAconst)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 14:43:03 UTC 2023 - 176.6K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/armerror.s
ADD.W R1<<R2, R3 // ERROR "invalid .W suffix" SUB.U R1<<R2, R3, R9 // ERROR "invalid .U suffix" CMN.S R5->R2, R1 // ERROR "invalid .S suffix" SLL.P R1, R2, R3 // ERROR "invalid .P suffix" SRA.U R2, R8 // ERROR "invalid .U suffix" SWI.S // ERROR "invalid .S suffix" SWI.P $0 // ERROR "invalid .P suffix" MOVW.S $0xaaaaaaaa, R7 // ERROR "invalid .S suffix"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 03 14:06:21 UTC 2017 - 14.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteARM64.go
v_0 := v.Args[0] // match: (SRA x (MOVDconst [c])) // result: (SRAconst x [c&63]) for { x := v_0 if v_1.Op != OpARM64MOVDconst { break } c := auxIntToInt64(v_1.AuxInt) v.reset(OpARM64SRAconst) v.AuxInt = int64ToAuxInt(c & 63) v.AddArg(x) return true } // match: (SRA x (ANDconst [63] y)) // result: (SRA x y) 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) -
src/cmd/compile/internal/ssa/_gen/S390X.rules
// result = arg >> (shift >= 64 ? 63 : shift) (Rsh(64|32)x64 x y) => (SRA(D|W) x (LOCGR {s390x.GreaterOrEqual} <y.Type> y (MOVDconst <y.Type> [63]) (CMPUconst y [64]))) (Rsh(64|32)x32 x y) => (SRA(D|W) x (LOCGR {s390x.GreaterOrEqual} <y.Type> y (MOVDconst <y.Type> [63]) (CMPWUconst y [64]))) (Rsh(64|32)x16 x y) => (SRA(D|W) x (LOCGR {s390x.GreaterOrEqual} <y.Type> y (MOVDconst <y.Type> [63]) (CMPWUconst (MOVHZreg y) [64])))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 18:09:26 UTC 2023 - 74.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/ARM64Ops.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 15:49:20 UTC 2024 - 58.8K bytes - Viewed (0) -
src/cmd/internal/obj/ppc64/asm9.go
case 53: /* mffsX ,fr1 */ o1 = AOP_RRR(OP_MFFS, uint32(p.To.Reg), 0, 0) case 55: /* op Rb, Rd */ o1 = AOP_RRR(c.oprrr(p.As), uint32(p.To.Reg), 0, uint32(p.From.Reg)) case 56: /* sra $sh,[s,]a; srd $sh,[s,]a */ v := c.regoff(&p.From) r := int(p.Reg) if r == 0 { r = int(p.To.Reg) } o1 = AOP_RRR(c.opirr(p.As), uint32(r), uint32(p.To.Reg), uint32(v)&31)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 13:55:28 UTC 2024 - 156.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/opGen.go
{0, 22527}, // R0 R1 R2 R3 R4 R5 R6 R7 R8 R9 g R12 R14 }, outputs: []outputInfo{ {0, 21503}, // R0 R1 R2 R3 R4 R5 R6 R7 R8 R9 R12 R14 }, }, }, { name: "SRA", argLen: 2, asm: arm.ASRA, reg: regInfo{ inputs: []inputInfo{ {0, 22527}, // R0 R1 R2 R3 R4 R5 R6 R7 R8 R9 g R12 R14 {1, 22527}, // R0 R1 R2 R3 R4 R5 R6 R7 R8 R9 g R12 R14 },
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 15:49:20 UTC 2024 - 1M bytes - Viewed (0)