mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-20 18:50:21 +02:00
Add new test case for int/float to/from conversion.
* check/Makefile.am, check/cvt.ok, check/cvt.tst: Add new "cvt" test case to test conversion from/to int/float types. * check/lightning.c: Only define truncr_{f,d}_l in 64 bit mode. * include/lightning.h: Correct typo that caused it to define jit_truncr_{f,d}_l in 32 bit mode. * lib/jit_arm-cpu.c: Avoid assertion failure in the signed/unsigned extend opcodes generation as it shares an interface for 3 argument opcode generation. * lib/jit_x86-cpu.c: Correct wrong argument passed to jit_unget_reg in the andi implementation and wrong byte unsigned extend code generation. * lib/jit_x86-sse.c: Correct conversion from "word" to float or double as is dependent on wordsize.
This commit is contained in:
parent
e7e55966cb
commit
d1c0bc8e98
9 changed files with 449 additions and 18 deletions
|
@ -159,16 +159,16 @@ extern unsigned __aeabi_uidivmod(unsigned, unsigned);
|
|||
# define THUMB2_REV16 0xfa90f090
|
||||
# define ARM_SXTB 0x06af0070
|
||||
# define THUMB_SXTB 0xb240
|
||||
# define THUMB2_SXTB 0xfa4ff080
|
||||
# define THUMB2_SXTB 0xfa40f080
|
||||
# define ARM_UXTB 0x06ef0070
|
||||
# define THUMB_UXTB 0xb2c0
|
||||
# define THUMB2_UXTB 0xfa5ff080
|
||||
# define THUMB2_UXTB 0xfa50f080
|
||||
# define ARM_SXTH 0x06bf0070
|
||||
# define THUMB_SXTH 0xb200
|
||||
# define THUMB2_SXTH 0xfa0f0080
|
||||
# define THUMB2_SXTH 0xfa00f080
|
||||
# define ARM_UXTH 0x06ff0070
|
||||
# define THUMB_UXTH 0xb280
|
||||
# define THUMB2_UXTH 0xfa1ff080
|
||||
# define THUMB2_UXTH 0xfa10f080
|
||||
# define ARM_XTR8 0x00000400 /* ?xt? rotate 8 bits */
|
||||
# define ARM_XTR16 0x00000800 /* ?xt? rotate 16 bits */
|
||||
# define ARM_XTR24 0x00000c00 /* ?xt? rotate 24 bits */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue