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

Unified Diff: pydir/run-pnacl-sz.py

Issue 2085303002: Subzero, MIPS32: Cross-testing enabled for MIPS32 (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix typo for srlv opcode Created 4 years, 3 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 | « pydir/crosstest_generator.py ('k') | pydir/szbuild.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pydir/run-pnacl-sz.py
diff --git a/pydir/run-pnacl-sz.py b/pydir/run-pnacl-sz.py
index a9267eafba74db9c8d418e80ac7b8f3e5af55bb1..eee5b49dac615698e1a53c43d70eb48b6ae88c3d 100755
--- a/pydir/run-pnacl-sz.py
+++ b/pydir/run-pnacl-sz.py
@@ -20,7 +20,9 @@ def TargetAssemblerFlags(target, sandboxed):
'arm32': ['-triple=%s' % (
'armv7a-nacl' if sandboxed else 'armv7a'),
'-mcpu=cortex-a9', '-mattr=+neon'],
- 'mips32': ['-triple=mipsel' ] }
+ 'mips32': ['-triple=%s' % (
+ 'mipsel-nacl' if sandboxed else 'mipsel'),
+ '-mcpu=mips32'] }
return flags[target]
@@ -204,7 +206,7 @@ def main():
if args.disassemble:
# Show wide instruction encodings, diassemble, show relocs and
# dissasemble zeros.
- cmd += (['&&', os.path.join(pnacl_bin_path, GetObjdumpCmd())] +
+ cmd += (['&&', os.path.join(pnacl_bin_path, GetObjdumpCmd(args.target))] +
args.dis_flags +
['-w', '-d', '-r', '-z'] + TargetDisassemblerFlags(args.target) +
[output_file_name])
« no previous file with comments | « pydir/crosstest_generator.py ('k') | pydir/szbuild.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698