On Mon, Mar 06, 2017 at 05:10:04AM +0000, Hurugalawadi, Naveen wrote:
> Hi,
> 
> Please find attached the patch that adds crc reservations for Thunderx2t99.
> 
> Bootstrapped and Regression tested on aarch64-thunder-linux.
> Please review the patch and let us know if its okay for Stage-1?

OK for Stage 1.

Thanks,
James

> 2017-03-06  Julian Brown  <jul...@codesourcery.com>
>           Naveen H.S  <naveen.hurugalaw...@cavium.com>
> 
>       * config/aarch64/thunderx2t99.md (thunderx2t99_crc): New Reservation.

> diff --git a/gcc/config/aarch64/thunderx2t99.md 
> b/gcc/config/aarch64/thunderx2t99.md
> index 2eb136b..936078c 100644
> --- a/gcc/config/aarch64/thunderx2t99.md
> +++ b/gcc/config/aarch64/thunderx2t99.md
> @@ -462,3 +462,10 @@
>         (eq_attr "type" "crypto_sha1_fast,crypto_sha1_xor,crypto_sha1_slow,\
>                       crypto_sha256_fast,crypto_sha256_slow"))
>    "thunderx2t99_f1")
> +
> +;; CRC extension.
> +
> +(define_insn_reservation "thunderx2t99_crc" 4
> +  (and (eq_attr "tune" "thunderx2t99")
> +       (eq_attr "type" "crc"))
> +  "thunderx2t99_i1")

Reply via email to