http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59672

Steven Bosscher <steven at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |i386-*-*
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-01-04
     Ever confirmed|0                           |1

--- Comment #3 from Steven Bosscher <steven at gcc dot gnu.org> ---
Nice idea. Not likely to be implemented any time soon, because it's quite
complicated to get right.

Takes more than just placing a directive right. With the right set of flags the
compiler would still emit 32bit instructions. Actually disabling 32bits
instructions is a lot more work: add a TARGET_16BITS or an attribute_enabled to
almost all patterns in i386.md and friends. Not helpful for the vast majority
of users, and kernel people will complain more about the inevitable slowdown
(and, as usual, point out the general incompetence of gcc hackers :-)

(Why/when is 16bit code still necessary anyway? Before entering protected
mode?)

Reply via email to