Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for CSEL (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/compile/internal/ssa/_gen/ARM64Ops.go

    		// conditional instructions; auxint is
    		// one of the arm64 comparison pseudo-ops (LessThan, LessThanU, etc.)
    		{name: "CSEL", argLength: 3, reg: gp2flags1, asm: "CSEL", aux: "CCop"},   // auxint(flags) ? arg0 : arg1
    		{name: "CSEL0", argLength: 2, reg: gp1flags1, asm: "CSEL", aux: "CCop"},  // auxint(flags) ? arg0 : 0
    		{name: "CSINC", argLength: 3, reg: gp2flags1, asm: "CSINC", aux: "CCop"}, // auxint(flags) ? arg0 : arg1 + 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 58.8K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/arm64/asm7.go

    		if p.To.Type == obj.TYPE_NONE {
    			rt = REGZERO
    		}
    		if r == obj.REG_NONE {
    			r = REGZERO
    		}
    		o1 |= (uint32(rf&31) << 16) | (uint32(r&31) << 5) | uint32(rt&31)
    
    	case 18: /* csel cond,Rn,Rm,Rd; cinc/cinv/cneg cond,Rn,Rd; cset cond,Rd */
    		o1 = c.oprrr(p, p.As)
    
    		cond := SpecialOperand(p.From.Offset)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/opGen.go

    				{0, 9223372034707292160}, // F0 F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 F13 F14 F15 F16 F17 F18 F19 F20 F21 F22 F23 F24 F25 F26 F27 F28 F29 F30 F31
    			},
    		},
    	},
    	{
    		name:    "CSEL",
    		auxType: auxCCop,
    		argLen:  3,
    		asm:     arm64.ACSEL,
    		reg: regInfo{
    			inputs: []inputInfo{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
Back to top