Jeffrey Walton noloader@gmail.com writes:
GCC112 is a POWER8 machine. According to the POWER manual, vextractuw is a POWER9 instruction.
POWER8 manual: https://openpowerfoundation.org/?resource_lib=power8-processor-users-manual POWER9 manual: https://openpowerfoundation.org/?resource_lib=power9-processor-users-manual
Ooops. I was reading a document titled "Power ISA(tm) Version 3.1". There are changebars indicating changes from version 3.0, which I weren't paying much attention to. Which POWER version does ISA Version 3.0 correspond to?
I would like to target Power 7 for the chacha code.
Maamoun TK maamoun.tk@googlemail.com writes:
The cheapest replacement I can think of:
vspltisw ZERO,0 C 0x00000000000000000000000000000000 vspltisw ONE,1 C 0x00000001000000010000000100000001 vsldoi ONE, ONE, ZERO,12 C 0x00000001000000000000000000000000
Thanks, I'll try that.
Regards, /Niels