summaryrefslogtreecommitdiff
path: root/sys/src/cmd/5e/vfp.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2015-07-08 02:13:16 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2015-07-08 02:13:16 +0200
commitfcb9abccbbc73a4f449d55c2c7fb369db2ad139d (patch)
tree397902659c399e97c14e5d5dd68c3cb761236649 /sys/src/cmd/5e/vfp.c
parent63879193e7e0d271daa215b02d6c4f64c98dc6ae (diff)
5e: enable VFP emulation by default, doubles only need to be 4 byte aligned
this adds -F flag to 5e (same as 5l) to disable VFP emulation and makes VFP emulation the default.
Diffstat (limited to 'sys/src/cmd/5e/vfp.c')
-rw-r--r--sys/src/cmd/5e/vfp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/5e/vfp.c b/sys/src/cmd/5e/vfp.c
index 2ab755a09..0f4e7eeb6 100644
--- a/sys/src/cmd/5e/vfp.c
+++ b/sys/src/cmd/5e/vfp.c
@@ -55,7 +55,7 @@ vfprmtransfer(u32int instr)
sz = instr & (1<<8);
if((instr & (1<<23)) == 0)
off = -off;
- ea = vaddr(evenaddr(P->R[n] + off, sz ? 7 : 3), 8, &seg);
+ ea = vaddr(evenaddr(P->R[n] + off, 3), sz ? 8 : 4, &seg);
switch((instr>>20)&0x3){
case 0:
if(sz)