Skip to contentSkip to conversation

[6506] Rename spe_status to vec_status

Qemu-devel Aurelien Jarno 1 participant 1 message Feb 3, 2009

lore
Share & tools
lore
#0 lore raw

Revision: 6506

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6506
Author:   aurel32
Date:     2009-02-03 19:55:51 +0000 (Tue, 03 Feb 2009)

Log Message:
-----------
Rename spe_status to vec_status

Only one of Altivec and SPE will be available on a given chip.

Modified Paths:
--------------
trunk/target-ppc/cpu.h
trunk/target-ppc/op_helper.c

Modified: trunk/target-ppc/cpu.h
===================================================================

target-ppc/cpu.h +3 -1
@@ -611,8 +611,10 @@
     uint32_t vscr;
     /* SPE registers */
     uint64_t spe_acc;
-    float_status spe_status;
     uint32_t spe_fscr;
+    /* SPE and Altivec can share a status since they will never be used
+     * simultaneously */
+    float_status vec_status;
 
     /* Internal devices resources */
     /* Time base and decrementer */

Modified: trunk/target-ppc/op_helper.c
===================================================================

target-ppc/op_helper.c +56 -56

356 lines not on this page · raw message