[PATCH] D65746: [ARM] Generate VHADDs/VHSUBs
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 6 10:28:43 PDT 2019
dmgreen accepted this revision.
dmgreen added a comment.
This revision is now accepted and ready to land.
Looks good to me.
Sam: I think the instruction is just defined like that, unfortunately. It does (A+B) >> 1, not (A+B)/2. So if a+b is signed and turns out to be an odd negative number, the instruction rounds towards -inf, not towards 0.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65746/new/
https://reviews.llvm.org/D65746
More information about the llvm-commits
mailing list