diff options
author | Michael Holzheu <[email protected]> | 2015-01-14 11:25:07 +0100 |
---|---|---|
committer | Martin Schwidefsky <[email protected]> | 2015-01-15 08:17:42 +0100 |
commit | 5a80244246d503df688341a10e1d244d15bb8ce5 (patch) | |
tree | e4e39440f18e35b8710b7c515daaba11cbbacabf /lib/mpi/mpiutil.c | |
parent | f800c25b7a762d445ba1439a2428c8362157eba6 (diff) |
s390/bpf: Fix JMP_JGE_K (A >= K) and JMP_JGT_K (A > K)
Currently the signed COMPARE HALFWORD IMMEDIATE (chi) and COMPARE (c)
instructions are used to compare "A" with "K". This is not correct
because "A" and "K" are both unsigned. To fix this remove the
chi instruction (no unsigned analogon available) and use the
unsigned COMPARE LOGICAL (cl) instruction instead of COMPARE (c).
Signed-off-by: Michael Holzheu <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions