On Tue, 14 Jan 2014, Janne Grunau wrote:
Xcode 5 and 5.1 both do not support the alias. --- gas-preprocessor.pl | 5 +++++ 1 file changed, 5 insertions(+)diff --git a/gas-preprocessor.pl b/gas-preprocessor.pl index 2edf2ef..48cd6c0 100755 --- a/gas-preprocessor.pl +++ b/gas-preprocessor.pl @@ -620,6 +620,11 @@ sub handle_serialized_line { } $line =~ s/\b$alias\b/$resolved/g; } + # fix missing aarch64 instructions in Xcode 5.1 (beta3) + # mov with vector arguments is not supported, use alias orr instead + if ($line =~ /^\s*mov\s+(v\d[\.{}\[\]\w]+),\s*(v\d[\.{}\[\]\w]+)\b\s*$/) { + $line = " orr $1, $2, $2\n"; + } } print ASMFILE $line; -- 1.8.5.2
The change itself looks ok, but the indentation seems to be off compared to the surrounding code.
// Martin _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
