public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/66824] New: -miamcu doesn't load FP constant into register directly
@ 2015-07-09 12:29 hjl.tools at gmail dot com
  2015-07-09 12:37 ` [Bug target/66824] " hjl.tools at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: hjl.tools at gmail dot com @ 2015-07-09 12:29 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66824

            Bug ID: 66824
           Summary: -miamcu doesn't load FP constant into register
                    directly
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: izamyatin at gmail dot com, julia.koval at intel dot com,
                    zinovy.nis at gmail dot com
  Target Milestone: ---

[hjl@gnu-6 gcc]$ cat x.i
void bar (float);

void
foo (void)
{
  bar (3.0);
}
[hjl@gnu-6 gcc]$ ./xgcc -B./ -S -m32 -miamcu -O2 x.i
[hjl@gnu-6 gcc]$ cat x.s
        .file   "x.i"
        .section        .text.unlikely,"ax",@progbits
.LCOLDB1:
        .text
.LHOTB1:
        .p2align 4,,15
        .globl  foo
        .type   foo, @function
foo:
.LFB0:
        .cfi_startproc
        movl    .LC0, %eax
        jmp     bar
        .cfi_endproc
.LFE0:
        .size   foo, .-foo
        .section        .text.unlikely
.LCOLDE1:
        .text
.LHOTE1:
        .section        .rodata.cst4,"aM",@progbits,4
        .align 4
.LC0:
        .long   1077936128
        .ident  "GCC: (GNU) 6.0.0 20150709 (experimental)"
        .section        .note.GNU-stack,"",@progbits
[hjl@gnu-6 gcc]$ 

We should generate "mov $1077936128 %eax".


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-07-17 14:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-09 12:29 [Bug target/66824] New: -miamcu doesn't load FP constant into register directly hjl.tools at gmail dot com
2015-07-09 12:37 ` [Bug target/66824] " hjl.tools at gmail dot com
2015-07-09 19:14 ` hjl.tools at gmail dot com
2015-07-17  7:03 ` uros at gcc dot gnu.org
2015-07-17 11:52 ` hjl at gcc dot gnu.org
2015-07-17 14:49 ` hjl.tools at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).