[PATCH v1] bsps/aarch64: Fix 128bit q register print bug

Kinsey Moore kinsey.moore at oarcorp.com
Tue May 16 12:32:29 UTC 2023


This change looks good. Thanks!

On Mon, May 15, 2023 at 10:32 PM <tianye at sugon.com> wrote:

> From: Tian Ye <tianye at sugon.com>
>
> ---
>  cpukit/score/cpu/aarch64/aarch64-exception-frame-print.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/cpukit/score/cpu/aarch64/aarch64-exception-frame-print.c
> b/cpukit/score/cpu/aarch64/aarch64-exception-frame-print.c
> index e207a5a81d..c5b477c72f 100644
> --- a/cpukit/score/cpu/aarch64/aarch64-exception-frame-print.c
> +++ b/cpukit/score/cpu/aarch64/aarch64-exception-frame-print.c
> @@ -216,7 +216,7 @@ void _CPU_Exception_frame_print( const
> CPU_Exception_frame *frame )
>
>    for ( i = 0 ; i < 32 ; ++i ) {
>      uint64_t low = (uint64_t) qx[i];
> -    uint64_t high = (uint64_t) (qx[i] >> 32);
> +    uint64_t high = (uint64_t) (qx[i] >> 64);
>
>      printk( "Q%02i  = 0x%016" PRIx64 "%016" PRIx64 "\n", i, high, low );
>    }
> --
> 2.27.0
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20230516/cb439663/attachment.htm>


More information about the devel mailing list