This is the mail archive of the gcc-patches@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] | |
On 2012-08-03 01:51, Uros Bizjak wrote:Is there a good reason we can't do this in the generic code in optabs.c::expand_atomic_fetch_op()?So? Did you think the xadd will trap?The same reasoning goes for dynamic negation: for neg %eax,%eax value 0x80000000 stays the same, but we have changed (x)sub to an (x)add in the code stream.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |