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

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

Issue 863633002: Use signaling NaN for holes in fixed double arrays. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Restore SSE2 Created 5 years, 11 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
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_X64_MACRO_ASSEMBLER_X64_H_ 5 #ifndef V8_X64_MACRO_ASSEMBLER_X64_H_
6 #define V8_X64_MACRO_ASSEMBLER_X64_H_ 6 #define V8_X64_MACRO_ASSEMBLER_X64_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 875 matching lines...) Expand 10 before | Expand all | Expand 10 after
886 void Move(Register dst, Handle<Object> value, RelocInfo::Mode rmode) { 886 void Move(Register dst, Handle<Object> value, RelocInfo::Mode rmode) {
887 AllowDeferredHandleDereference using_raw_address; 887 AllowDeferredHandleDereference using_raw_address;
888 DCHECK(!RelocInfo::IsNone(rmode)); 888 DCHECK(!RelocInfo::IsNone(rmode));
889 DCHECK(value->IsHeapObject()); 889 DCHECK(value->IsHeapObject());
890 DCHECK(!isolate()->heap()->InNewSpace(*value)); 890 DCHECK(!isolate()->heap()->InNewSpace(*value));
891 movp(dst, reinterpret_cast<void*>(value.location()), rmode); 891 movp(dst, reinterpret_cast<void*>(value.location()), rmode);
892 } 892 }
893 893
894 void Move(XMMRegister dst, uint32_t src); 894 void Move(XMMRegister dst, uint32_t src);
895 void Move(XMMRegister dst, uint64_t src); 895 void Move(XMMRegister dst, uint64_t src);
896 void Move(XMMRegister dst, float src) { Move(dst, bit_cast<uint32_t>(src)); }
897 void Move(XMMRegister dst, double src) { Move(dst, bit_cast<uint64_t>(src)); }
896 898
897 // Control Flow 899 // Control Flow
898 void Jump(Address destination, RelocInfo::Mode rmode); 900 void Jump(Address destination, RelocInfo::Mode rmode);
899 void Jump(ExternalReference ext); 901 void Jump(ExternalReference ext);
900 void Jump(const Operand& op); 902 void Jump(const Operand& op);
901 void Jump(Handle<Code> code_object, RelocInfo::Mode rmode); 903 void Jump(Handle<Code> code_object, RelocInfo::Mode rmode);
902 904
903 void Call(Address destination, RelocInfo::Mode rmode); 905 void Call(Address destination, RelocInfo::Mode rmode);
904 void Call(ExternalReference ext); 906 void Call(ExternalReference ext);
905 void Call(const Operand& op); 907 void Call(const Operand& op);
(...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after
1628 masm->popfq(); \ 1630 masm->popfq(); \
1629 } \ 1631 } \
1630 masm-> 1632 masm->
1631 #else 1633 #else
1632 #define ACCESS_MASM(masm) masm-> 1634 #define ACCESS_MASM(masm) masm->
1633 #endif 1635 #endif
1634 1636
1635 } } // namespace v8::internal 1637 } } // namespace v8::internal
1636 1638
1637 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1639 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698