aboutsummaryrefslogtreecommitdiffstats
path: root/powerpc/Asm.v
diff options
context:
space:
mode:
authorxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2009-10-30 09:15:06 +0000
committerxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2009-10-30 09:15:06 +0000
commit258a1feeafb9ebcec4d46601fe7016bed04a8ea7 (patch)
tree7af457899e7da1881028115116cc6584c5f6f9d3 /powerpc/Asm.v
parent20b484ea108ae82e604eadf4e6b873b27dc9a453 (diff)
downloadcompcert-kvx-258a1feeafb9ebcec4d46601fe7016bed04a8ea7.tar.gz
compcert-kvx-258a1feeafb9ebcec4d46601fe7016bed04a8ea7.zip
Storing of single floats: must insert frsp instruction before store. (Temporary fix.)
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1158 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'powerpc/Asm.v')
-rw-r--r--powerpc/Asm.v4
1 files changed, 2 insertions, 2 deletions
diff --git a/powerpc/Asm.v b/powerpc/Asm.v
index 9c03558b..ab70072b 100644
--- a/powerpc/Asm.v
+++ b/powerpc/Asm.v
@@ -718,9 +718,9 @@ Definition exec_instr (c: code) (i: instruction) (rs: regset) (m: mem) : outcome
| Pstfdx rd r1 r2 =>
store2 Mfloat64 rd r1 r2 rs m
| Pstfs rd cst r1 =>
- store1 Mfloat32 rd cst r1 rs m
+ store1 Mfloat32 rd cst r1 (rs#FPR13 <- Vundef) m
| Pstfsx rd r1 r2 =>
- store2 Mfloat32 rd r1 r2 rs m
+ store2 Mfloat32 rd r1 r2 (rs#FPR13 <- Vundef) m
| Psth rd cst r1 =>
store1 Mint16unsigned rd cst r1 rs m
| Psthx rd r1 r2 =>