From: Janne Grunau <[email protected]>

Although it is allowed it does not make much sense since the immediate
is already 8bits.
---
 gas-preprocessor.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gas-preprocessor.pl b/gas-preprocessor.pl
index 914c41c..14a6309 100755
--- a/gas-preprocessor.pl
+++ b/gas-preprocessor.pl
@@ -757,8 +757,8 @@ sub handle_serialized_line {
         if ($line =~ 
/^\s*mov\s+(v\d[\.{}\[\]\w]+),\s*(v\d[\.{}\[\]\w]+)\b\s*$/) {
             $line = "        orr $1, $2, $2\n";
         }
-        # movi 8, 16, 32 bit shifted variant, shift is optional
-        if ($line =~ 
/^\s*movi\s+(v[0-3]?\d\.(?:2|4|8|16)[bhsBHS])\s*,\s*(#\w+)\b\s*$/) {
+        # movi 16, 32 bit shifted variant, shift is optional
+        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
-- 
1.8.5.2 (Apple Git-48)

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to