Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ROL (0.02 sec)

  1. src/vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305_amd64.s

    // Some macros
    
    // ROL rotates the uint32s in register R left by N bits, using temporary T.
    #define ROL(N, R, T) \
    	MOVO R, T; PSLLL $(N), T; PSRLL $(32-(N)), R; PXOR T, R
    
    // ROL16 rotates the uint32s in register R left by 16, using temporary T if needed.
    #ifdef GOAMD64_v2
    #define ROL16(R, T) PSHUFB ·rol16<>(SB), R
    #else
    #define ROL16(R, T) ROL(16, R, T)
    #endif
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 105.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewriteRISCV64.go

    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	// match: (ROL x (MOVDconst [val]))
    	// result: (RORI [int64(int8(-val)&63)] x)
    	for {
    		x := v_0
    		if v_1.Op != OpRISCV64MOVDconst {
    			break
    		}
    		val := auxIntToInt64(v_1.AuxInt)
    		v.reset(OpRISCV64RORI)
    		v.AuxInt = int64ToAuxInt(int64(int8(-val) & 63))
    		v.AddArg(x)
    		return true
    	}
    	// match: (ROL x (NEG y))
    	// result: (ROR x y)
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 205.1K bytes
    - Viewed (0)
Back to top