Target arm64-apple-ios for aarch64 stages.

This should avoid use of x18.

BUG=skia:6873

Change-Id: Iffafe0a48784b03942325517a999ad9bb44c1f99
Reviewed-on: https://skia-review.googlesource.com/25180
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Mike Klein <mtklein@chromium.org>
This commit is contained in:
Mike Klein 2017-07-20 13:29:51 -04:00 committed by Skia Commit-Bot
parent 9a0e39054c
commit f93552ba44
2 changed files with 344 additions and 335 deletions

File diff suppressed because it is too large Load Diff

View File

@ -86,7 +86,9 @@ subprocess.check_call(clang + cflags + hsw + win +
['-c', stages_lowp] +
['-o', 'win_lowp_hsw.o'])
aarch64 = [ '--target=aarch64' ]
# iOS disallows the use of register x18,
# so we need to use it as a least-common denominator.
aarch64 = [ '--target=arm64-apple-ios' ]
subprocess.check_call(clang + cflags + aarch64 +
['-c', stages] +
['-o', 'aarch64.o'])