[REVIEW ONLY 4/4] RISC-V: Tentative ".bfloat16" assembly support

Jan Beulich jbeulich@suse.com
Thu Aug 3 06:47:31 GMT 2023


On 03.08.2023 02:04, Tsukasa OI via Binutils wrote:> --- a/gas/config/tc-riscv.c
> +++ b/gas/config/tc-riscv.c
> @@ -437,7 +437,7 @@ const char EXP_CHARS[] = "eE";
>  
>  /* Chars that mean this number is a floating point constant.
>     As in 0f12.456 or 0d1.2345e12.  */
> -const char FLT_CHARS[] = "rRsSfFdDxXpPhH";
> +const char FLT_CHARS[] = "rRsSfFdDxXpPhHb";

I realize Arm64 also has it this way (x86 doesn't), but are you sure
about only adding 'b' and not also 'B'? Aiui this introduces a needless
special case of case sensitivity.

Jan


More information about the Binutils mailing list