Support Math.fma Intrinsic for x86 and x86_64
Intrinsic Implementation is 2287x faster than base
Time for base: 188.25s
Time for patch: 0.0822s
Test: ./run-test --host --64 --optimizing 082-inline-execute
Test: ./run-test --host --64 --optimizing --instruction-set-features sse4.1 082-inline-execute
Test: ./run-test --host --64 --optimizing --instruction-set-features sse4.1,avx2 082-inline-execute
Signed-off-by: Shalini Salomi Bodapati <shalini.salomi.bodapati@intel.com>
Change-Id: I68b96a35f41f3bb23d7e26d87fee1dd2a5ebf6a6
diff --git a/runtime/image.cc b/runtime/image.cc
index 7e258d1..e62380a 100644
--- a/runtime/image.cc
+++ b/runtime/image.cc
@@ -29,8 +29,8 @@
namespace art {
const uint8_t ImageHeader::kImageMagic[] = { 'a', 'r', 't', '\n' };
-// Last change: added multiple kJdkUnsafe intrinsics
-const uint8_t ImageHeader::kImageVersion[] = { '1', '0', '4', '\0' };
+// Last change: Math.fma(double, double, double) intrinsic.
+const uint8_t ImageHeader::kImageVersion[] = { '1', '0', '5', '\0' };
ImageHeader::ImageHeader(uint32_t image_reservation_size,
uint32_t component_count,