mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
remove contradiction owen noticed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37327 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7139406707
commit
d1d25174cd
@ -2909,10 +2909,7 @@ also be of <a href="#t_integer">integer</a> type. The bit size of the
|
||||
|
||||
<h5>Semantics:</h5>
|
||||
<p>The <tt>zext</tt> fills the high order bits of the <tt>value</tt> with zero
|
||||
bits until it reaches the size of the destination type, <tt>ty2</tt>. When the
|
||||
the operand and the type are the same size, no bit filling is done and the
|
||||
cast is considered a <i>no-op cast</i> because no bits change (only the type
|
||||
changes).</p>
|
||||
bits until it reaches the size of the destination type, <tt>ty2</tt>.</p>
|
||||
|
||||
<p>When zero extending from i1, the result will always be either 0 or 1.</p>
|
||||
|
||||
@ -2949,9 +2946,7 @@ also be of <a href="#t_integer">integer</a> type. The bit size of the
|
||||
<p>
|
||||
The '<tt>sext</tt>' instruction performs a sign extension by copying the sign
|
||||
bit (highest order bit) of the <tt>value</tt> until it reaches the bit size of
|
||||
the type <tt>ty2</tt>. When the the operand and the type are the same size,
|
||||
no bit filling is done and the cast is considered a <i>no-op cast</i> because
|
||||
no bits change (only the type changes).</p>
|
||||
the type <tt>ty2</tt>.</p>
|
||||
|
||||
<p>When sign extending from i1, the extension always results in -1 or 0.</p>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user