expand/recog/match question

Hendrik Greving hendrik.greving.intel@gmail.com
Tue Aug 27 05:50:00 GMT 2013


GCC 4.8.1 generates a movsi like this when compiling newlib with my backend:

gdb) call debug_rtx(operand0)
(reg:SI 356)
(gdb) call debug_rtx(operand1)
(const:SI (plus:SI (symbol_ref:SI ("_ctype_locale_buf") <var_decl
0x2aaaab15d558 _ctype_locale_buf>)
        (const_int 32 [0x20])))

Any idea why the compiler tries to store such a weird construct? Is it
weird actually, or normal? I am trying to figure out if I either
allowed too much at some point (predicates?) or too little (do I need
to handle this with instructions?)?

Hendrik Greving

More information about the Gcc-help mailing list