float immediate value with %f instead of
%g
> -Original Message-
> From: Guo, Yejun
> Sent: Tuesday, August 4, 2015 10:50 AM
> To: Song, Ruiling; beignet@lists.freedesktop.org
> Subject: RE: [Beignet] [PATCH] output float immediate value with %f
> instead of %g
>
> -Original Message-
> From: Guo, Yejun
> Sent: Tuesday, August 4, 2015 10:50 AM
> To: Song, Ruiling; beignet@lists.freedesktop.org
> Subject: RE: [Beignet] [PATCH] output float immediate value with %f instead
> of %g
>
> Yes, it would be better, not sure why th
H] output float immediate value with %f instead of
%g
> -Original Message-
> From: Guo, Yejun
> Sent: Sunday, August 2, 2015 10:42 AM
> To: Song, Ruiling; beignet@lists.freedesktop.org
> Subject: RE: [Beignet] [PATCH] output float immediate value with %f
> instead of %g
> -Original Message-
> From: Guo, Yejun
> Sent: Sunday, August 2, 2015 10:42 AM
> To: Song, Ruiling; beignet@lists.freedesktop.org
> Subject: RE: [Beignet] [PATCH] output float immediate value with %f instead
> of %g
>
> For the kernel
>
> uint aaa
value). And, to get the exact value
of aaa (with real format uint), the hex format is a necessary.
-Original Message-
From: Song, Ruiling
Sent: Friday, July 31, 2015 4:02 PM
To: Guo, Yejun; beignet@lists.freedesktop.org
Subject: RE: [Beignet] [PATCH] output float immediate value with %f i
>
> In disassemble, a float immediate value is printf with %g, it outputs a wrong
> value with 8 bytes, change it to be %f with the correct 4 bytes. At some
> cases,
> the real data type is not float, so also print the value in hex format.
As far as I know, %g will select %f or %e automatically,
Ping for review, thanks.
-Original Message-
From: Guo, Yejun
Sent: Thursday, July 23, 2015 8:48 AM
To: beignet@lists.freedesktop.org
Cc: Guo, Yejun
Subject: [PATCH] output float immediate value with %f instead of %g
In disassemble, a float immediate value is printf with %g, it outputs a
In disassemble, a float immediate value is printf with %g, it
outputs a wrong value with 8 bytes, change it to be %f with the
correct 4 bytes. At some cases, the real data type is not float,
so also print the value in hex format.
Signed-off-by: Guo Yejun
---
backend/src/backend/gen/gen_mesa_disa