Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for cvt7 (4.82 sec)

  1. src/cmd/compile/internal/test/float_test.go

    func TestFloatConvert(t *testing.T) {
    	if got := cvt1(3.5); got != 3 {
    		t.Errorf("cvt1 got %d, wanted 3", got)
    	}
    	if got := cvt2(3.5); got != 3 {
    		t.Errorf("cvt2 got %d, wanted 3", got)
    	}
    	if got := cvt3(3.5); got != 3 {
    		t.Errorf("cvt3 got %d, wanted 3", got)
    	}
    	if got := cvt4(3.5); got != 3 {
    		t.Errorf("cvt4 got %d, wanted 3", got)
    	}
    	if got := cvt5(3.5); got != 3 {
    		t.Errorf("cvt5 got %d, wanted 3", got)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 12.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/phiopt.go

    	}
    	v.AddArg(a)
    
    	cvt := v.Block.NewValue1(v.Pos, OpCvtBoolToUint8, v.Block.Func.Config.Types.UInt8, a)
    	switch v.Type.Size() {
    	case 1:
    		v.reset(OpCopy)
    	case 2:
    		v.reset(OpZeroExt8to16)
    	case 4:
    		v.reset(OpZeroExt8to32)
    	case 8:
    		v.reset(OpZeroExt8to64)
    	default:
    		v.Fatalf("bad int size %d", v.Type.Size())
    	}
    	v.AddArg(cvt)
    
    	f := b0.Func
    	if f.pass.debug > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  3. test/float_lit2.go

    	two512  = two256 * two256
    	two768  = two512 * two256
    	two1024 = two512 * two512
    
    	ulp32 = two128 / two24
    	max32 = two128 - ulp32
    
    	ulp64 = two1024 / two53
    	max64 = two1024 - ulp64
    )
    
    var cvt = []struct {
    	bits   uint64 // keep us honest
    	exact  interface{}
    	approx interface{}
    	text   string
    }{
    	// 0
    	{0x7f7ffffe, float32(max32 - ulp32), float32(max32 - ulp32 - ulp32/2), "max32 - ulp32 - ulp32/2"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 16:39:47 UTC 2016
    - 7.9K bytes
    - Viewed (0)
  4. src/crypto/tls/testdata/Client-TLSv13-ClientCert-RSA-RSAPSS

    000000c0  c1 8a a9 51 24 20 86 dc  99 ac d2 28 af 7b 2d 6e  |...Q$ .....(.{-n|
    000000d0  16 9b 71 71 82 00 94 51  a4 4f 22 c1 26 a2 6f 67  |..qq...Q.O".&.og|
    000000e0  d9 45 ff 80 13 39 16 0f  9c 43 76 54 e5 12 0f 89  |.E...9...CvT....|
    000000f0  95 ed 75 df eb cb 6b d2  77 fd fa 37 d7 a3 31 b5  |..u...k.w..7..1.|
    00000100  61 47 69 8f 99 55 70 d0  96 b0 f7 a9 1b 53 69 a3  |aGi..Up......Si.|
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/plan9x.go

    	case Reg:
    		regenum := uint16(a)
    		regno := uint16(a) & 31
    
    		if regenum >= uint16(B0) && regenum <= uint16(Q31) {
    			if strings.HasPrefix(inst.Op.String(), "F") || strings.HasSuffix(inst.Op.String(), "CVTF") || fOpsWithoutFPrefix[inst.Op] {
    				// FP registers are the same ones as SIMD registers
    				// Print Fn for scalar variant to align with assembler (e.g., FCVT, SCVTF, UCVTF, etc.)
    				return fmt.Sprintf("F%d", regno)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:24:28 UTC 2022
    - 17K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/lower_tf.mlir

      // CHECK-DAG:  %[[CST5:.*]] = "tf.Const"() <{value = dense<0> : tensor<3xi64>}> : () -> tensor<3xi64>
      // CHECK-DAG:  %[[CST6:.*]] = "tf.Const"() <{value = dense<[3, 6, 4]> : tensor<3xi64>}> : () -> tensor<3xi64>
      // CHECK-DAG:  %[[CST7:.*]] = "tf.Const"() <{value = dense<1> : tensor<i32>}> : () -> tensor<i32>
      // CHECK:      %[[SLICE:.*]] = "tf.Slice"(%arg0, %[[CST]], %[[CST0]]) : (tensor<3x8x4xi32>, tensor<3xi64>, tensor<3xi64>) -> tensor<2x8x4xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 18:35:42 UTC 2024
    - 92K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/MIPS.rules

    (Signmask x) => (SRAconst x [31])
    (Zeromask x) => (NEG (SGTU x (MOVWconst [0])))
    (Slicemask <t> x) => (SRAconst (NEG <t> x) [31])
    
    // float-int conversion
    (Cvt32to(32|64)F ...) => (MOVW(F|D) ...)
    (Cvt(32|64)Fto32 ...) => (TRUNC(F|D)W ...)
    (Cvt32Fto64F ...) => (MOVFD ...)
    (Cvt64Fto32F ...) => (MOVDF ...)
    
    (CvtBoolToUint8 ...) => (Copy ...)
    
    (Round(32|64)F ...) => (Copy ...)
    
    // comparisons
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 35.3K bytes
    - Viewed (0)
Back to top