PATCH: tweak config/spu/spu_intrinsics.h
Ben Elliston
bje@au1.ibm.com
Thu Nov 23 01:47:00 GMT 2006
Another spec change to a target header. Okay for trunk?
2006-11-23 Ben Elliston <bje@au.ibm.com>
* config/spu/spu_intrinsics.h (SPU_RdEventStatMask): Rename to
SPU_RdEventMask.
* config/spu/spu_mfcio.h (spu_read_event_mask): Update.
Index: config/spu/spu_intrinsics.h
===================================================================
--- config/spu/spu_intrinsics.h (revision 119103)
+++ config/spu/spu_intrinsics.h (working copy)
@@ -45,7 +45,7 @@
#define SPU_RdSigNotify2 4
#define SPU_WrDec 7
#define SPU_RdDec 8
-#define SPU_RdEventStatMask 11
+#define SPU_RdEventMask 11
#define SPU_RdMachStat 13
#define SPU_WrSRR0 14
#define SPU_RdSRR0 15
Index: config/spu/spu_mfcio.h
===================================================================
--- config/spu/spu_mfcio.h (revision 119110)
+++ config/spu/spu_mfcio.h (working copy)
@@ -260,7 +260,7 @@ typedef struct mfc_list_element {
#define spu_stat_event_status() spu_readchcnt(SPU_RdEventStat)
#define spu_write_event_mask(mask) spu_writech(SPU_WrEventMask,(mask))
#define spu_write_event_ack(ack) spu_writech(SPU_WrEventAck,(ack))
-#define spu_read_event_mask() spu_readch(SPU_RdEventStatMask)
+#define spu_read_event_mask() spu_readch(SPU_RdEventMask)
/* SPU State Management */
#define spu_read_machine_status() spu_readch(SPU_MachStat)
More information about the Gcc-patches
mailing list