[LLVMdev] MIPS 32bit code generation

Gang-Ryung Uh guh at boisestate.edu
Wed Oct 5 17:43:53 PDT 2011


Hi,

for our micro-architecture research, we are using simplescalar 3.0 32bit
mips simulator, which comes with binutils 1.5.2, and the ld fails at "lui"
(bfd error). However, the ld is happy with "la" (assembler macro) and
simulator correctly simulates.


On Wed, Oct 5, 2011 at 5:04 PM, Eric Christopher <echristo at apple.com> wrote:

>
> On Oct 5, 2011, at 4:01 PM, Gang-Ryung Uh wrote:
>
> > Hi,
> >
> >      In order to emit "la $4,ADDR" instead of lui followed by addiu to
> load the data address, could you advise what is proper way to revise td
> files in the MIPS target?
>
> Why?
>
> -eric
>
>


-- 
Gang-Ryung Uh, Associate Professor
Department of Computer Science
College of Engineering, Boise State Univerisity
tel: 1 208 426-5691  e-mail:guh at boisestate.edu
http://cs.boisestate.edu/~uh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111005/3e386d99/attachment.html>


More information about the llvm-dev mailing list