diff options
author | David Faust <david.faust@oracle.com> | 2023-08-15 11:11:23 -0700 |
---|---|---|
committer | David Faust <david.faust@oracle.com> | 2023-08-15 11:30:56 -0700 |
commit | 5da4c0b85a97727e6802eaf3a0d47bcdb8da5f51 (patch) | |
tree | 1fb0ffe098bb7727ea73aab2cad63f6490d19cfa /gcc/config/bpf/bpf.md | |
parent | 489e1adf7792985b21195c740da7370f96b19640 (diff) | |
download | gcc-5da4c0b85a97727e6802eaf3a0d47bcdb8da5f51.zip gcc-5da4c0b85a97727e6802eaf3a0d47bcdb8da5f51.tar.gz gcc-5da4c0b85a97727e6802eaf3a0d47bcdb8da5f51.tar.bz2 |
bpf: remove useless define_insn for extendsisi2
This define_insn is never used, since a sign-extend to the same mode is
just a move, so delete it.
gcc/
* config/bpf/bpf.md (extendsisi2): Delete useless define_insn.
Diffstat (limited to 'gcc/config/bpf/bpf.md')
-rw-r--r-- | gcc/config/bpf/bpf.md | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/config/bpf/bpf.md b/gcc/config/bpf/bpf.md index e0a42b9..a64de10 100644 --- a/gcc/config/bpf/bpf.md +++ b/gcc/config/bpf/bpf.md @@ -350,13 +350,6 @@ {ldxsb\t%0,%1|%0 = *(s8 *) (%1)}" [(set_attr "type" "alu,ldx")]) -(define_insn "extendsisi2" - [(set (match_operand:SI 0 "register_operand" "=r") - (sign_extend:SI (match_operand:SI 1 "register_operand" "r")))] - "bpf_has_smov" - "{movs32\t%0,%1,32|%w0 = (s32) %w1}" - [(set_attr "type" "alu")]) - (define_insn "extendhisi2" [(set (match_operand:SI 0 "register_operand" "=r") (sign_extend:SI (match_operand:HI 1 "register_operand" "r")))] |