This is the mail archive of the gcc@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]

Re: bounds checking


> 1) GCC likes pointers to fit into registers:
>    Multi-word BPs are handled in a way analogous to complex numbers.
>    The three words of a BP can be assigned to registers independently.	

I'm not crazy about the idea of adding one magic type at a time that is
handled like complex numbers.  It would be preferable to just handle all
structs like complex numbers (C++ performance would then immediately
greatly improve).  If this is done, multi-field bounded pointers are
just a special case.  This is a big change, but is it really harder than
doing all the equivalent work, but only using it for certain special
types (complex and BP's)?


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