Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestShiftToExtensionAMD64 (0.29 sec)

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

    			Valu("shift", op, typ, 0, nil, "load", "c"),
    			Valu("store", OpStore, types.TypeMem, 0, c.config.Types.UInt64, "resptr", "shift", "mem"),
    			Exit("store")))
    	Compile(fun.f)
    	return fun
    }
    
    func TestShiftToExtensionAMD64(t *testing.T) {
    	c := testConfig(t)
    	// Test that eligible pairs of constant shifts are converted to extensions.
    	// For example:
    	//   (uint64(x) << 32) >> 32 -> uint64(uint32(x))
    	ops := map[Op]int{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 4K bytes
    - Viewed (0)
Back to top