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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 __ j(sign, &Ljcc); | 324 __ j(sign, &Ljcc); |
325 __ j(not_sign, &Ljcc); | 325 __ j(not_sign, &Ljcc); |
326 __ j(parity_even, &Ljcc); | 326 __ j(parity_even, &Ljcc); |
327 __ j(parity_odd, &Ljcc); | 327 __ j(parity_odd, &Ljcc); |
328 __ j(less, &Ljcc); | 328 __ j(less, &Ljcc); |
329 __ j(greater_equal, &Ljcc); | 329 __ j(greater_equal, &Ljcc); |
330 __ j(less_equal, &Ljcc); | 330 __ j(less_equal, &Ljcc); |
331 __ j(greater, &Ljcc); | 331 __ j(greater, &Ljcc); |
332 | 332 |
333 // checking hints | 333 // checking hints |
334 __ j(zero, &Ljcc, taken); | 334 __ j(zero, &Ljcc, Label::kFar, taken); |
335 __ j(zero, &Ljcc, not_taken); | 335 __ j(zero, &Ljcc, Label::kFar, not_taken); |
336 | 336 |
337 // __ mov(Operand::StaticVariable(Isolate::handler_address()), eax); | 337 // __ mov(Operand::StaticVariable(Isolate::handler_address()), eax); |
338 // 0xD9 instructions | 338 // 0xD9 instructions |
339 __ nop(); | 339 __ nop(); |
340 | 340 |
341 __ fld(1); | 341 __ fld(1); |
342 __ fld1(); | 342 __ fld1(); |
343 __ fldz(); | 343 __ fldz(); |
344 __ fldpi(); | 344 __ fldpi(); |
345 __ fabs(); | 345 __ fabs(); |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
467 CHECK(code->IsCode()); | 467 CHECK(code->IsCode()); |
468 #ifdef OBJECT_PRINT | 468 #ifdef OBJECT_PRINT |
469 Code::cast(code)->Print(); | 469 Code::cast(code)->Print(); |
470 byte* begin = Code::cast(code)->instruction_start(); | 470 byte* begin = Code::cast(code)->instruction_start(); |
471 byte* end = begin + Code::cast(code)->instruction_size(); | 471 byte* end = begin + Code::cast(code)->instruction_size(); |
472 disasm::Disassembler::Disassemble(stdout, begin, end); | 472 disasm::Disassembler::Disassemble(stdout, begin, end); |
473 #endif | 473 #endif |
474 } | 474 } |
475 | 475 |
476 #undef __ | 476 #undef __ |
OLD | NEW |