Reviewers: Kevin Millikin,

Description:
Mark TranscendentalCacheSSE2Stub as allowing internal stub calls. Mark pextrd
instruction as requiring SSE 4.1.

Please review this at http://codereview.chromium.org/5901001/

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     src/code-stubs.h
  M     src/ia32/assembler-ia32.cc


Index: src/code-stubs.h
===================================================================
--- src/code-stubs.h    (revision 6031)
+++ src/code-stubs.h    (working copy)
@@ -47,6 +47,7 @@
   V(Compare)                             \
   V(CompareIC)                           \
   V(MathPow)                             \
+  V(TranscendentalCacheSSE2)             \
   V(RecordWrite)                         \
   V(ConvertToDouble)                     \
   V(WriteInt32ToHeapNumber)              \
@@ -56,7 +57,6 @@
   V(FastNewContext)                      \
   V(FastCloneShallowArray)               \
   V(TranscendentalCache)                 \
-  V(TranscendentalCacheSSE2)             \
   V(GenericUnaryOp)                      \
   V(RevertToNumber)                      \
   V(ToBoolean)                           \
Index: src/ia32/assembler-ia32.cc
===================================================================
--- src/ia32/assembler-ia32.cc  (revision 6031)
+++ src/ia32/assembler-ia32.cc  (working copy)
@@ -2502,7 +2502,7 @@


void Assembler::pextrd(const Operand& dst, XMMRegister src, int8_t offset) {
-  ASSERT(CpuFeatures::IsEnabled(SSE2));
+  ASSERT(CpuFeatures::IsEnabled(SSE4_1));
   EnsureSpace ensure_space(this);
   last_pc_ = pc_;
   EMIT(0x66);


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to