hotspot/src/cpu/x86/vm/assembler_x86.cpp
changeset 21105 47618ee96ed5
parent 20295 a5dd1b071c32
child 23220 fc827339dc37
--- a/hotspot/src/cpu/x86/vm/assembler_x86.cpp	Wed Oct 23 16:25:48 2013 -0700
+++ b/hotspot/src/cpu/x86/vm/assembler_x86.cpp	Fri Oct 18 10:41:56 2013 +0200
@@ -1405,6 +1405,15 @@
   }
 }
 
+void Assembler::imull(Register dst, Address src) {
+  InstructionMark im(this);
+  prefix(src, dst);
+  emit_int8(0x0F);
+  emit_int8((unsigned char) 0xAF);
+  emit_operand(dst, src);
+}
+
+
 void Assembler::incl(Address dst) {
   // Don't use it directly. Use MacroAssembler::increment() instead.
   InstructionMark im(this);
@@ -5024,6 +5033,14 @@
   }
 }
 
+void Assembler::imulq(Register dst, Address src) {
+  InstructionMark im(this);
+  prefixq(src, dst);
+  emit_int8(0x0F);
+  emit_int8((unsigned char) 0xAF);
+  emit_operand(dst, src);
+}
+
 void Assembler::incl(Register dst) {
   // Don't use it directly. Use MacroAssembler::incrementl() instead.
   // Use two-byte form (one-byte from is a REX prefix in 64-bit mode)