Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MIPS IAS does not handle pseudoinstruction dla w/o $at #26695

Closed
emaste opened this issue Jan 26, 2016 · 3 comments
Closed

MIPS IAS does not handle pseudoinstruction dla w/o $at #26695

emaste opened this issue Jan 26, 2016 · 3 comments
Labels
bugzilla Issues migrated from bugzilla

Comments

@emaste
Copy link
Member

emaste commented Jan 26, 2016

Bugzilla Link 26321
Resolution FIXED
Resolved on Feb 08, 2017 07:25
Version trunk
OS FreeBSD
Blocks #23744

Extended Description

Another result from Sean Bruno's ongoing attempts to build FreeBSD/MIPS with Clang & integrated assembler:

/home/sbruno/head/sys/mips/mips/exception.S:196:2: error: pseudo-instruction requires $at, which is not available
dla $26, machExceptionTable # get base of the jump table

GNU as assembles the dla pseudoinstruction as:

; PTR_LA k0, _C_LABEL(machExceptionTable) # get base of the jump table
c0: 3c1a0000 lui k0,0x0
c4: 675a0000 daddiu k0,k0,0
c8: 001ad438 dsll k0,k0,0x10
cc: 675a0000 daddiu k0,k0,0
d0: 001ad438 dsll k0,k0,0x10
d4: 675a0000 daddiu k0,k0,0

@llvmbot
Copy link
Collaborator

llvmbot commented Sep 21, 2016

Is this bug still live? Currently

.set noat
dla $26, 0x1234567890abcdef

gets assembled to:

.text
.set	noat
lui	$26, 4660
ori	$26, $26, 22136
dsll	$26, $26, 16
ori	$26, $26, 37035
dsll	$26, $26, 16
ori	$26, $26, 52719

@llvmbot
Copy link
Collaborator

llvmbot commented Jan 22, 2017

As Simon asked, is this bug still live?

@llvmbot
Copy link
Collaborator

llvmbot commented Feb 8, 2017

r294182 should solve this.

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 10, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla
Projects
None yet
Development

No branches or pull requests

2 participants