Skip to contentSkip to conversation

target-ppc: add vabsdu[b, h, w] instructions

PATCH David Gibson 2 participants 2 messages Jul 29, 2016 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 5 lines · Richard Henderson

<p dir="ltr">On Jul 29, 2016 09:16, David Gibson &lt;[email protected]&gt; wrote:<br>
&gt; So, I noticed this and was also concerned, but I more or less<br>
&gt; convinced myself that it would still work, by the magic of 2's<br>
&gt; complement, as long as sizeof(int) &gt;= 4.</p>
<p dir="ltr">Consider arguments 0xffffffff, 0.&nbsp; The unsigned absolute difference should be 0xffffffff.&nbsp; With abs(3) we get 1.<br></p>

Ah, good point, I didn't think that through properly.

Btw, your mailer seems to have screwed up and sent this as html only.

Signature · 4 lines
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson
#2 lore raw
Quoted 1 line · David Gibson

Btw, your mailer seems to have screwed up and sent this as html only.

"Sent from my phone" should have been the disclaimer. ;-)

r~