[LLVMdev] MIPS 32bit code generation

Jim Grosbach grosbach at apple.com
Thu Oct 6 10:43:33 PDT 2011


Fixing the simulator is the more appropriate solution.

On Oct 5, 2011, at 5:43 PM, Gang-Ryung Uh wrote:

> 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
> 
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list