This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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;
  


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]