This is the mail archive of the gcc-bugs@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]

[Bug c/53353] Missing error/warning when using __int128_t with incorrect asm register constraints


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-05-15 06:19:51 UTC ---
You are wrong.  "A" class contains the ax and dx registers, which means that
for say 64-bit value it can give you either %rax, or %rdx, for 128-bit value
obviously only %rax:%rdx pair.  But "r" class contains all the non-fixed
general purpose registers, so it can give you any pair of consecutive
registers.
The only classes that can't hold 128-bit values are the single register
classes, like "a", "b", ..., "D", "S", etc.


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