Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: src/ppc/macro-assembler-ppc.h

Issue 1358193002: PPC: Fix "[turbofan] Add support for reinterpreting integers as floating point and vice versa." (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compiler/ppc/instruction-selector-ppc.cc ('k') | src/ppc/macro-assembler-ppc.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_PPC_MACRO_ASSEMBLER_PPC_H_ 5 #ifndef V8_PPC_MACRO_ASSEMBLER_PPC_H_
6 #define V8_PPC_MACRO_ASSEMBLER_PPC_H_ 6 #define V8_PPC_MACRO_ASSEMBLER_PPC_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/frames.h" 10 #include "src/frames.h"
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 #endif 490 #endif
491 void InsertDoubleLow(DoubleRegister dst, Register src, Register scratch); 491 void InsertDoubleLow(DoubleRegister dst, Register src, Register scratch);
492 void InsertDoubleHigh(DoubleRegister dst, Register src, Register scratch); 492 void InsertDoubleHigh(DoubleRegister dst, Register src, Register scratch);
493 void MovDoubleLowToInt(Register dst, DoubleRegister src); 493 void MovDoubleLowToInt(Register dst, DoubleRegister src);
494 void MovDoubleHighToInt(Register dst, DoubleRegister src); 494 void MovDoubleHighToInt(Register dst, DoubleRegister src);
495 void MovDoubleToInt64( 495 void MovDoubleToInt64(
496 #if !V8_TARGET_ARCH_PPC64 496 #if !V8_TARGET_ARCH_PPC64
497 Register dst_hi, 497 Register dst_hi,
498 #endif 498 #endif
499 Register dst, DoubleRegister src); 499 Register dst, DoubleRegister src);
500 void MovIntToFloat(DoubleRegister dst, Register src);
501 void MovFloatToInt(Register dst, DoubleRegister src);
500 502
501 void Add(Register dst, Register src, intptr_t value, Register scratch); 503 void Add(Register dst, Register src, intptr_t value, Register scratch);
502 void Cmpi(Register src1, const Operand& src2, Register scratch, 504 void Cmpi(Register src1, const Operand& src2, Register scratch,
503 CRegister cr = cr7); 505 CRegister cr = cr7);
504 void Cmpli(Register src1, const Operand& src2, Register scratch, 506 void Cmpli(Register src1, const Operand& src2, Register scratch,
505 CRegister cr = cr7); 507 CRegister cr = cr7);
506 void Cmpwi(Register src1, const Operand& src2, Register scratch, 508 void Cmpwi(Register src1, const Operand& src2, Register scratch,
507 CRegister cr = cr7); 509 CRegister cr = cr7);
508 void Cmplwi(Register src1, const Operand& src2, Register scratch, 510 void Cmplwi(Register src1, const Operand& src2, Register scratch,
509 CRegister cr = cr7); 511 CRegister cr = cr7);
(...skipping 1051 matching lines...) Expand 10 before | Expand all | Expand 10 after
1561 #define ACCESS_MASM(masm) \ 1563 #define ACCESS_MASM(masm) \
1562 masm->stop(__FILE_LINE__); \ 1564 masm->stop(__FILE_LINE__); \
1563 masm-> 1565 masm->
1564 #else 1566 #else
1565 #define ACCESS_MASM(masm) masm-> 1567 #define ACCESS_MASM(masm) masm->
1566 #endif 1568 #endif
1567 } 1569 }
1568 } // namespace v8::internal 1570 } // namespace v8::internal
1569 1571
1570 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ 1572 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_
OLDNEW
« no previous file with comments | « src/compiler/ppc/instruction-selector-ppc.cc ('k') | src/ppc/macro-assembler-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698