search for: rol2

Displaying 1 result from an estimated 1 matches for "rol2".

Did you mean: col2
2020 May 18
2
Use Galois field New Instructions (GFNI) to combine affine instructions
...n, especially GF2P8AFFINEQB [2]. While the general idea seems to work, I have some questions about my current implementation (see below). FTR, I have named this transformation AffineCombineExpr (ACE). Let's first introduce the general idea, which is to transform code like this: static uint8_t rol2(uint8_t v) { return (v<<2)^(v>>6); } uint8_t func(uint8_t v) { v = rol2(v); v ^= 0xAA; return v; } into this: define zeroext i8 @func(i8 zeroext %v) local_unnamed_addr #0 { %0 = insertelement <16 x i8> undef, i8 %v, i64 0 %1 = call <16 x i8> @llvm.x86.vgf2p8aff...