Message ID | CO2PR07MB26943F682645E8C76A5E1FB9832C0@CO2PR07MB2694.namprd07.prod.outlook.com |
---|---|
State | New |
Headers | show |
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 <julian@codesourcery.com> > Naveen H.S <Naveen.Hurugalawadi@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")
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")