Module: gas-preprocessor Branch: master Commit: 3b07335344a060415db18af5a506e672c0451f9d
Author: Janne Grunau <[email protected]> Committer: Janne Grunau <[email protected]> Date: Tue May 13 15:35:50 2014 +0200 aarch64: handle sxtl in the same way as uxtl for clang-3.4 --- gas-preprocessor.pl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gas-preprocessor.pl b/gas-preprocessor.pl index f4a55a9..196b6d3 100755 --- a/gas-preprocessor.pl +++ b/gas-preprocessor.pl @@ -783,9 +783,10 @@ sub handle_serialized_line { if ($line =~ /^\s*movi\s+(v[0-3]?\d\.(?:2|4|8)[hsHS])\s*,\s*(#\w+)\b\s*$/) { $line = " movi $1, $2, lsl #0\n"; } - # Xcode 5 misses the alias uxtl replace it with the more general ushll - if ($line =~ /^\s*uxtl(2)?\s+(v[0-3]?\d\.[248][hsdHSD])\s*,\s*(v[0-3]?\d\.(?:4|8|16)[bhsBHS])\b\s*$/) { - $line = " ushll$1 $2, $3, #0\n"; + # Xcode 5 misses the alias uxtl. Replace it with the more general ushll. + # Clang 3.4 misses the alias sxtl too. Replace it with the more general sshll. + if ($line =~ /^\s*(s|u)xtl(2)?\s+(v[0-3]?\d\.[248][hsdHSD])\s*,\s*(v[0-3]?\d\.(?:2|4|8|16)[bhsBHS])\b\s*$/) { + $line = " $1shll$2 $3, $4, #0\n"; } if ($ENV{GASPP_FIX_XCODE5}) { if ($line =~ /^\s*bsl\b/) { _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
