aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorDavid Faust <david.faust@oracle.com>2022-12-08 10:08:22 -0800
committerDavid Faust <david.faust@oracle.com>2022-12-08 10:49:40 -0800
commit5ddfe794405a514824382e96b1047d3195af23cc (patch)
treeec153f538fea36809f6f731380b9498420118678 /libgcc
parentbd0485f20f4794f9787237706a6308473a8e9415 (diff)
downloadgcc-5ddfe794405a514824382e96b1047d3195af23cc.zip
gcc-5ddfe794405a514824382e96b1047d3195af23cc.tar.gz
gcc-5ddfe794405a514824382e96b1047d3195af23cc.tar.bz2
bpf: add define_insn for bswap
The eBPF architecture provides 'end[be,le]' instructions for endianness swapping. Add a define_insn for bswap<mode>2 to use them instaed of falling back on a libcall. gcc/ * config/bpf/bpf.md (bswap<mode>2): New define_insn. gcc/testsuite/ * gcc.target/bpf/bswap-1.c: New test.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions