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

Unified Diff: src/arm/macro-assembler-arm.h

Issue 6117003: ARM: Add instruction VFPCompareAndSetFlags to macro assembler (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/arm/macro-assembler-arm.h
===================================================================
--- src/arm/macro-assembler-arm.h (revision 6241)
+++ src/arm/macro-assembler-arm.h (working copy)
@@ -582,6 +582,21 @@
Register source,
Register scratch);
+ void VFPCompareAndSetFlags(const DwVfpRegister src1,
Rodolph Perfetta 2011/01/10 11:24:10 Since the instruction sets the flags, the s parame
Søren Thygesen Gjesse 2011/01/10 12:36:01 Done.
+ const DwVfpRegister src2,
+ const SBit s = LeaveCC,
+ const Condition cond = al) {
+ vcmp(src1, src2, s, cond);
+ vmrs(pc);
Rodolph Perfetta 2011/01/10 11:24:10 vmrs should be conditional too.
Søren Thygesen Gjesse 2011/01/10 12:36:01 Done.
+ }
+ void VFPCompareAndSetFlags(const DwVfpRegister src1,
Rodolph Perfetta 2011/01/10 11:24:10 As above.
Søren Thygesen Gjesse 2011/01/10 12:36:01 Done.
+ const double src2,
+ const SBit s = LeaveCC,
+ const Condition cond = al) {
+ vcmp(src1, src2, s, cond);
+ vmrs(pc);
+ }
+
// ---------------------------------------------------------------------------
// Runtime calls
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698