Arm: Use correct form of store instruction when data is float (#59187)
authorKunal Pathak <Kunal.Pathak@microsoft.com>
Tue, 21 Sep 2021 22:33:24 +0000 (15:33 -0700)
committerGitHub <noreply@github.com>
Tue, 21 Sep 2021 22:33:24 +0000 (15:33 -0700)
commit02523f7de9a962a3e6e0a39d14d9cd38f72d9479
tree49dd06c135ac29a931dba437426834a3417a901e
parent0ea3b7d8cf957508a94061b8e921b28d6f6becd6
Arm: Use correct form of store instruction when data is float (#59187)

* use the correct src type for str operation

* Add test case

* Proper fix

* Extend to arm64

* remove unnecessary property from csproj

* Update the test case

* restore the assert

* jit format

* Use ins_StoreFromSrc

* jit format
src/coreclr/jit/codegenarm.cpp
src/coreclr/jit/codegenarm64.cpp
src/coreclr/jit/emitarm64.cpp
src/tests/JIT/Methodical/structs/StructWithSingleFloat.cs [new file with mode: 0644]
src/tests/JIT/Methodical/structs/StructWithSingleFloat.csproj [new file with mode: 0644]