Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 53 of 53 for vconst2 (5.18 sec)

  1. src/cmd/compile/internal/ssa/_gen/RISCV64.rules

    (MOVBUreg (ANDI [c] x)) && c < 0 => (ANDI [int64(uint8(c))] x)
    (MOVHUreg (ANDI [c] x)) && c < 0 => (ANDI [int64(uint16(c))] x)
    (MOVWUreg (ANDI [c] x)) && c < 0 => (AND (MOVDconst [int64(uint32(c))]) x)
    
    // Avoid sign/zero extension for consts.
    (MOVBreg  (MOVDconst [c])) => (MOVDconst [int64(int8(c))])
    (MOVHreg  (MOVDconst [c])) => (MOVDconst [int64(int16(c))])
    (MOVWreg  (MOVDconst [c])) => (MOVDconst [int64(int32(c))])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  2. doc/asm.html

    changes in data layout either in the Go type definitions or in the
    layout rules used by the Go compiler.
    </p>
    
    <p>
    Constants are of the form <code>const_<i>name</i></code>.
    For example, given the Go declaration <code>const bufSize =
    1024</code>, assembly code can refer to the value of this constant
    as <code>const_bufSize</code>.
    </p>
    
    <p>
    Field offsets are of the form <code><i>type</i>_<i>field</i></code>.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 19:15:27 UTC 2023
    - 36.3K bytes
    - Viewed (1)
  3. src/cmd/compile/internal/test/testdata/arith_test.go

    	}
    	if want, got := uint32(268435455), invalidMul_ssa(1); want != got {
    		t.Errorf("testLargeConst mul failed, wanted %d got %d", want, got)
    	}
    }
    
    // testArithRshConst ensures that "const >> const" right shifts correctly perform
    // sign extension on the lhs constant
    func testArithRshConst(t *testing.T) {
    	wantu := uint64(0x4000000000000000)
    	if got := arithRshuConst_ssa(); got != wantu {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:30:59 UTC 2023
    - 43.5K bytes
    - Viewed (0)
Back to top