[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Dropping/splitting (proper) i386 support

Nathanael Nerode <neroden@twcny.rr.com> writes:

> Oddly, it looks like GCC doesn't currently ever generate
> 486-specific instructions; they are only (currently) of benefit to
> assembly programmers.  (Hmm... maybe I should see if there's an
> enhancement opportunity to GCC there.)

I have a patch floating around here that adds a __builtin_bswap32/64,
which could generate bswap on i486, if anybody is interested. I was
planning to recognize bswaps from C Code too, but I'm not sure that
will work out... I think it would be quite useful, though, since byte
swapping often occurs in performance-critical code like emulators.


Reply to: