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]

Re: [Patch] MIPS: mips16e machine patterns - zeb/zeh seb/seh


> This I don't get.  Why not think of it this way (which I thought was
> what Richard was suggesting):
> 
>   A MIPS processor with MIPS16 support has two modes, 16-bit and 32-bit
>   instructions.
> 
>   When you say -mips16 you get all of the instructions in the selected
>   processor's 16-bit mode.  If -march implies a processor which
>   supports MIPS16e, then enable MIPS16e.
> 

This is probably OK. In my most strict moments I'd want a warning if we
were switching that, but that's probably too pedantic.

-eric


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