Date: Mon, 15 May 2023 13:26:35 -0700 From: Mark Millard <marklmi@yahoo.com> To: Kyle Evans <kevans@FreeBSD.org>, dev-commits-src-main@freebsd.org Cc: jrtc27@freebsd.org Subject: Re: git: 4b500174dd2d - main - arm64: emulate swp/swpb instructions Message-ID: <D72ACB19-47C5-4F62-8266-8DF14E562F8A@yahoo.com> References: <D72ACB19-47C5-4F62-8266-8DF14E562F8A.ref@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Kyle Evans <kevans_at_freebsd.org> write on Date: Mon, 15 May 2023 15:59:04 UTC : > On Mon, May 15, 2023 at 10:49=E2=80=AFAM Jessica Clarke = <jrtc27@freebsd.org> wrote: > > > > On 15 May 2023, at 16:42, Kyle Evans <kevans@FreeBSD.org> wrote: > . . . > > > + return (!match !=3D !invert); > > > > This is equivalent to match !=3D invert? > > >=20 > Good shout, fixed in b68588618b43, thanks. Clear lack of consideration > on my part, and I'm guessing they were ints in an earlier version of > NetBSD's implementation. Off topic but prompted by the "match !=3D invert" : A hardware engineer would call that !=3D for Boolean arguments by the name: "xor". That is not my favorite name for it. I prefer: "Boolean inequality" or the like. I've seen code in the past that expanded out the case analysis based on the tests for specific values. =3D=3D=3D Mark Millard marklmi at yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D72ACB19-47C5-4F62-8266-8DF14E562F8A>