Displaying 1 result from an estimated 1 matches for "mgfni".
Did you mean:
gfni
2020 May 18
2
Use Galois field New Instructions (GFNI) to combine affine instructions
...its is this one:
https://github.com/aguinet/llvm-project/commit/9ed424cbac0fe3566f801167e2190fad5ad07507#diff-21dd247f3b8aa49860ae8122fe3ea698R22
This gets even more interesting with vectorized code, with an example here:
* original C code: https://pastebin.com/4JjF7DPu
* LLVM IR after clang -O2 -mgfni -mavx2: https://pastebin.com/Ti0Vm2gj [3]
* LLVM IR after ACE (using opt -aggressive-instcombine -S): https://pastebin.com/2zFU7J6g
(interesting things happened at line 67)
If, like me, you don't have a GFNI-enabled CPU, you can use Intel SDE [4] to run the
compiled code.
The code of the pass...