Jeffrey Walton <[email protected]> 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 <[email protected]> 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

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677.
Internet email is subject to wholesale government surveillance.
_______________________________________________
nettle-bugs mailing list
[email protected]
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs

Reply via email to