Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for b2i (0.13 sec)

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

    	}
    	fc := flagConstant(flags.AuxInt)
    	b2i := func(b bool) int {
    		if b {
    			return 1
    		}
    		return -1
    	}
    	switch op {
    	case OpARM64Equal:
    		return b2i(fc.eq())
    	case OpARM64NotEqual:
    		return b2i(fc.ne())
    	case OpARM64LessThan:
    		return b2i(fc.lt())
    	case OpARM64LessThanU:
    		return b2i(fc.ult())
    	case OpARM64GreaterThan:
    		return b2i(fc.gt())
    	case OpARM64GreaterThanU:
    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

    (Equal         (FlagConstant [fc])) => (MOVDconst [b2i(fc.eq())])
    (NotEqual      (FlagConstant [fc])) => (MOVDconst [b2i(fc.ne())])
    (LessThan      (FlagConstant [fc])) => (MOVDconst [b2i(fc.lt())])
    (LessThanU     (FlagConstant [fc])) => (MOVDconst [b2i(fc.ult())])
    (LessEqual     (FlagConstant [fc])) => (MOVDconst [b2i(fc.le())])
    (LessEqualU    (FlagConstant [fc])) => (MOVDconst [b2i(fc.ule())])
    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

    		v.AddArg(v0)
    		return true
    	}
    	// match: (Equal (FlagConstant [fc]))
    	// result: (MOVDconst [b2i(fc.eq())])
    	for {
    		if v_0.Op != OpARM64FlagConstant {
    			break
    		}
    		fc := auxIntToFlagConstant(v_0.AuxInt)
    		v.reset(OpARM64MOVDconst)
    		v.AuxInt = int64ToAuxInt(b2i(fc.eq()))
    		return true
    	}
    	// match: (Equal (InvertFlags x))
    	// result: (Equal 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)
  4. src/crypto/tls/handshake_client_test.go

    u1NQOl2E8P6ycyBsuGnO89p0S4F8cMRcI2X1XQsZ7/q0NBrOMaEp5T3SrWo9GiQ3
    o2SBdbs3Y6MBPBtTu977Z/0RO63J3M5i2tjUiDfrFy7+VRLKr7qQ7JibohyB8QaR
    9tedgjn2f+of7PnP/PEl1cCphUZeHM7QKUMPT8dbqwmKtlYY43EHXcvNOT5IBk3X
    9lwJoZk/B2i+ZMRNSP34ztAwtxmasPt6RAWGQpWCn9qmttAHAnMfDqe7F7jVR6rS
    u58=
    -----END CERTIFICATE-----`
    
    func TestHandshakeRSATooBig(t *testing.T) {
    	testCert, _ := pem.Decode([]byte(largeRSAKeyCertPEM))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    (Trunc64to32 x) => (MOVWZreg x)
    
    // Lowering constants
    (Const(64|32|16|8) [val]) => (MOVDconst [int64(val)])
    (Const(32|64)F ...) => (FMOV(S|D)const ...)
    (ConstNil) => (MOVDconst [0])
    (ConstBool [t]) => (MOVDconst [b2i(t)])
    
    // Carrying addition.
    (Select0 (Add64carry x y c)) =>            (Select0 <typ.UInt64> (ADDE x y (Select1 <typ.UInt64> (ADDCconst c [-1]))))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewritePPC64.go

    		return true
    	}
    }
    func rewriteValuePPC64_OpConstBool(v *Value) bool {
    	// match: (ConstBool [t])
    	// result: (MOVDconst [b2i(t)])
    	for {
    		t := auxIntToBool(v.AuxInt)
    		v.reset(OpPPC64MOVDconst)
    		v.AuxInt = int64ToAuxInt(b2i(t))
    		return true
    	}
    }
    func rewriteValuePPC64_OpConstNil(v *Value) bool {
    	// match: (ConstNil)
    	// result: (MOVDconst [0])
    	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)
Back to top