[Top][All Lists]

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

Re: [RFC PATCH-for-6.1 v2 4/6] target/mips/cp0_timer: Add ns_substract_t

From: Richard Henderson
Subject: Re: [RFC PATCH-for-6.1 v2 4/6] target/mips/cp0_timer: Add ns_substract_to_count() helper
Date: Fri, 9 Apr 2021 09:27:49 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 4/9/21 2:36 AM, Philippe Mathieu-Daudé wrote:
Factor ns_substract_to_count() out to simplify a bit.

Signed-off-by: Philippe Mathieu-Daudé<f4bug@amsat.org>
  target/mips/cp0_timer.c | 12 +++++++++---
  1 file changed, 9 insertions(+), 3 deletions(-)

Also, one usually subtracts "from".

That said, I'm not sure I see this as clearer...


reply via email to

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