| To: | Maxim Kuvyrkov <maxim@codesourcery.com> |
|---|---|
| Subject: | Re: Changing the treatment of the MIPS HI and LO registers |
| From: | Paolo Bonzini <bonzini@gnu.org> |
| Date: | Wed, 11 Jun 2008 16:24:28 -0700 |
| Cc: | "Maciej W. Rozycki" <macro@linux-mips.org>, Ralf Baechle <ralf@linux-mips.org>, gcc-patches@gcc.gnu.org, linux-mips@linux-mips.org, rdsandiford@googlemail.com |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding:sender; bh=igQVFScsQAz5rH5aanlAlNbrqEX1ZWZruq2DvHEezow=; b=S9RDrVL6/Da23VdeFyIOi3zkvfn/MNShv4pZhNBYbNfe4ZbbuiA3iSsc6iMDeRG4bF vqdiBDAA3SIZa1RTEFYJo9ecNtg82q2hU8qXwdqOtFHfMAenDMwF6g89aB06Vaeih9We NoMxcvIFiQbsx+ffTwjHEF4W3CAQkYuXM1fCM= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :sender; b=najfc6+uFswfjhA2qT6aB3WxJuIjiyqj2bF/EWXzPX3ZmEV/hVVNZx2Y9rU2ka4rLe fy5BjSYyhnWB8MryfueZl0NxUdjWCwiwLslnsZgAG0n4Dk8kuQeLHWwsBpgOeQAG6O+7 +DiAL0FnkVUSHiR4o5Eh0PDJleVFDtoXi9vds= |
| In-reply-to: | <48501C55.5060602@codesourcery.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <87tzgj4nh6.fsf@firetop.home> <Pine.LNX.4.55.0805272134540.18833@cliff.in.clinika.pl> <87abib4d9t.fsf@firetop.home> <Pine.LNX.4.55.0805272357020.18833@cliff.in.clinika.pl> <87r6bm1ebd.fsf@firetop.home> <Pine.LNX.4.55.0805290213140.29522@cliff.in.clinika.pl> <878wxtvarg.fsf@firetop.home> <8763stz2p3.fsf@firetop.home> <87zlpuxqfb.fsf@firetop.home> <48501C55.5060602@codesourcery.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Thunderbird 2.0.0.14 (Macintosh/20080421) |
Actually, so does GCC itself. Can you prepare a patch?
Almost; this:
#define umul_ppmm(w1, w0, u, v) \
({UDWtype __xx; \
UWtype __u = (u), __v = (v); \
__xx = (UDWtype) __u * __v; \
w0 = (UWtype) __xx; \
w1 = __xx >> 32;})
should work.
Paolo
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | kernel 2.4.16 patch for cmd64x ide controler driver on kernel 2.35.3, christopher |
|---|---|
| Next by Date: | Re: [PATCH 1/5] [MIPS] fix sparse warning about setup_early_printk(), Ralf Baechle |
| Previous by Thread: | Re: Changing the treatment of the MIPS HI and LO registers, Richard Sandiford |
| Next by Thread: | Re: mips: CONF_CM_DEFAULT build error, Atsushi Nemoto |
| Indexes: | [Date] [Thread] [Top] [All Lists] |