Thread (24 messages) 24 messages, 3 authors, 2020-11-27

Re: [PATCH v3 3/3] powerpc/64s: feature: Work around inline asm issues

From: Bill Wendling <morbo@google.com>
Date: 2020-11-23 19:45:22

What Segher said. :-) Also, if you reverse the comparison, you'll get
a build error.

On Sun, Nov 22, 2020 at 10:36 PM Segher Boessenkool
[off-list ref] wrote:
On Mon, Nov 23, 2020 at 04:44:56PM +1100, Michael Ellerman wrote:
quoted
If I hard code:

      .org . - (1);

It fails as expected.

But if I hard code:

      .org . - (1 > 0);

It builds?
"true" (as a result of a comparison) in as is -1, not 1.


Segher
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help