[Bug target/52394] SH Target: SH2A defunct bitops

2015-09-20 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52394 --- Comment #3 from Oleg Endo --- (In reply to Oleg Endo from comment #2) > > The code should actually be something like this: > mov.l .L2,r2 > bld #0,r5 > mov #0,r0 > bor.b #5,@(0,r2) > bst.b

[Bug target/52394] SH Target: SH2A defunct bitops

2015-09-19 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52394 --- Comment #2 from Oleg Endo --- The SH2A bitops seem to produce some of the insns, but it seems the generated code is either really bad (defeating the original purpose) or broken. For example: volatile struct { union { unsigned char

[Bug target/52394] SH Target: SH2A defunct bitops

2012-02-27 Thread kkojima at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52394 --- Comment #1 from Kazumoto Kojima kkojima at gcc dot gnu.org 2012-02-28 00:37:56 UTC --- I guess that now these tests require -fno-strict-volatile-bitfields, though it isn't enough to avoid failures. It looks that something wrong happens in