bug still present with -D__FPU_PRESENT -mfloat-abi=hard -mfpu=fpv4-sp-d16
even with intel !! unbelievable.. ....is this really a bug ?
x86:
GNU C (tdm64-1) version 4.9.2 (x86_64-w64-mingw32) compiled by GNU C version 4.9.2, GMP version 4.3.2, MPFR version 2.4.2, MPC version 0.8.2
even with intel !! unbelievable.. ....is this really a bug ?
x86:
Code:
.file "bug.c"
.section .text.unlikely,"x"
.LCOLDB0:
.text
.LHOTB0:
.p2align 4,,15
.globl bug
.def bug; .scl 2; .type 32; .endef
.seh_proc bug
bug:
.seh_endprologue
movl $999, dummy(%rip)
xorl %eax, %eax
.p2align 4,,10
.L2:
pxor %xmm0, %xmm0
cvtsi2ss %eax, %xmm0
addl $1, %eax
cmpl $1000, %eax
jne .L2
movss %xmm0, dummyfloat(%rip)
movl $1000, n(%rip)
ret
.seh_endproc
.section .text.unlikely,"x"
.LCOLDE0:
.text
.LHOTE0:
.comm dummyfloat, 4, 2
.comm dummy, 4, 2
.comm n, 4, 2
.ident "GCC: (tdm64-1) 4.9.2"
Last edited: