mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
target/ppc: Implement DCFFIXQQ
Implement the following PowerISA v3.1 instruction: dcffixqq: DFP Convert From Fixed Quadword Quad Signed-off-by: Luis Pires <luis.pires@eldorado.org.br> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20211029192417.400707-5-luis.pires@eldorado.org.br> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
86057426d0
commit
d39b2cc7d0
5 changed files with 43 additions and 0 deletions
|
@ -7305,6 +7305,11 @@ static inline void set_avr64(int regno, TCGv_i64 src, bool high)
|
|||
/*
|
||||
* Helpers for decodetree used by !function for decoding arguments.
|
||||
*/
|
||||
static int times_2(DisasContext *ctx, int x)
|
||||
{
|
||||
return x * 2;
|
||||
}
|
||||
|
||||
static int times_4(DisasContext *ctx, int x)
|
||||
{
|
||||
return x * 4;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue