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]

Porting to 8051, Problems generating insn-attr.c


Dear GCC-Developpers,

While generating the insn-attr.c file by genattrtab i got the error:

   genattrtab: Bad number of entries in SET_ATTR_ALTERNATIVE for insn 25

What does that mean?
How can i find out which instruction matches with insn 25?

I´ve defined the following attributes:

  (define_attr "cc" "none,c,co,cao,set_c,reset_c,"
    (const_string "none"))

  (define_attr "type"
    "mov8,mov16,stack,xch,arith,logic,bit,call,jump,jump_rel,cmp"
    (const_string "arith"))

  (define_attr "length" "" (const_int 1))

Thanks
   Thomas
-- 
\|/ ______ \|/
"@'/  ,.  \'@"
/__| \__/ |__\
    \__U_/

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