diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2015-02-20 14:05:49 +0100 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2015-02-20 14:05:49 +0100 |
| commit | c166f6cf0eb5d8dd697f03cb89c2703db1554b2b (patch) | |
| tree | 878c5e56046c920e58548fd522140fa73b3bed0e /test/ir | |
| parent | 82d3e73cd19f3638265d35f765cdab1dc13d1ddb (diff) | |
| download | miasm-c166f6cf0eb5d8dd697f03cb89c2703db1554b2b.tar.gz miasm-c166f6cf0eb5d8dd697f03cb89c2703db1554b2b.zip | |
X86: add regression tests for bsf/bsr
Diffstat (limited to 'test/ir')
| -rw-r--r-- | test/ir/ir2C.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ir/ir2C.py b/test/ir/ir2C.py index 1089bba4..11b9b10e 100644 --- a/test/ir/ir2C.py +++ b/test/ir/ir2C.py @@ -37,7 +37,7 @@ class TestIrIr2C(unittest.TestCase): self.translationTest( ExprOp('-', *args[:2]), r'(((0x0&0xffffffff) - (0x1&0xffffffff))&0xffffffff)') self.translationTest( - ExprOp('bsr', *args[:2]), r'my_bsr(0x0, 0x1)') + ExprOp('bsr', *args[:1]), r'x86_bsr(0x0, 0x20)') self.translationTest( ExprOp('cpuid0', *args[:2]), r'cpuid0(0x0, 0x1)') self.translationTest( |