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 other/21398] gcc emits invalid operands for xchgb %b0, %h0


------- Additional Comments From pluto at pld-linux dot org  2005-05-05 14:22 -------
in online docs i see that "q" means "byte addressable register (a,b,c,d)". 
in i386.h i see something differ for x86_64. did i miss something in docs? 
 
#define REG_CLASS_FROM_LETTER(C)        \ 
  ((C) == 'r' ? GENERAL_REGS :                                  \ 
   (C) == 'R' ? LEGACY_REGS :                                   \ 
   (C) == 'q' ? TARGET_64BIT ? GENERAL_REGS : Q_REGS :          \ 
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
   (C) == 'Q' ? Q_REGS :                                        \ 
 

-- 


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


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