commit | 1672d173c028ab5a5567acc8d0967701f82060e8 | [log] [tgz] |
---|---|---|
author | Thomas Huth <thuth@redhat.com> | Thu Apr 14 16:49:42 2016 +0200 |
committer | Thomas Huth <thuth@redhat.com> | Fri Apr 22 12:00:23 2016 +0200 |
tree | 78651443166b4d60e433a7bb38a29c4fc63f4db7 | |
parent | 56c886b0af47c0e46a06b5706c2148c0c476a78d [diff] |
powerpc: Add emulator test for the lswi instruction This test checks some special cases of the lswi instruction. Test works fine on real hardware, but in QEMU, this reveals a bug with the final "don't overwrite Ra" test (RA gets destroyed since the check in QEMU is still wrong). The code is based on the lswx test by Laurent Vivier. Reviewed-by: Laurent Vivier <lvivier@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>