| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 2281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2292 } | 2292 } |
| 2293 | 2293 |
| 2294 | 2294 |
| 2295 void Assembler::fsin() { | 2295 void Assembler::fsin() { |
| 2296 EnsureSpace ensure_space(this); | 2296 EnsureSpace ensure_space(this); |
| 2297 emit(0xD9); | 2297 emit(0xD9); |
| 2298 emit(0xFE); | 2298 emit(0xFE); |
| 2299 } | 2299 } |
| 2300 | 2300 |
| 2301 | 2301 |
| 2302 void Assembler::fptan() { |
| 2303 EnsureSpace ensure_space(this); |
| 2304 emit(0xD9); |
| 2305 emit(0xF2); |
| 2306 } |
| 2307 |
| 2308 |
| 2302 void Assembler::fyl2x() { | 2309 void Assembler::fyl2x() { |
| 2303 EnsureSpace ensure_space(this); | 2310 EnsureSpace ensure_space(this); |
| 2304 emit(0xD9); | 2311 emit(0xD9); |
| 2305 emit(0xF1); | 2312 emit(0xF1); |
| 2306 } | 2313 } |
| 2307 | 2314 |
| 2308 | 2315 |
| 2309 void Assembler::fadd(int i) { | 2316 void Assembler::fadd(int i) { |
| 2310 EnsureSpace ensure_space(this); | 2317 EnsureSpace ensure_space(this); |
| 2311 emit_farith(0xDC, 0xC0, i); | 2318 emit_farith(0xDC, 0xC0, i); |
| (...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3018 // specially coded on x64 means that it is a relative 32 bit address, as used | 3025 // specially coded on x64 means that it is a relative 32 bit address, as used |
| 3019 // by branch instructions. | 3026 // by branch instructions. |
| 3020 return (1 << rmode_) & kApplyMask; | 3027 return (1 << rmode_) & kApplyMask; |
| 3021 } | 3028 } |
| 3022 | 3029 |
| 3023 | 3030 |
| 3024 | 3031 |
| 3025 } } // namespace v8::internal | 3032 } } // namespace v8::internal |
| 3026 | 3033 |
| 3027 #endif // V8_TARGET_ARCH_X64 | 3034 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |