OLD | NEW |
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 Loading... |
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 Loading... |
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 __ |
OLD | NEW |