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

Side by Side Diff: test/cctest/test-macro-assembler-mips64.cc

Issue 2677183002: [test] Make CHECK_EQ calls in cctest consistent. (Closed)
Patch Set: Cleanup order for test.x checks. Created 3 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 | « test/cctest/test-flags.cc ('k') | test/cctest/test-parsing.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 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 186
187 __ Branch(&skip); 187 __ Branch(&skip);
188 __ bind(&to_jump); 188 __ bind(&to_jump);
189 __ nop(); 189 __ nop();
190 __ nop(); 190 __ nop();
191 __ jr(ra); 191 __ jr(ra);
192 __ nop(); 192 __ nop();
193 __ bind(&skip); 193 __ bind(&skip);
194 __ li(a4, Operand(masm->jump_address(&to_jump)), ADDRESS_LOAD); 194 __ li(a4, Operand(masm->jump_address(&to_jump)), ADDRESS_LOAD);
195 int check_size = masm->InstructionsGeneratedSince(&skip); 195 int check_size = masm->InstructionsGeneratedSince(&skip);
196 CHECK_EQ(check_size, 4); 196 CHECK_EQ(4, check_size);
197 __ jr(a4); 197 __ jr(a4);
198 __ nop(); 198 __ nop();
199 __ stop("invalid"); 199 __ stop("invalid");
200 __ stop("invalid"); 200 __ stop("invalid");
201 __ stop("invalid"); 201 __ stop("invalid");
202 __ stop("invalid"); 202 __ stop("invalid");
203 __ stop("invalid"); 203 __ stop("invalid");
204 204
205 205
206 CodeDesc desc; 206 CodeDesc desc;
(...skipping 2048 matching lines...) Expand 10 before | Expand all | Expand 10 after
2255 2255
2256 CHECK_MINMAX(0.0, nan_a, nan_a, nan_a); 2256 CHECK_MINMAX(0.0, nan_a, nan_a, nan_a);
2257 CHECK_MINMAX(nan_a, 0.0, nan_a, nan_a); 2257 CHECK_MINMAX(nan_a, 0.0, nan_a, nan_a);
2258 CHECK_MINMAX(nan_a, nan_b, nan_a, nan_a); 2258 CHECK_MINMAX(nan_a, nan_b, nan_a, nan_a);
2259 CHECK_MINMAX(nan_b, nan_a, nan_b, nan_b); 2259 CHECK_MINMAX(nan_b, nan_a, nan_b, nan_b);
2260 2260
2261 #undef CHECK_MINMAX 2261 #undef CHECK_MINMAX
2262 } 2262 }
2263 2263
2264 #undef __ 2264 #undef __
OLDNEW
« no previous file with comments | « test/cctest/test-flags.cc ('k') | test/cctest/test-parsing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698