This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Correct parameter type for unsigned Neon scalar shift intrinsics
ClosedPublic

Authored by DavidSpickett on Sep 21 2020, 3:54 AM.

Details

Summary

In the following intrinsics the shift amount
(parameter 2) should be signed.

vqshlb_u8 vqshlh_u16 vqshls_u32 vqshld_u64
vqrshlb_u8 vqrshlh_u16 vqrshls_u32 vqrshld_u64
vshld_u64
vrshld_u64

See https://developer.arm.com/documentation/ihi0073/latest

Diff Detail

Event Timeline

DavidSpickett created this revision.Sep 21 2020, 3:54 AM
DavidSpickett requested review of this revision.Sep 21 2020, 3:54 AM
DavidSpickett edited the summary of this revision. (Show Details)Sep 21 2020, 7:25 AM
DavidSpickett retitled this revision from [AArch64] Correct parameter type for Neon scalar shift intrinsics to [AArch64] Correct parameter type for unsigned Neon scalar shift intrinsics.Sep 21 2020, 7:34 AM
This revision is now accepted and ready to land.Oct 5 2020, 10:55 AM