]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/riscv/riscv.md
[riscv] Fix ambiguous .md attribute uses
authorRichard Sandiford <richard.sandiford@arm.com>
Mon, 8 Jul 2019 06:20:55 +0000 (06:20 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 8 Jul 2019 06:20:55 +0000 (06:20 +0000)
commit7ef004023510d0c88e1a8bb718ee2848c1358ea4
tree2d19a8ca1f83db5c8d5722de794b8f0b79d5886d
parent0b1949603c401f6ad07c0641b6db59efe3140c0e
[riscv] Fix ambiguous .md attribute uses

This patch is part of a series that fixes ambiguous attribute
uses in .md files, i.e. cases in which attributes didn't use
<ITER:ATTR> to specify an iterator, and in which <ATTR> could
have different values depending on the iterator chosen.

No behavioural change -- produces the same code as before.

2019-07-08  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
* config/riscv/pic.md (*local_pic_load_s<mode>)
(*local_pic_load_u<mode>): Explicitly specify the mode iterator
referenced by <mode>, giving...
(*local_pic_load_s<SUBX:mode>, *local_pic_load_u<SUBX:mode>): ...these.
* config/riscv/riscv.md (*sge<u>_<X:mode><GPR:mode>)
(*slt<u>_<X:mode><GPR:mode>, *sle<u>_<X:mode><GPR:mode>): Explicitly
use <X:MODE> for the mode attribute.

From-SVN: r273191
gcc/ChangeLog
gcc/config/riscv/pic.md
gcc/config/riscv/riscv.md