This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: tweak config/spu/spu_mfcio.h
- From: Ben Elliston <bje at au1 dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: pinskia at gmail dot com
- Date: Thu, 23 Nov 2006 12:09:12 +1100
- Subject: PATCH: tweak config/spu/spu_mfcio.h
This little patch reflects a specification change.
Okay for the trunk?
2006-11-23 Ben Elliston <bje@au.ibm.com>
* config/spu/spu_mfcio.h (struct mfc_list_element): Change width
of size bitfield.
Index: config/spu/spu_mfcio.h
===================================================================
--- config/spu/spu_mfcio.h (revision 119103)
+++ config/spu/spu_mfcio.h (working copy)
@@ -37,8 +37,8 @@ __extension__
#endif
typedef struct mfc_list_element {
uint64_t notify : 1; /** Stall-and-notify bit */
- uint64_t reserved : 15;
- uint64_t size : 16; /** Transfer size */
+ uint64_t reserved : 16;
+ uint64_t size : 15; /** Transfer size */
uint64_t eal : 32; /** Lower word of effective address */
} mfc_list_element_t;