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

Side by Side Diff: src/trusted/validator_mips/build.scons

Issue 1535443005: [MIPS] Make validator allow only two load patterns via $t8 (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client@master
Patch Set: Minor update. Created 4 years, 11 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/trusted/validator_mips/gen/decode.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # -*- python -*- 1 # -*- python -*-
2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import os 6 import os
7 Import('env') 7 Import('env')
8 8
9 if env.Bit('linux'): 9 if env.Bit('linux'):
10 10
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 validator_tests = { 90 validator_tests = {
91 'test_forbidden_instructions': 1, 91 'test_forbidden_instructions': 1,
92 'test_sp_updates': 1, 92 'test_sp_updates': 1,
93 'test_stores': 1, 93 'test_stores': 1,
94 'test_loads': 1, 94 'test_loads': 1,
95 'test_jmp_reg': 1, 95 'test_jmp_reg': 1,
96 'test_jmp_imm': 1, 96 'test_jmp_imm': 1,
97 'test_read_only_regs': 1, 97 'test_read_only_regs': 1,
98 'test_invalid_dest': 1, 98 'test_invalid_dest': 1,
99 'test_unpredicted': 1, 99 'test_unpredicted': 1,
100 'test_tp_access': 1,
100 } 101 }
101 102
102 if env.Bit('build_mips32'): 103 if env.Bit('build_mips32'):
103 for test, exit_status in validator_tests.iteritems(): 104 for test, exit_status in validator_tests.iteritems():
104 if test == 'test_invalid_dest': 105 if test == 'test_invalid_dest':
105 text_section_start = '-Wl,--section-start,.text=0x0FFFA000' 106 text_section_start = '-Wl,--section-start,.text=0x0FFFA000'
106 else: 107 else:
107 text_section_start = '-Wl,--section-start,.text=0x00020000' 108 text_section_start = '-Wl,--section-start,.text=0x00020000'
108 nexe = env.ComponentProgram( 109 nexe = env.ComponentProgram(
109 'testdata/%s.nexe' % test, 110 'testdata/%s.nexe' % test,
(...skipping 15 matching lines...) Expand all
125 # a program of the same name. 126 # a program of the same name.
126 validator_tests_exe = gtest_env.ComponentProgram('mips_validator_tests', 127 validator_tests_exe = gtest_env.ComponentProgram('mips_validator_tests',
127 ['validator_tests.cc'], 128 ['validator_tests.cc'],
128 EXTRA_LIBS=['mips_validator_core']) 129 EXTRA_LIBS=['mips_validator_core'])
129 130
130 test_node = gtest_env.CommandTest( 131 test_node = gtest_env.CommandTest(
131 'mips_validator_tests.out', 132 'mips_validator_tests.out',
132 command=[validator_tests_exe]) 133 command=[validator_tests_exe])
133 gtest_env.AddNodeToTestSuite(test_node, ['small_tests'], 134 gtest_env.AddNodeToTestSuite(test_node, ['small_tests'],
134 'run_mips_validator_tests') 135 'run_mips_validator_tests')
OLDNEW
« no previous file with comments | « no previous file | src/trusted/validator_mips/gen/decode.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698