Mercurial > hg > graal-compiler
comparison mx.graal/mx_graal.py @ 22770:42b173295a32
Use mx.get_arch instead of platform.processor
author | Stefan Anzinger <stefan.anzinger@oracle.com> |
---|---|
date | Wed, 07 Oct 2015 01:43:56 -0700 |
parents | 40a8dedf1554 |
children | fc5e7703e588 |
comparison
equal
deleted
inserted
replaced
22769:d04e35a28e30 | 22770:42b173295a32 |
---|---|
22 # or visit www.oracle.com if you need additional information or have any | 22 # or visit www.oracle.com if you need additional information or have any |
23 # questions. | 23 # questions. |
24 # | 24 # |
25 # ---------------------------------------------------------------------------------------------------- | 25 # ---------------------------------------------------------------------------------------------------- |
26 | 26 |
27 import os, platform | 27 import os |
28 from os.path import join, exists, basename | 28 from os.path import join, exists, basename |
29 from argparse import ArgumentParser | 29 from argparse import ArgumentParser |
30 import sanitycheck | 30 import sanitycheck |
31 import itertools | 31 import itertools |
32 import json | 32 import json |
304 UnitTestRun('UnitTests', []), | 304 UnitTestRun('UnitTests', []), |
305 UnitTestRun('UnitTestsNonSSA', ['-G:-SSA_LIR']), | 305 UnitTestRun('UnitTestsNonSSA', ['-G:-SSA_LIR']), |
306 UnitTestRun('UnitTestsTraceRA', ['-G:+TraceRA']), | 306 UnitTestRun('UnitTestsTraceRA', ['-G:+TraceRA']), |
307 ] | 307 ] |
308 | 308 |
309 _registers = 'o0,o1,o2,o3,f8,f9,d32,d34' if platform.processor() == 'sparc' else 'rbx,r11,r10,r14,xmm3,xmm11,xmm14' | 309 _registers = 'o0,o1,o2,o3,f8,f9,d32,d34' if mx.get_arch() == 'sparcv9' else 'rbx,r11,r10,r14,xmm3,xmm11,xmm14' |
310 | 310 |
311 graal_bootstrap_tests = [ | 311 graal_bootstrap_tests = [ |
312 BootstrapTest('BootstrapWithSystemAssertions', 'fastdebug', ['-esa']), | 312 BootstrapTest('BootstrapWithSystemAssertions', 'fastdebug', ['-esa']), |
313 BootstrapTest('BootstrapWithSystemAssertionsNoCoop', 'fastdebug', ['-esa', '-XX:-UseCompressedOops']), | 313 BootstrapTest('BootstrapWithSystemAssertionsNoCoop', 'fastdebug', ['-esa', '-XX:-UseCompressedOops']), |
314 BootstrapTest('BootstrapWithGCVecification', 'product', ['-XX:+UnlockDiagnosticVMOptions', '-XX:+VerifyBeforeGC', '-XX:+VerifyAfterGC'], suppress=['VerifyAfterGC:', 'VerifyBeforeGC:']), | 314 BootstrapTest('BootstrapWithGCVecification', 'product', ['-XX:+UnlockDiagnosticVMOptions', '-XX:+VerifyBeforeGC', '-XX:+VerifyAfterGC'], suppress=['VerifyAfterGC:', 'VerifyBeforeGC:']), |