Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Unified Diff: pydir/crosstest.py

Issue 2432373002: [SubZero] Fix f64 to/from i64 moves (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Addressed review comments Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « crosstest/test_cast_to_u1.ll ('k') | src/IceTargetLoweringMIPS32.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pydir/crosstest.py
diff --git a/pydir/crosstest.py b/pydir/crosstest.py
index 1b95dbcb5b97d733dd7039540192cd4e8510eb85..075102cc1ec05455f2c394abce2302f4260dc918 100755
--- a/pydir/crosstest.py
+++ b/pydir/crosstest.py
@@ -127,6 +127,7 @@ def main():
shellcmd(['{bin}/pnacl-clang'.format(bin=bindir),
('-O2' if args.clang_opt else '-O0'),
('-DARM32' if args.target == 'arm32' else ''), '-c', arg,
+ ('-DMIPS32' if args.target == 'mips32' else ''),
'-o', bitcode_nonfinal])
shellcmd(['{bin}/pnacl-opt'.format(bin=bindir),
'-pnacl-abi-simplify-preopt',
@@ -208,6 +209,9 @@ def main():
target_params.append('-DARM32')
target_params.append('-static')
+ if args.target == 'mips32':
+ target_params.append('-DMIPS32')
+
pure_c = os.path.splitext(args.driver)[1] == '.c'
if not args.nonsfi:
# Set compiler to clang, clang++, pnacl-clang, or pnacl-clang++.
« no previous file with comments | « crosstest/test_cast_to_u1.ll ('k') | src/IceTargetLoweringMIPS32.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698