[Bug target/46092] Improve constant handling of thumb2 instructions
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46092 Ramana Radhakrishnan changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC||ramana at gcc dot gnu.org Resolution||FIXED Target Milestone|--- |4.7.0 Severity|normal |enhancement --- Comment #4 from Ramana Radhakrishnan 2012-02-24 12:24:04 UTC --- Trunk generates this today. Thus fixed. Ramana tv: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. movwr3, #65520 cmpr0, r3 itthi subhir0, r0, #65280 subhir0, r0, #241 bxlr .sizetv, .-tv .ident"GCC: (GNU) 4.7.0 20120116 (experimental)"
[Bug target/46092] Improve constant handling of thumb2 instructions
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46092 --- Comment #3 from Andrew Stubbs 2010-12-10 17:27:04 UTC --- Oh, I should say, what it actually does is this: subhi r0, r0, #65280 ; 0xff00 subhi r0, r0, #241 ; 0x00f1
[Bug target/46092] Improve constant handling of thumb2 instructions
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46092 Andrew Stubbs changed: What|Removed |Added Status|NEW |ASSIGNED CC||ams at gcc dot gnu.org AssignedTo|unassigned at gcc dot |ams at gcc dot gnu.org |gnu.org | --- Comment #2 from Andrew Stubbs 2010-12-10 17:23:51 UTC --- I've posted a patch to fix this issue (among others): http://gcc.gnu.org/ml/gcc-patches/2010-12/msg00652.html