OLD | NEW |
1 // Copyright 2007-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2007-2008 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 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 __ j(greater, &Ljcc); | 329 __ j(greater, &Ljcc); |
330 | 330 |
331 // checking hints | 331 // checking hints |
332 __ j(zero, &Ljcc, taken); | 332 __ j(zero, &Ljcc, taken); |
333 __ j(zero, &Ljcc, not_taken); | 333 __ j(zero, &Ljcc, not_taken); |
334 | 334 |
335 // __ mov(Operand::StaticVariable(Top::handler_address()), eax); | 335 // __ mov(Operand::StaticVariable(Top::handler_address()), eax); |
336 // 0xD9 instructions | 336 // 0xD9 instructions |
337 __ nop(); | 337 __ nop(); |
338 | 338 |
| 339 __ fld(1); |
339 __ fld1(); | 340 __ fld1(); |
340 __ fldz(); | 341 __ fldz(); |
| 342 __ fldpi(); |
341 __ fabs(); | 343 __ fabs(); |
342 __ fchs(); | 344 __ fchs(); |
343 __ fprem(); | 345 __ fprem(); |
344 __ fprem1(); | 346 __ fprem1(); |
345 __ fincstp(); | 347 __ fincstp(); |
346 __ ftst(); | 348 __ ftst(); |
347 __ fxch(3); | 349 __ fxch(3); |
348 __ fld_s(Operand(ebx, ecx, times_4, 10000)); | 350 __ fld_s(Operand(ebx, ecx, times_4, 10000)); |
349 __ fstp_s(Operand(ebx, ecx, times_4, 10000)); | 351 __ fstp_s(Operand(ebx, ecx, times_4, 10000)); |
350 __ ffree(3); | 352 __ ffree(3); |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
442 CHECK(code->IsCode()); | 444 CHECK(code->IsCode()); |
443 #ifdef DEBUG | 445 #ifdef DEBUG |
444 Code::cast(code)->Print(); | 446 Code::cast(code)->Print(); |
445 byte* begin = Code::cast(code)->instruction_start(); | 447 byte* begin = Code::cast(code)->instruction_start(); |
446 byte* end = begin + Code::cast(code)->instruction_size(); | 448 byte* end = begin + Code::cast(code)->instruction_size(); |
447 disasm::Disassembler::Disassemble(stdout, begin, end); | 449 disasm::Disassembler::Disassemble(stdout, begin, end); |
448 #endif | 450 #endif |
449 } | 451 } |
450 | 452 |
451 #undef __ | 453 #undef __ |
OLD | NEW |