mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-02 22:23:10 +00:00
ARM: use LLVM IR to represent the vshrn operation
vshrn is just the combination of a right shift and a truncate (and the limits on the immediate value actually mean the signedness of the shift doesn't matter). Using that representation allows us to get rid of an ARM-specific intrinsic, share more code with AArch64 and hopefully get better code out of the mid-end optimisers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201085 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -289,7 +289,6 @@ def int_arm_neon_vshifts : Neon_2Arg_Intrinsic;
|
||||
def int_arm_neon_vshiftu : Neon_2Arg_Intrinsic;
|
||||
def int_arm_neon_vshiftls : Neon_2Arg_Long_Intrinsic;
|
||||
def int_arm_neon_vshiftlu : Neon_2Arg_Long_Intrinsic;
|
||||
def int_arm_neon_vshiftn : Neon_2Arg_Narrow_Intrinsic;
|
||||
|
||||
// Vector Rounding Shift.
|
||||
def int_arm_neon_vrshifts : Neon_2Arg_Intrinsic;
|
||||
|
||||
Reference in New Issue
Block a user