commit | df3eed3d282f2fe1ffb73d3545fcde4e9b80a0d3 | [log] [tgz] |
---|---|---|
author | Michael Holzheu <holzheu@linux.vnet.ibm.com> | Thu Jan 08 14:36:21 2015 +0100 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Fri Jan 09 10:10:30 2015 +0100 |
tree | 26b328857f004c83f45eb3a5af446ead0dbc973c | |
parent | fbc89c952f004fb9191c23605a1428df6dd39a90 [diff] |
s390/bpf: Fix ALU_NEG (A = -A) Currently the LOAD NEGATIVE (lnr) instruction is used for ALU_NEG. This instruction always loads the negative value. Therefore, if A is already negative, it remains unchanged. To fix this use LOAD COMPLEMENT (lcr) instead. Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>