Re: mips64-elf-as: missing 'li' macro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Vladimir Stepanenko" <vlads@xxxxxxxxxxx> writes:

> Latest version of mips64-elf-as produces an error message when
> assembling
> li	$1, 0xc000000000000000
> 
> start.S:154: Error: Number (0xc000000000000000) larger than 32 bits
> 
> Previously (in mips64vr5xxx-elf-as version 2.9-gnupro-99r1) this macro
> was expanded as
> lui	$1, 0xc000
> dsll32	$1, $1, 0x10
> 
> Does any particular mips64 architecture support this macro extension or
> 64-bit immediates are not allowed at all?

This question is about the assembler, and would be better directed to
binutils@xxxxxxxxxxxxxxx  See http://sourceware.org/binutils/.

I believe the answer is to use 'dli' if you want to load a 64-bit
constant.  Note that your 2.9-gnupro-99r1 toolchain is six years old.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux