On Wed, Apr 25, 2012 at 2:10 PM, R. Diez <[email protected]> wrote: > Hallo Pete: > > >> I'll add 3 mode flags to gcc, -mbranch-delay, -mno-branch-delay, and >> -mcompat-branch-delay. > > Could you set a predefined macro for each of those flags? Examples of such > predefined macros are STRICT_ANSI__ or __OPTIMIZE__ . >
GCC defines __or1k__, so I was going to make it define __or1knd__ if no delay slots are used, to match what I'm calling the no-delay-slots architecture. I don't know if I should make it define *both* __or1k__ and __or1knd__ in that case, though. Maybe both should be defined in the compatibility mode, and just define one or the other in the non-compatibility modes? -Pete _______________________________________________ OpenRISC mailing list [email protected] http://lists.openrisc.net/listinfo/openrisc
