x86 JNI compiler and unit tests.

Change-Id: I4c2e10328961a2e8e27c90777fe2a93737b21143
diff --git a/src/constants_x86.h b/src/constants_x86.h
index d96e6dc..c7457c9 100644
--- a/src/constants_x86.h
+++ b/src/constants_x86.h
@@ -3,12 +3,11 @@
 #ifndef ART_SRC_CONSTANTS_X86_H_
 #define ART_SRC_CONSTANTS_X86_H_
 
+#include <iosfwd>
 #include "src/globals.h"
 #include "src/logging.h"
 #include "src/macros.h"
 
-#include <iosfwd>
-
 namespace art {
 
 enum Register {
@@ -26,7 +25,6 @@
 };
 std::ostream& operator<<(std::ostream& os, const Register& rhs);
 
-
 enum ByteRegister {
   AL = 0,
   CL = 1,
@@ -52,7 +50,21 @@
   kNumberOfXmmRegisters = 8,
   kNoXmmRegister = -1  // Signals an illegal register.
 };
+std::ostream& operator<<(std::ostream& os, const XmmRegister& reg);
 
+enum X87Register {
+  ST0 = 0,
+  ST1 = 1,
+  ST2 = 2,
+  ST3 = 3,
+  ST4 = 4,
+  ST5 = 5,
+  ST6 = 6,
+  ST7 = 7,
+  kNumberOfX87Registers = 8,
+  kNoX87Register = -1  // Signals an illegal register.
+};
+std::ostream& operator<<(std::ostream& os, const X87Register& reg);
 
 enum ScaleFactor {
   TIMES_1 = 0,