Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for InvertFlags (0.33 sec)

  1. src/cmd/compile/internal/ssa/_gen/PPC64Ops.go

    		// (InvertFlags (CMP a b)) == (CMP b a)
    		// So if we want (LessThan (CMP a b)) but we can't do that because a is a constant,
    		// then we do (LessThan (InvertFlags (CMP b a))) instead.
    		// Rewrites will convert this to (GreaterThan (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: Wed May 22 19:59:38 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewriteARM64.go

    	}
    	// match: (GreaterEqual (InvertFlags x))
    	// result: (LessEqual x)
    	for {
    		if v_0.Op != OpARM64InvertFlags {
    			break
    		}
    		x := v_0.Args[0]
    		v.reset(OpARM64LessEqual)
    		v.AddArg(x)
    		return true
    	}
    	return false
    }
    func rewriteValueARM64_OpARM64GreaterEqualF(v *Value) bool {
    	v_0 := v.Args[0]
    	// match: (GreaterEqualF (InvertFlags x))
    	// result: (LessEqualF x)
    	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)
  3. src/cmd/compile/internal/ssa/rewritePPC64.go

    		return true
    	}
    	// match: (SETBC [0] (InvertFlags bool))
    	// result: (SETBC [1] bool)
    	for {
    		if auxIntToInt32(v.AuxInt) != 0 || v_0.Op != OpPPC64InvertFlags {
    			break
    		}
    		bool := v_0.Args[0]
    		v.reset(OpPPC64SETBC)
    		v.AuxInt = int32ToAuxInt(1)
    		v.AddArg(bool)
    		return true
    	}
    	// match: (SETBC [1] (InvertFlags bool))
    	// result: (SETBC [0] 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)
  4. src/cmd/compile/internal/ssa/_gen/ARMOps.go

    		// 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
    
    		// LoweredWB invokes runtime.gcWriteBarrier. arg0=mem, auxint=# of buffer entries needed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 41K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/S390XOps.go

    		// (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
    
    		// Pseudo-ops
    		{name: "LoweredGetG", argLength: 1, reg: gp01}, // arg0=mem
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 52.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/ARM64Ops.go

    		// 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
    
    		// atomic loads.
    		// load from arg0. arg1=mem. auxint must be zero.
    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/compile/internal/ssa/_gen/AMD64Ops.go

    			faultOnNilArg1: true,
    		},
    
    		// (InvertFlags (CMPQ a b)) == (CMPQ b a)
    		// So if we want (SETL (CMPQ a b)) but we can't do that because a is a constant,
    		// then we do (SETL (InvertFlags (CMPQ b a))) instead.
    		// Rewrites will convert this to (SETG (CMPQ b a)).
    		// InvertFlags is a pseudo-op which can't appear in assembly output.
    		{name: "InvertFlags", argLength: 1}, // reverse direction of arg0
    
    		// Pseudo-ops
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 16:40:24 UTC 2023
    - 98K bytes
    - Viewed (1)
  8. src/cmd/compile/internal/x86/ssa.go

    		p.To.Reg = v.Reg()
    		q := s.Prog(x86.ASETPC)
    		q.To.Type = obj.TYPE_REG
    		q.To.Reg = x86.REG_AX
    		opregreg(s, x86.AANDL, v.Reg(), x86.REG_AX)
    
    	case ssa.Op386InvertFlags:
    		v.Fatalf("InvertFlags should never make it to codegen %v", v.LongString())
    	case ssa.Op386FlagEQ, ssa.Op386FlagLT_ULT, ssa.Op386FlagLT_UGT, ssa.Op386FlagGT_ULT, ssa.Op386FlagGT_UGT:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 01:26:58 UTC 2023
    - 26.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/s390x/ssa.go

    		p.To.Type = obj.TYPE_REG
    		p.To.Reg = v.Reg()
    	case ssa.OpS390XLTDBR, ssa.OpS390XLTEBR:
    		opregreg(s, v.Op.Asm(), v.Args[0].Reg(), v.Args[0].Reg())
    	case ssa.OpS390XInvertFlags:
    		v.Fatalf("InvertFlags should never make it to codegen %v", v.LongString())
    	case ssa.OpS390XFlagEQ, ssa.OpS390XFlagLT, ssa.OpS390XFlagGT, ssa.OpS390XFlagOV:
    		v.Fatalf("Flag* ops should never make it to codegen %v", v.LongString())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 01:26:58 UTC 2023
    - 27.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/rewriteS390X.go

    			break
    		}
    		v.reset(OpS390XCMPconst)
    		v.AuxInt = int32ToAuxInt(int32(c))
    		v.AddArg(x)
    		return true
    	}
    	// match: (CMP (MOVDconst [c]) x)
    	// cond: is32Bit(c)
    	// result: (InvertFlags (CMPconst x [int32(c)]))
    	for {
    		if v_0.Op != OpS390XMOVDconst {
    			break
    		}
    		c := auxIntToInt64(v_0.AuxInt)
    		x := v_1
    		if !(is32Bit(c)) {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 395.1K bytes
    - Viewed (0)
Back to top