]> git.ipfire.org Git - thirdparty/gcc.git/commit
hppa: Improve expansion of ashldi3 when !TARGET_64BIT
authorRoger Sayle <roger@nextmovesoftware.com>
Wed, 26 Aug 2020 06:15:15 +0000 (07:15 +0100)
committerRoger Sayle <roger@nextmovesoftware.com>
Wed, 26 Aug 2020 06:15:15 +0000 (07:15 +0100)
commit5248ca8695049da9fd6e9cbedff22e6f107d377d
tree98d18271dbc489938b111b5916b84be4466e9edb
parent3f77cd790ab3cf82553c9eb7b9bb2ac6ee197606
hppa: Improve expansion of ashldi3 when !TARGET_64BIT

Backport from master:

2020-08-26  Roger Sayle  <roger@nextmovesoftware.com>

* config/pa/pa.md (ashldi3): Additionally, on !TARGET_64BIT
generate a two instruction shd/zdep sequence when shifting
registers by suitable constants.
(shd_internal): New define_expand to provide gen_shd_internal.
gcc/config/pa/pa.md