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

Side by Side Diff: pydir/crosstest_generator.py

Issue 1663053008: Fix vector load/stores in the ARM assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Change crosstests to use filetype=obj. Created 4 years, 10 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 unified diff | Download patch
« no previous file with comments | « no previous file | src/DartARM32/assembler_arm.h » ('j') | src/IceInstARM32.cpp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python2 1 #!/usr/bin/env python2
2 2
3 import argparse 3 import argparse
4 import ConfigParser 4 import ConfigParser
5 import os 5 import os
6 import shutil 6 import shutil
7 import sys 7 import sys
8 8
9 from utils import shellcmd 9 from utils import shellcmd
10 from utils import FindBaseNaCl 10 from utils import FindBaseNaCl
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 sandboxing = [ 'native', 'sandbox', 'nonsfi' ] 59 sandboxing = [ 'native', 'sandbox', 'nonsfi' ]
60 opt_levels = [ 'Om1', 'O2' ] 60 opt_levels = [ 'Om1', 'O2' ]
61 arch_attrs = { 'x8632': [ 'sse2', 'sse4.1' ], 61 arch_attrs = { 'x8632': [ 'sse2', 'sse4.1' ],
62 'x8664': [ 'sse2', 'sse4.1' ], 62 'x8664': [ 'sse2', 'sse4.1' ],
63 'arm32': [ 'neon', 'hwdiv-arm' ] } 63 'arm32': [ 'neon', 'hwdiv-arm' ] }
64 flat_attrs = [] 64 flat_attrs = []
65 for v in arch_attrs.values(): 65 for v in arch_attrs.values():
66 flat_attrs += v 66 flat_attrs += v
67 arch_flags = { 'x8632': [], 67 arch_flags = { 'x8632': [],
68 'x8664': [], 68 'x8664': [],
69 # ARM doesn't have an ELF writer yet, and iasm does not 69 # ARM doesn't have an ELF writer yet, and iasm does not
Jim Stichnoth 2016/02/04 20:47:37 Drop this comment and the override. Yay!!!
Karl 2016/02/04 21:55:22 Done.
70 # support sandboxing yet. 70 # support sandboxing yet.
71 'arm32': ['--filetype=asm'] } 71 'arm32': ['--filetype=obj'] }
72 # all_keys is only used in the help text. 72 # all_keys is only used in the help text.
73 all_keys = '; '.join([' '.join(targets), ' '.join(sandboxing), 73 all_keys = '; '.join([' '.join(targets), ' '.join(sandboxing),
74 ' '.join(opt_levels), ' '.join(flat_attrs)]) 74 ' '.join(opt_levels), ' '.join(flat_attrs)])
75 75
76 argparser = argparse.ArgumentParser( 76 argparser = argparse.ArgumentParser(
77 description=' ' + main.__doc__ + 77 description=' ' + main.__doc__ +
78 'The set of attributes is the set of tests plus the following:\n' + 78 'The set of attributes is the set of tests plus the following:\n' +
79 all_keys, formatter_class=argparse.RawTextHelpFormatter) 79 all_keys, formatter_class=argparse.RawTextHelpFormatter)
80 argparser.add_argument('--config', default='crosstest.cfg', dest='config', 80 argparser.add_argument('--config', default='crosstest.cfg', dest='config',
81 metavar='FILE', help='Test configuration file') 81 metavar='FILE', help='Test configuration file')
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 echo=args.verbose) 199 echo=args.verbose)
200 if (args.defer): 200 if (args.defer):
201 deferred_cmds.append(run_cmd) 201 deferred_cmds.append(run_cmd)
202 else: 202 else:
203 shellcmd(run_cmd, echo=True) 203 shellcmd(run_cmd, echo=True)
204 for run_cmd in deferred_cmds: 204 for run_cmd in deferred_cmds:
205 shellcmd(run_cmd, echo=True) 205 shellcmd(run_cmd, echo=True)
206 206
207 if __name__ == '__main__': 207 if __name__ == '__main__':
208 main() 208 main()
OLDNEW
« no previous file with comments | « no previous file | src/DartARM32/assembler_arm.h » ('j') | src/IceInstARM32.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698