This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Possible gas regression
- From: NightStrike <nightstrike at gmail dot com>
- To: binutils <binutils at sourceware dot org>
- Date: Sun, 5 Sep 2010 13:19:12 -0400
- Subject: Possible gas regression
We noticed while compiling mingw-w64 using binutils CVS HEAD this
morning the following failure:
x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I.
-I../../../build/mingw/mingw-w64-crt -m64
-I../../../build/mingw/mingw-w64-crt/include -D_CRTBLD
-I/buildbot/pac0602-cygwin/cygwin-x86-x86_64/build/build/root/x86_64-w64-mingw32/include
-g -O2 -MT math/lib64_libmingwex_a-scalbnl.o -MD -MP -MF
math/.deps/lib64_libmingwex_a-scalbnl.Tpo -c -o
math/lib64_libmingwex_a-scalbnl.o `test -f 'math/scalbnl.S' || echo
'../../../build/mingw/mingw-w64-crt/'`math/scalbnl.S
scalbnl.S: Assembler messages:
scalbnl.S:20: Error: operand type mismatch for `and'
scalbnl.S is:
/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the w64 mingw-runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#include <_mingw_mac.h>
.file "scalbnl.S"
.text
#ifdef _WIN64
.align 8
#else
.align 4
#endif
.globl __MINGW_USYMBOL(scalbnl)
.def __MINGW_USYMBOL(scalbnl); .scl 2; .type
32; .endef
__MINGW_USYMBOL(scalbnl):
#ifdef _WIN64
subq $24, %rsp
andq $0xffffffff, %r8
movq %r8, (%rsp)
fildl (%rsp)
fldt (%rdx)
fscale
fstp %st(1)
movq %rcx,%rax
movq $0,8(%rcx)
fstpt (%rcx)
addq $24, %rsp
ret
#else
fildl 16(%esp)
fldt 4(%esp)
fscale
fstp %st(1)
ret
#endif
.globl __MINGW_USYMBOL(scalblnl)
.set __MINGW_USYMBOL(scalblnl),__MINGW_USYMBOL(scalbnl)
Any ideas why that would fail?