Subject: Re: [PATCH 1/6] powerpc: Add ZERO_GPRS macros for register clears

From: Michael Ellerman <[email-masked]>
Date: Tue, 14 Jun 2022 14:31:01 +1000

Segher Boessenkool <[email-masked]> writes:
> On Sat, Jun 11, 2022 at 08:42:27AM +0000, Christophe Leroy wrote:
>> Le 10/06/2022 à 05:32, Rohan McLure a écrit :
>> > .macro ZERO_REGS start, end
>> > 	.Lreg=\start
>> > 	.rept (\end - \start + 1)
>> > 	li	.Lreg, 0
>> > 	.Lreg=.Lreg+1
>> > 	.endr
>> > .endm
>> 
>> I'd have a preference for using a verb, for instance ZEROISE_REGS or 
>> CLEAR_REGS
>
> "Zero" is a verb as well (as well as a noun and an adjective) :-)

And "clear" is also a verb and an adjective, though helpfully the noun
is "clearing" :D

We could use "nullify", that has some existing usage in the kernel,
although I don't really mind, "zeroise" sounds kind of cool :)

cheers