diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2020-12-05 18:26:25 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2020-12-05 18:26:25 +0000 |
commit | 273ffa3a6fef82738dd86522374fae69ab0e2651 (patch) | |
tree | 34272370d708f9e9e9f66af1f22087f281935e15 /gcc/tree-streamer.c | |
parent | a17ab4b6add6a7b7cedbef39af442ca99f7cb3f8 (diff) | |
download | gcc-273ffa3a6fef82738dd86522374fae69ab0e2651.zip gcc-273ffa3a6fef82738dd86522374fae69ab0e2651.tar.gz gcc-273ffa3a6fef82738dd86522374fae69ab0e2651.tar.bz2 |
VAX: Also provide QImode and HImode `ctz' and `ffs' operations
The FFS machine instruction provides for arbitrary input bit-field widths
so take advantage of this and convert `ffssi2' and `ctzsi2' to templates
for all the three of QI, HI, SI machine modes.
Test cases will be added separately.
gcc/
* config/vax/builtins.md (width): New mode attribute.
(ffssi2): Rework expander into...
(ffs<mode>2): ... this.
(ctzsi2): Rework insn into...
(ctz<mode>2): ... this.
Diffstat (limited to 'gcc/tree-streamer.c')
0 files changed, 0 insertions, 0 deletions