summaryrefslogtreecommitdiffstats
path: root/compiler/utils/x86/assembler_x86.h
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-05-07 14:46:15 -0700
committerAndreas Gampe <agampe@google.com>2015-05-11 10:40:05 -0700
commit21030dd59b1e350f6f43de39e3c4ce0886ff539c (patch)
treeb2123ddf1fb1535f750560507e3a186df99dac62 /compiler/utils/x86/assembler_x86.h
parent775b7b888a13315b8b7722564c2824baabb98221 (diff)
downloadandroid_art-21030dd59b1e350f6f43de39e3c4ce0886ff539c.tar.gz
android_art-21030dd59b1e350f6f43de39e3c4ce0886ff539c.tar.bz2
android_art-21030dd59b1e350f6f43de39e3c4ce0886ff539c.zip
ART: x86 indexOf intrinsics for the optimizing compiler
Add intrinsics implementations for indexOf in the optimizing compiler. These are mostly ported from Quick. Add instruction support to assemblers where necessary. Change-Id: Ife90ed0245532a5c436a26fe84715dc357f353c8
Diffstat (limited to 'compiler/utils/x86/assembler_x86.h')
-rw-r--r--compiler/utils/x86/assembler_x86.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/utils/x86/assembler_x86.h b/compiler/utils/x86/assembler_x86.h
index 946c96de71..136b0cbfdb 100644
--- a/compiler/utils/x86/assembler_x86.h
+++ b/compiler/utils/x86/assembler_x86.h
@@ -464,6 +464,8 @@ class X86Assembler FINAL : public Assembler {
void jmp(const Address& address);
void jmp(Label* label);
+ void repne_scasw();
+
X86Assembler* lock();
void cmpxchgl(const Address& address, Register reg);
void cmpxchg8b(const Address& address);