mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
target-alpha: Implement cpys{, n, e} inline.
Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
caa972256d
commit
dc96be4b97
3 changed files with 75 additions and 26 deletions
|
@ -921,24 +921,6 @@ uint64_t helper_sqrtt (uint64_t a)
|
|||
return float64_to_t(fr);
|
||||
}
|
||||
|
||||
|
||||
/* Sign copy */
|
||||
uint64_t helper_cpys(uint64_t a, uint64_t b)
|
||||
{
|
||||
return (a & 0x8000000000000000ULL) | (b & ~0x8000000000000000ULL);
|
||||
}
|
||||
|
||||
uint64_t helper_cpysn(uint64_t a, uint64_t b)
|
||||
{
|
||||
return ((~a) & 0x8000000000000000ULL) | (b & ~0x8000000000000000ULL);
|
||||
}
|
||||
|
||||
uint64_t helper_cpyse(uint64_t a, uint64_t b)
|
||||
{
|
||||
return (a & 0xFFF0000000000000ULL) | (b & ~0xFFF0000000000000ULL);
|
||||
}
|
||||
|
||||
|
||||
/* Comparisons */
|
||||
uint64_t helper_cmptun (uint64_t a, uint64_t b)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue