diff options
author | Xi Ruoyao <xry111@xry111.site> | 2024-07-28 17:02:49 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2024-07-31 17:43:10 +0800 |
commit | 70a4e79dc9ed73b056aa0362f61302e04227049f (patch) | |
tree | 2fc279d02ee5ad3b19d527a9ddfea649a46eeb4e /gcc/dwarf2codeview.cc | |
parent | 33ead6400ad59d4b38fa0527a9a7b53a28114ab7 (diff) | |
download | gcc-70a4e79dc9ed73b056aa0362f61302e04227049f.zip gcc-70a4e79dc9ed73b056aa0362f61302e04227049f.tar.gz gcc-70a4e79dc9ed73b056aa0362f61302e04227049f.tar.bz2 |
LoongArch: Relax ins_zero_bitmask_operand and remove and<mode>3_align
In r15-1207 I was too stupid to realize we just need to relax
ins_zero_bitmask_operand to allow using bstrins for aligning, instead of
adding a new split. And, "> 12" in ins_zero_bitmask_operand also makes
no sense: it rejects bstrins for things like "x & ~4l" with no good
reason.
So fix my errors now.
gcc/ChangeLog:
* config/loongarch/predicates.md (ins_zero_bitmask_operand):
Cover more cases that bstrins can benefit.
(high_bitmask_operand): Remove.
* config/loongarch/constraints.md (Yy): Remove.
* config/loongarch/loongarch.md (and<mode>3_align): Remove.
gcc/testsuite/ChangeLog:
* gcc.target/loongarch/bstrins-4.c: New test.
Diffstat (limited to 'gcc/dwarf2codeview.cc')
0 files changed, 0 insertions, 0 deletions