Hi Andre,

> Expands the use of eor3 where we'd otherwise use two vector eor's.
>
> Bootstrapped and regression tested on aarch64-none-linux-gnu.
> 
> OK for trunk?

OK. Simple and effective!

Cheers,
Wilco


>+(define_insn "*eor3q<mode>4"
>+  [(set (match_operand:ALLI 0 "register_operand" "=w")
>+      (xor:ALLI
>+       (xor:ALLI
>+        (match_operand:ALLI 2 "register_operand" "w")
>+        (match_operand:ALLI 3 "register_operand" "w"))
>+       (match_operand:ALLI 1 "register_operand" "w")))]
>+  "TARGET_SHA3 && reload_completed"
>+  "eor3\\t%0.16b, %1.16b, %2.16b, %3.16b"
>+  [(set_attr "type" "crypto_sha3")]
>+)

Reply via email to