Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for auxIntToInt64 (0.27 sec)

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

    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (SLLI [c] (MOVBUreg x))
    	// cond: c <= 56
    	// result: (SRLI [56-c] (SLLI <typ.UInt64> [56] x))
    	for {
    		c := auxIntToInt64(v.AuxInt)
    		if v_0.Op != OpRISCV64MOVBUreg {
    			break
    		}
    		x := v_0.Args[0]
    		if !(c <= 56) {
    			break
    		}
    		v.reset(OpRISCV64SRLI)
    		v.AuxInt = int64ToAuxInt(56 - c)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 5.1K bytes
    - Viewed (0)
Back to top