Merge from projects/arm_eabi_vfp r255380:
Fix the VCVT instruction. It must round towards zero when converting from a floating-point to an integer value. This was not the case causing issues when printing certain values. There is a VCVTR instruction that will round depending on the current rounding mode. We don't yet support this instruction, or setting the rounding mode.
This commit is contained in:
parent
6c20c40f32
commit
9bff0a1d6a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=256790
@ -12660,14 +12660,14 @@ do_vfp_nsyn_cvt (enum neon_shape rs, int flavour)
|
||||
/* Conversions without bitshift. */
|
||||
const char *enc[] =
|
||||
{
|
||||
"ftosis",
|
||||
"ftouis",
|
||||
"ftosizs",
|
||||
"ftouizs",
|
||||
"fsitos",
|
||||
"fuitos",
|
||||
"fcvtsd",
|
||||
"fcvtds",
|
||||
"ftosid",
|
||||
"ftouid",
|
||||
"ftosizd",
|
||||
"ftouizd",
|
||||
"fsitod",
|
||||
"fuitod"
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user