Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for SETBCR (0.09 sec)

  1. src/cmd/compile/internal/ssa/_gen/PPC64latelower.rules

    (ISEL [a] (MOVDconst [0]) y z) => (ISELZ [a^0x4] y z)
    
    // SETBC, SETBCR is supported on ISA 3.1(Power10) and newer, use ISELZ for
    // older targets
    (SETBC [2] cmp) && buildcfg.GOPPC64 <= 9 => (ISELZ [2] (MOVDconst [1]) cmp)
    (SETBCR [2] cmp) && buildcfg.GOPPC64 <= 9 => (ISELZ [6] (MOVDconst [1]) cmp)
    (SETBC [0] cmp) && buildcfg.GOPPC64 <= 9 => (ISELZ [0] (MOVDconst [1]) cmp)
    (SETBCR [0] cmp) && buildcfg.GOPPC64 <= 9 => (ISELZ [4] (MOVDconst [1]) cmp)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    (SETBCR [1] (Flag(LT|EQ))) => (MOVDconst [1])
    (SETBCR [2] (FlagEQ)) => (MOVDconst [0])
    (SETBCR [2] (Flag(LT|GT))) => (MOVDconst [1])
    
    (SETBC [0] (InvertFlags bool)) => (SETBC [1] bool)
    (SETBC [1] (InvertFlags bool)) => (SETBC [0] bool)
    (SETBC [2] (InvertFlags bool)) => (SETBC [2] bool)
    
    (SETBCR [0] (InvertFlags bool)) => (SETBCR [1] bool)
    (SETBCR [1] (InvertFlags bool)) => (SETBCR [0] bool)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewritePPC64latelower.go

    		v.AddArg2(v0, cmp)
    		return true
    	}
    	return false
    }
    func rewriteValuePPC64latelower_OpPPC64SETBCR(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (SETBCR [2] cmp)
    	// cond: buildcfg.GOPPC64 <= 9
    	// result: (ISELZ [6] (MOVDconst [1]) cmp)
    	for {
    		if auxIntToInt32(v.AuxInt) != 2 {
    			break
    		}
    		cmp := v_0
    		if !(buildcfg.GOPPC64 <= 9) {
    			break
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewritePPC64.go

    		return true
    	}
    	// match: (SETBCR [2] (FlagGT))
    	// result: (MOVDconst [1])
    	for {
    		if auxIntToInt32(v.AuxInt) != 2 || v_0.Op != OpPPC64FlagGT {
    			break
    		}
    		v.reset(OpPPC64MOVDconst)
    		v.AuxInt = int64ToAuxInt(1)
    		return true
    	}
    	// match: (SETBCR [0] (InvertFlags bool))
    	// result: (SETBCR [1] bool)
    	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)
  5. src/cmd/compile/internal/ssa/_gen/PPC64Ops.go

    		// SETBC auxInt values 0=LT 1=GT 2=EQ     (CRbit=1)? 1 : 0
    		{name: "SETBC", argLength: 1, reg: crgp, asm: "SETBC", aux: "Int32", typ: "Int32"},
    		// SETBCR auxInt values 0=LT 1=GT 2=EQ     (CRbit=1)? 0 : 1
    		{name: "SETBCR", argLength: 1, reg: crgp, asm: "SETBCR", aux: "Int32", typ: "Int32"},
    
    		// pseudo-ops
    		{name: "Equal", argLength: 1, reg: crgp},         // bool, true flags encode x==y false otherwise.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/opGen.go

    		reg: regInfo{
    			outputs: []outputInfo{
    				{0, 1073733624}, // R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R14 R15 R16 R17 R18 R19 R20 R21 R22 R23 R24 R25 R26 R27 R28 R29
    			},
    		},
    	},
    	{
    		name:    "SETBCR",
    		auxType: auxInt32,
    		argLen:  1,
    		asm:     ppc64.ASETBCR,
    		reg: regInfo{
    			outputs: []outputInfo{
    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