Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for InvertFlags (0.24 sec)

  1. test/codegen/comparisons.go

    }
    
    type Point struct {
    	X, Y int
    }
    
    // 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`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 16:31:02 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/386Ops.go

    			faultOnNilArg1: true,
    		},
    
    		// (InvertFlags (CMPL a b)) == (CMPL b a)
    		// So if we want (SETL (CMPL a b)) but we can't do that because a is a constant,
    		// then we do (SETL (InvertFlags (CMPL b a))) instead.
    		// Rewrites will convert this to (SETG (CMPL 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: Tue Mar 14 08:10:32 UTC 2023
    - 45.1K bytes
    - Viewed (0)
  3. 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)
  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/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)
  6. 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)
Back to top