aboutsummaryrefslogtreecommitdiff
path: root/test-driver
diff options
context:
space:
mode:
authorDavid Faust <david.faust@oracle.com>2021-08-20 14:54:42 -0700
committerDavid Faust <david.faust@oracle.com>2021-09-10 09:00:27 -0700
commit4f0f696fea17cd91b184181abcf596df0e857304 (patch)
tree0f1cc4257b6e129da55a44ba258674167da995e0 /test-driver
parent7f8af6dc82a0dac0d97fdd4d1f2055e932f29216 (diff)
downloadgcc-4f0f696fea17cd91b184181abcf596df0e857304.zip
gcc-4f0f696fea17cd91b184181abcf596df0e857304.tar.gz
gcc-4f0f696fea17cd91b184181abcf596df0e857304.tar.bz2
bpf: correct zero_extend output templates
The output templates for zero_extendhidi2 and zero_extendqidi2 could lead to incorrect code generation when zero-extending one register into another. This patch adds a new output template to the define_insns to handle such cases and produce correct asm. gcc/ChangeLog: * config/bpf/bpf.md (zero_extendhidi2): Add new output template for register-to-register extensions. (zero_extendqidi2): Likewise.
Diffstat (limited to 'test-driver')
0 files changed, 0 insertions, 0 deletions