qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/2] target/m68k: increase size of m68k CPU features from uin


From: Laurent Vivier
Subject: Re: [PATCH 1/2] target/m68k: increase size of m68k CPU features from uint32_t to uint64_t
Date: Mon, 26 Sep 2022 23:35:04 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.1

Le 25/09/2022 à 15:48, Mark Cave-Ayland a écrit :
There are already 32 feature bits in use, so change the size of the m68k
CPU features to uint64_t (along with the associated m68k_feature()
functions) to allow up to 64 feature bits to be used.

At the same time make use of the BIT_ULL() macro when reading/writing
the CPU feature bits to improve readability, and also update m68k_feature()
to return a bool rather than an int.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
---
  target/m68k/cpu.c | 4 ++--
  target/m68k/cpu.h | 6 +++---
  2 files changed, 5 insertions(+), 5 deletions(-)

Applied to my m68k-for-7.2 branch

Thanks,
Laurent





reply via email to

[Prev in Thread] Current Thread [Next in Thread]