Commit 5428e036 authored by whesse@chromium.org's avatar whesse@chromium.org

Make ARM assembler VFP3 test pass on machines without VFP3 floating point hardware.

Review URL: http://codereview.chromium.org/543187

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3691 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent bfcbc10c
...@@ -242,7 +242,6 @@ TEST(4) { ...@@ -242,7 +242,6 @@ TEST(4) {
Label L, C; Label L, C;
ASSERT(CpuFeatures::IsSupported(VFP3));
if (CpuFeatures::IsSupported(VFP3)) { if (CpuFeatures::IsSupported(VFP3)) {
CpuFeatures::Scope scope(VFP3); CpuFeatures::Scope scope(VFP3);
...@@ -261,7 +260,7 @@ TEST(4) { ...@@ -261,7 +260,7 @@ TEST(4) {
__ vstr(d4, r4, OFFSET_OF(T, b)); __ vstr(d4, r4, OFFSET_OF(T, b));
__ ldm(ia_w, sp, r4.bit() | fp.bit() | pc.bit()); __ ldm(ia_w, sp, r4.bit() | fp.bit() | pc.bit());
}
CodeDesc desc; CodeDesc desc;
assm.GetCode(&desc); assm.GetCode(&desc);
Object* code = Heap::CreateCode(desc, Object* code = Heap::CreateCode(desc,
...@@ -281,6 +280,7 @@ TEST(4) { ...@@ -281,6 +280,7 @@ TEST(4) {
CHECK_EQ(4.25, t.c); CHECK_EQ(4.25, t.c);
CHECK_EQ(4.25, t.b); CHECK_EQ(4.25, t.b);
CHECK_EQ(1.5, t.a); CHECK_EQ(1.5, t.a);
}
} }
#undef __ #undef __
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment