diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-07-23 22:27:56 +0200 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-07-25 16:36:52 +0200 |
| commit | eb180d9c0f5838c6b47c63ec475f3088c775cfd3 (patch) | |
| tree | c8582eb82b1e15187530672ecd49beb006b4e684 /FAQ | |
| parent | e703906715b38a515c8d0a4815ee8e357ff1f6ba (diff) | |
| download | sparse-dev-eb180d9c0f5838c6b47c63ec475f3088c775cfd3.tar.gz | |
shift: simplify ASR(LSR(x,N),N')
Since an LSR with an in-range shift count will insert a zero in
the MSB, a subsequent ASR will be equivalent to an LSR of the same
count or equivalently, the combinaison the these two shifts is
equivalent to a single LSR with a shift count equal to the sum
of the two initial counts.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'FAQ')
0 files changed, 0 insertions, 0 deletions
