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

Unified Diff: src/x64/assembler-x64-inl.h

Issue 1040603002: [x64] Introduce BMI instructions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix previous Patch Set Created 5 years, 8 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/x64/assembler-x64.cc ('k') | src/x64/disasm-x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/x64/assembler-x64-inl.h
diff --git a/src/x64/assembler-x64-inl.h b/src/x64/assembler-x64-inl.h
index df0c7d28ebeddbd4678f2f0c1fef18533e9aed3f..1a20109612ec33d72ceacb09af86cb96c13f74f5 100644
--- a/src/x64/assembler-x64-inl.h
+++ b/src/x64/assembler-x64-inl.h
@@ -234,6 +234,16 @@ void Assembler::emit_vex_prefix(XMMRegister reg, XMMRegister vreg,
}
+void Assembler::emit_vex_prefix(Register reg, Register vreg, Register rm,
+ VectorLength l, SIMDPrefix pp, LeadingOpcode mm,
+ VexW w) {
+ XMMRegister ireg = {reg.code()};
+ XMMRegister ivreg = {vreg.code()};
+ XMMRegister irm = {rm.code()};
+ emit_vex_prefix(ireg, ivreg, irm, l, pp, mm, w);
+}
+
+
void Assembler::emit_vex_prefix(XMMRegister reg, XMMRegister vreg,
const Operand& rm, VectorLength l,
SIMDPrefix pp, LeadingOpcode mm, VexW w) {
@@ -248,6 +258,15 @@ void Assembler::emit_vex_prefix(XMMRegister reg, XMMRegister vreg,
}
+void Assembler::emit_vex_prefix(Register reg, Register vreg, const Operand& rm,
+ VectorLength l, SIMDPrefix pp, LeadingOpcode mm,
+ VexW w) {
+ XMMRegister ireg = {reg.code()};
+ XMMRegister ivreg = {vreg.code()};
+ emit_vex_prefix(ireg, ivreg, rm, l, pp, mm, w);
+}
+
+
Address Assembler::target_address_at(Address pc,
ConstantPoolArray* constant_pool) {
return Memory::int32_at(pc) + pc + 4;
« no previous file with comments | « src/x64/assembler-x64.cc ('k') | src/x64/disasm-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698