summaryrefslogtreecommitdiffstats
path: root/src/x87/assembler-x87.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/x87/assembler-x87.h')
-rw-r--r--src/x87/assembler-x87.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/src/x87/assembler-x87.h b/src/x87/assembler-x87.h
index d37c9d77..1da632f2 100644
--- a/src/x87/assembler-x87.h
+++ b/src/x87/assembler-x87.h
@@ -148,6 +148,13 @@ struct X87Register {
return kMaxNumAllocatableRegisters;
}
+
+ // TODO(turbofan): Proper support for float32.
+ static int NumAllocatableAliasedRegisters() {
+ return NumAllocatableRegisters();
+ }
+
+
static int ToAllocationIndex(X87Register reg) {
return reg.code_;
}
@@ -718,8 +725,11 @@ class Assembler : public AssemblerBase {
void rcl(Register dst, uint8_t imm8);
void rcr(Register dst, uint8_t imm8);
- void ror(Register dst, uint8_t imm8);
- void ror_cl(Register dst);
+
+ void ror(Register dst, uint8_t imm8) { ror(Operand(dst), imm8); }
+ void ror(const Operand& dst, uint8_t imm8);
+ void ror_cl(Register dst) { ror_cl(Operand(dst)); }
+ void ror_cl(const Operand& dst);
void sar(Register dst, uint8_t imm8) { sar(Operand(dst), imm8); }
void sar(const Operand& dst, uint8_t imm8);
@@ -909,9 +919,6 @@ class Assembler : public AssemblerBase {
// TODO(lrn): Need SFENCE for movnt?
- // Debugging
- void Print();
-
// Check the code size generated from label to here.
int SizeOfCodeGeneratedSince(Label* label) {
return pc_offset() - label->pos();