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: GCC MMX PATCH



Some comments:

Check out the Sun VIS SDK for a similar conecpt.  Sun's compiler has
inline assembly but the format is much different.

You need a target macro to enable MMX.  When it is clear
REG_CLASS_FROM_LETTER('x') must return NO_REGS.

gcc needs to enforce the rule that floating point and MMX don't mix.

You probably need register classes for general registers + MMX registers
because gcc will want to use such a class for DImode values.  You don't
need a constraint letter for these classes.

If you plan to do anything for UltraSPARC VIS, check with me first.



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