[Bug rtl-optimization/68636] unnecessary unaligned load on mips o32

2015-12-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68636 Richard Biener changed: What|Removed |Added Keywords||missed-optimization

[Bug rtl-optimization/68636] unnecessary unaligned load on mips o32

2015-12-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68636 Richard Biener changed: What|Removed |Added Target||mips-wrs-vxworks Host|

[Bug rtl-optimization/68636] unnecessary unaligned load on mips o32

2015-12-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68636 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/68636] unnecessary unaligned load on mips o32

2015-12-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68636 --- Comment #3 from Richard Biener --- Can you try the following w/o the asm? typedef unsigned long uintptr_t;; volatile unsigned int x; void testTestTest(int zeroIsCavium) { x = *((volatile unsigned int *) (((volatile void

[Bug rtl-optimization/68636] unnecessary unaligned load on mips o32

2015-12-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68636 --- Comment #6 from Richard Biener --- And we also return true thus "known" which will override the type alignment present on the MEM_REF: /* When EXP is an actual memory reference then we can use TYPE_ALIGN of a pointer

[Bug rtl-optimization/68636] unnecessary unaligned load on mips o32

2015-12-02 Thread jan.sm...@alcatel-lucent.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68636 --- Comment #2 from Jan Smets --- The vreg pass is different OLD ode_label 16 9 17 6 2 "" [1 uses]) (note 17 16 18 6 [bb 6] NOTE_INSN_BASIC_BLOCK) (insn 18 17 0 6 (set (mem/v:SI (reg/f:SI 194 [ iftmp$0 ]) [2

[Bug rtl-optimization/68636] unnecessary unaligned load on mips o32

2015-12-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68636 --- Comment #1 from Richard Biener --- Ok x86_64 I get if (zeroIsCavium_2 == 0) goto ; else goto ; : : # PT = nonlocal # ALIGN = 536870912, MISALIGN = 8388720 # iftmp.0_1 = PHI <3229614192B(2), 2692743280B(3)> _4 ={v}