Skip to content
Commit edb45202 authored by Biplob Mishra's avatar Biplob Mishra
Browse files

rev16 instruction is being generated for a half word byte swap on a 32-bit...

rev16 instruction is being generated for a half word byte swap on a 32-bit input as a bswap+rotr. This is not true for a 64-bit input.

This patch implements the rev16 instruction for a AArch64 backend for a half word byte swap on a 64-bit input.

Differential Revision: https://reviews.llvm.org/D122643
parent fe113442
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment