Bug 1041519 - IonMonkey (ARM): Instantiate setVFPRegister for use by the jsapi-tests. r=mjrosenb
authorDouglas Crosher <dtc-moz@scieneer.com>
Tue, 29 Jul 2014 11:57:00 +1000
changeset 196815 126614591becdb4b87964b2cffe4034c0645356e
parent 196814 8923901b8b54587b4c6355a3c7495d42379f3420
child 196816 f5798e8faec58c0df2e48a1ca54ae32ab361a756
push id46973
push userryanvm@gmail.com
push dateWed, 30 Jul 2014 16:07:52 +0000
treeherdermozilla-inbound@126614591bec [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmjrosenb
bugs1041519
milestone34.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1041519 - IonMonkey (ARM): Instantiate setVFPRegister for use by the jsapi-tests. r=mjrosenb
js/src/jit/arm/Simulator-arm.cpp
--- a/js/src/jit/arm/Simulator-arm.cpp
+++ b/js/src/jit/arm/Simulator-arm.cpp
@@ -1425,16 +1425,18 @@ ReturnType Simulator::getFromVFPRegister
     memcpy(&value, buffer, register_size * sizeof(vfp_registers_[0]));
     return value;
 }
 
 // These forced-instantiations are for jsapi-tests. Evidently, nothing
 // requires these to be instantiated.
 template double Simulator::getFromVFPRegister<double, 2>(int reg_index);
 template float Simulator::getFromVFPRegister<float, 1>(int reg_index);
+template void Simulator::setVFPRegister<double, 2>(int reg_index, const double& value);
+template void Simulator::setVFPRegister<float, 1>(int reg_index, const float& value);
 
 void
 Simulator::getFpArgs(double *x, double *y, int32_t *z)
 {
     if (UseHardFpABI()) {
         *x = get_double_from_d_register(0);
         *y = get_double_from_d_register(1);
         *z = get_register(0);