[llvm-commits] [PATCH][Review request] IEEE quad software emulation library call
Hatanaka, Akira
ahatanaka at mips.com
Thu Jan 12 14:19:39 PST 2012
Hi Anton,
I think this is the approach you took for z/System mentioned in your previous email, but I didn't understand how it works. Could you point me to the revision that has the implementation?
Do you mean I define and add a new register class FGR128RegisterClass and make f128 a legal type?
addRegisterClass(MVT::f128, Mips::FGR128RegisterClass);
________________________________________
From: Anton Korobeynikov [anton at korobeynikov.info]
Sent: Thursday, January 12, 2012 1:52 PM
To: Hatanaka, Akira
Cc: Eli Friedman; baldrick at free.fr; llvm-commits at cs.uiuc.edu
Subject: Re: [llvm-commits] [PATCH][Review request] IEEE quad software emulation library call
Hi Akira,
> f128-2.patch: Mips-specific changes.
Can't you use the following trick for argument passing / return:
define new pseudo-registers which will contain pairs of the present
f64 regs as subregs.
And pass f128 via these "paired" register set. Is there any reason why
this approach will fail here?
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
More information about the llvm-commits
mailing list