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

Unified Diff: pydir/crosstest.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: Created 4 years, 6 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
Index: pydir/crosstest.py
diff --git a/pydir/crosstest.py b/pydir/crosstest.py
index 3727d5c0120733928fbe928ab404fa57c84c9bdc..9a84c3f1c4d9f4b3c376dbc0cce3d5be1772f36e 100755
--- a/pydir/crosstest.py
+++ b/pydir/crosstest.py
@@ -26,12 +26,14 @@ def main():
# arch_map maps a Subzero target string to TargetInfo (e.g., triple).
arch_map = { 'x8632': targets.X8632Target,
'x8664': targets.X8664Target,
- 'arm32': targets.ARM32Target }
+ 'arm32': targets.ARM32Target,
+ 'mips32': targets.MIPS32Target}
arch_sz_flags = { 'x8632': [],
'x8664': [],
# For ARM, test a large stack offset as well. +/- 4095 is
# the limit, so test somewhere near that boundary.
- 'arm32': ['--test-stack-extra', '4084']
+ 'arm32': ['--test-stack-extra', '4084'],
+ 'mips32': ['--test-stack-extra', '4084']
}
arch_llc_flags_extra = {
# Use sse2 instructions regardless of input -mattr
@@ -40,6 +42,7 @@ def main():
'x8632': ['-mattr=sse2'],
'x8664': ['-mattr=sse2'],
'arm32': [],
+ 'mips32':[],
}
desc = 'Build a cross-test that compares Subzero and llc translation.'
argparser = argparse.ArgumentParser(description=desc)
@@ -64,7 +67,7 @@ def main():
dest='clang_opt')
argparser.add_argument('--mattr', required=False, default='sse2',
dest='attr', choices=['sse2', 'sse4.1',
- 'neon', 'hwdiv-arm'],
+ 'neon', 'hwdiv-arm', 'base'],
metavar='ATTRIBUTE',
help='Target attribute. Default %(default)s.')
argparser.add_argument('--sandbox', required=False, default=0, type=int,
« Makefile.standalone ('K') | « Makefile.standalone ('k') | pydir/crosstest_generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698