[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/13441] New: binutils-2.22 gas on sparc64-linux rejects "smul" i
From: |
mikpe at it dot uu.se |
Subject: |
[Bug gas/13441] New: binutils-2.22 gas on sparc64-linux rejects "smul" instructions breaking gcc bootstrap |
Date: |
Sat, 26 Nov 2011 17:32:59 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=13441
Bug #: 13441
Summary: binutils-2.22 gas on sparc64-linux rejects "smul"
instructions breaking gcc bootstrap
Product: binutils
Version: 2.22
Status: NEW
Severity: normal
Priority: P2
Component: gas
AssignedTo: address@hidden
ReportedBy: address@hidden
Classification: Unclassified
> cat bug.s
.section ".text"
.align 4
.global foo
foo:
smul %g1, 19, %g0
jmp %o7+8
nop
> as -o bug.o bug.s
bug.s: Assembler messages:
bug.s:5: Error: Hardware capability "mul32" not enabled for "smul".
> as --version
GNU assembler (GNU Binutils) 2.22
Copyright 2011 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `sparc64-unknown-linux-gnu'.
With gas from binutils-2.21.1 or older there's no error:
> /usr/bin/as -o bug.o bug.s ; /usr/bin/objdump -d bug.o
bug.o: file format elf32-sparc
Disassembly of section .text:
00000000 <foo>:
0: 80 58 60 13 smul %g1, 0x13, %g0
4: 81 c3 e0 08 retl
8: 01 00 00 00 nop
The test case originates from gcc's libiberty/regex.c, where it's simply a
multiplication of a signed int with the constant 19. The failure prevents gcc
from being bootstrapped with binutils-2.22.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
- [Bug gas/13441] New: binutils-2.22 gas on sparc64-linux rejects "smul" instructions breaking gcc bootstrap,
mikpe at it dot uu.se <=
- [Bug gas/13441] binutils-2.22 gas on sparc64-linux rejects "smul" instructions breaking gcc bootstrap, mikpe at it dot uu.se, 2011/11/26
- [Bug gas/13441] binutils-2.22 gas on sparc64-linux rejects "smul" instructions breaking gcc bootstrap, ebotcazou at gcc dot gnu.org, 2011/11/26
- [Bug gas/13441] binutils-2.22 gas on sparc64-linux rejects "smul" instructions breaking gcc bootstrap, mikpe at it dot uu.se, 2011/11/26
- [Bug gas/13441] binutils-2.22 gas on sparc64-linux rejects "smul" instructions breaking gcc bootstrap, ebotcazou at gcc dot gnu.org, 2011/11/26
- [Bug gas/13441] binutils-2.22 gas on sparc64-linux rejects "smul" instructions breaking gcc bootstrap, mikpe at it dot uu.se, 2011/11/27
- [Bug gas/13441] binutils-2.22 gas on sparc64-linux rejects "smul" instructions breaking gcc bootstrap, davem at davemloft dot net, 2011/11/27
- [Bug gas/13441] binutils-2.22 gas on sparc64-linux rejects "smul" instructions breaking gcc bootstrap, davem at davemloft dot net, 2011/11/27