Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for flagConstant (0.26 sec)

  1. src/cmd/compile/internal/ssa/rewrite.go

    func (fc flagConstant) le() bool {
    	return fc.Z() || fc.lt()
    }
    func (fc flagConstant) gt() bool {
    	return !fc.Z() && fc.ge()
    }
    func (fc flagConstant) ge() bool {
    	return fc.N() == fc.V()
    }
    func (fc flagConstant) ult() bool {
    	return !fc.C()
    }
    func (fc flagConstant) ule() bool {
    	return fc.Z() || fc.ult()
    }
    func (fc flagConstant) ugt() bool {
    	return !fc.Z() && fc.uge()
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    (LT (FlagConstant [fc]) yes no) && !fc.lt() => (First no yes)
    
    (LE (FlagConstant [fc]) yes no) &&  fc.le() => (First yes no)
    (LE (FlagConstant [fc]) yes no) && !fc.le() => (First no yes)
    
    (GT (FlagConstant [fc]) yes no) &&  fc.gt() => (First yes no)
    (GT (FlagConstant [fc]) yes no) && !fc.gt() => (First no yes)
    
    (GE (FlagConstant [fc]) yes no) &&  fc.ge() => (First yes no)
    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

    	// cond: 0xff < c
    	// result: (FlagConstant [subFlags64(0,1)])
    	for {
    		c := auxIntToInt32(v.AuxInt)
    		if v_0.Op != OpARM64MOVBUreg || !(0xff < c) {
    			break
    		}
    		v.reset(OpARM64FlagConstant)
    		v.AuxInt = flagConstantToAuxInt(subFlags64(0, 1))
    		return true
    	}
    	// match: (CMPWconst (MOVHUreg _) [c])
    	// cond: 0xffff < c
    	// result: (FlagConstant [subFlags64(0,1)])
    	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)
  4. src/cmd/compile/internal/ssa/check.go

    					f.Fatalf("bad type %T for S390XRotateParams in %v", v.Aux, v)
    				}
    				canHaveAux = true
    			case auxFlagConstant:
    				if v.AuxInt < 0 || v.AuxInt > 15 {
    					f.Fatalf("bad FlagConstant AuxInt value for %v", v)
    				}
    				canHaveAuxInt = true
    			default:
    				f.Fatalf("unknown aux type for %s", v.Op)
    			}
    			if !canHaveAux && v.Aux != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/op.go

    	auxFloat32                // auxInt is a float32 (encoded with math.Float64bits)
    	auxFloat64                // auxInt is a float64 (encoded with math.Float64bits)
    	auxFlagConstant           // auxInt is a flagConstant
    	auxCCop                   // auxInt is a ssa.Op that represents a flags-to-bool conversion (e.g. LessThan)
    	auxNameOffsetInt8         // aux is a &struct{Name ir.Name, Offset int64}; auxInt is index in parameter registers array
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/value.go

    	case auxCCop:
    		return fmt.Sprintf(" [%s]", Op(v.AuxInt))
    	case auxS390XCCMask, auxS390XRotateParams:
    		return fmt.Sprintf(" {%v}", v.Aux)
    	case auxFlagConstant:
    		return fmt.Sprintf("[%s]", flagConstant(v.AuxInt))
    	case auxNone:
    		return ""
    	default:
    		// If you see this, add a case above instead.
    		return fmt.Sprintf("[auxtype=%d AuxInt=%d Aux=%v]", opcodeTable[v.Op].auxType, v.AuxInt, v.Aux)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:40:22 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/ARM64Ops.go

    		// comparisons, but we don't use such a beast yet.
    		// This op is for temporary use by rewrite rules. It
    		// cannot appear in the generated assembly.
    		{name: "FlagConstant", aux: "FlagConstant"},
    
    		// (InvertFlags (CMP a b)) == (CMP b a)
    		// InvertFlags is a pseudo-op which can't appear in assembly output.
    		{name: "InvertFlags", argLength: 1}, // reverse direction of arg0
    
    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/compile/internal/ssa/opGen.go

    		argLen:  4,
    		call:    true,
    		reg: regInfo{
    			inputs: []inputInfo{
    				{0, 16}, // R4
    				{1, 1},  // R0
    				{2, 2},  // R1
    			},
    		},
    	},
    	{
    		name:    "FlagConstant",
    		auxType: auxFlagConstant,
    		argLen:  0,
    		reg:     regInfo{},
    	},
    	{
    		name:   "InvertFlags",
    		argLen: 1,
    		reg:    regInfo{},
    	},
    	{
    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