From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29302 invoked by alias); 8 Oct 2005 05:06:37 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 29295 invoked by uid 22791); 8 Oct 2005 05:06:34 -0000 Received: from yosemite.airs.com (HELO yosemite.airs.com) (205.217.158.180) by sourceware.org (qpsmtpd/0.30-dev) with SMTP; Sat, 08 Oct 2005 05:06:34 +0000 Received: (qmail 22190 invoked by uid 10); 8 Oct 2005 05:06:33 -0000 Received: (qmail 24084 invoked by uid 500); 8 Oct 2005 05:06:24 -0000 Mail-Followup-To: gcc-help@gcc.gnu.org, vlads@juniper.net To: "Vladimir Stepanenko" Cc: Subject: Re: mips64-elf-as: missing 'li' macro References: From: Ian Lance Taylor Date: Sat, 08 Oct 2005 05:06:00 -0000 In-Reply-To: Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2005-10/txt/msg00043.txt.bz2 "Vladimir Stepanenko" 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@sourceware.org. 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