 Chromium Code Reviews
 Chromium Code Reviews Issue 1424333002:
  [turbofan] Added the RoundInt64ToFloat64 instruction to TurboFan.  (Closed) 
  Base URL: https://chromium.googlesource.com/v8/v8.git@BufferedRawMachineAssemblerTester
    
  
    Issue 1424333002:
  [turbofan] Added the RoundInt64ToFloat64 instruction to TurboFan.  (Closed) 
  Base URL: https://chromium.googlesource.com/v8/v8.git@BufferedRawMachineAssemblerTester| OLD | NEW | 
|---|---|
| 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 
| 2 // All Rights Reserved. | 2 // All Rights Reserved. | 
| 3 // | 3 // | 
| 4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without | 
| 5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are | 
| 6 // met: | 6 // met: | 
| 7 // | 7 // | 
| 8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, | 
| 9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. | 
| 10 // | 10 // | 
| (...skipping 1345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1356 XMMRegister isrc2 = {src2.code()}; | 1356 XMMRegister isrc2 = {src2.code()}; | 
| 1357 vsd(0x2a, dst, src1, isrc2, kF2, k0F, kW0); | 1357 vsd(0x2a, dst, src1, isrc2, kF2, k0F, kW0); | 
| 1358 } | 1358 } | 
| 1359 void vcvtlsi2sd(XMMRegister dst, XMMRegister src1, const Operand& src2) { | 1359 void vcvtlsi2sd(XMMRegister dst, XMMRegister src1, const Operand& src2) { | 
| 1360 vsd(0x2a, dst, src1, src2, kF2, k0F, kW0); | 1360 vsd(0x2a, dst, src1, src2, kF2, k0F, kW0); | 
| 1361 } | 1361 } | 
| 1362 void vcvtqsi2sd(XMMRegister dst, XMMRegister src1, Register src2) { | 1362 void vcvtqsi2sd(XMMRegister dst, XMMRegister src1, Register src2) { | 
| 1363 XMMRegister isrc2 = {src2.code()}; | 1363 XMMRegister isrc2 = {src2.code()}; | 
| 1364 vsd(0x2a, dst, src1, isrc2, kF2, k0F, kW1); | 1364 vsd(0x2a, dst, src1, isrc2, kF2, k0F, kW1); | 
| 1365 } | 1365 } | 
| 1366 void vcvtqsi2sd(XMMRegister dst, XMMRegister src1, const Operand& src2) { | |
| 
titzer
2015/11/02 19:14:01
Do you need to add disassembler support for this?
 
ahaas
2015/11/03 09:28:18
Disassembler support already exists for this one.
 | |
| 1367 vsd(0x2a, dst, src1, src2, kF2, k0F, kW1); | |
| 1368 } | |
| 1366 void vcvttsd2si(Register dst, XMMRegister src) { | 1369 void vcvttsd2si(Register dst, XMMRegister src) { | 
| 1367 XMMRegister idst = {dst.code()}; | 1370 XMMRegister idst = {dst.code()}; | 
| 1368 vsd(0x2c, idst, xmm0, src, kF2, k0F, kW0); | 1371 vsd(0x2c, idst, xmm0, src, kF2, k0F, kW0); | 
| 1369 } | 1372 } | 
| 1370 void vcvttsd2si(Register dst, const Operand& src) { | 1373 void vcvttsd2si(Register dst, const Operand& src) { | 
| 1371 XMMRegister idst = {dst.code()}; | 1374 XMMRegister idst = {dst.code()}; | 
| 1372 vsd(0x2c, idst, xmm0, src, kF2, k0F, kW0); | 1375 vsd(0x2c, idst, xmm0, src, kF2, k0F, kW0); | 
| 1373 } | 1376 } | 
| 1374 void vcvttsd2siq(Register dst, XMMRegister src) { | 1377 void vcvttsd2siq(Register dst, XMMRegister src) { | 
| 1375 XMMRegister idst = {dst.code()}; | 1378 XMMRegister idst = {dst.code()}; | 
| (...skipping 782 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2158 Assembler* assembler_; | 2161 Assembler* assembler_; | 
| 2159 #ifdef DEBUG | 2162 #ifdef DEBUG | 
| 2160 int space_before_; | 2163 int space_before_; | 
| 2161 #endif | 2164 #endif | 
| 2162 }; | 2165 }; | 
| 2163 | 2166 | 
| 2164 } // namespace internal | 2167 } // namespace internal | 
| 2165 } // namespace v8 | 2168 } // namespace v8 | 
| 2166 | 2169 | 
| 2167 #endif // V8_X64_ASSEMBLER_X64_H_ | 2170 #endif // V8_X64_ASSEMBLER_X64_H_ | 
| OLD | NEW |