diff options
author | MITSUNARI Shigeo <[email protected]> | 2024-10-11 12:21:48 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2024-10-13 13:51:06 +0900 |
commit | a84866bcbc8411416e51f53b210c7d9f06e3e763 (patch) | |
tree | 73ca1567c1bdc39b53cea1b1ae216f1e09c5096f /test/test_by_xed.py | |
parent | 3ca7e64c63daac8c3dd1c3cbafdc26ac011fa6ab (diff) | |
download | xbyak-a84866bcbc8411416e51f53b210c7d9f06e3e763.tar.gz xbyak-a84866bcbc8411416e51f53b210c7d9f06e3e763.zip |
add vf[,n]m[add,sub][132,213,231]nebf16
Diffstat (limited to 'test/test_by_xed.py')
-rw-r--r-- | test/test_by_xed.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/test_by_xed.py b/test/test_by_xed.py index cd6b7bb..5b84995 100644 --- a/test/test_by_xed.py +++ b/test/test_by_xed.py @@ -287,17 +287,18 @@ def removeExtraInfo(s): def run(cppText, xedText): cpp = loadFile(cppText) xed = loadFile(xedText) - if len(cpp) != len(xed): - raise Exception(f'different line {len(cpp)} {len(xed)}') + n = len(cpp) + if n != len(xed): + raise Exception(f'different line {n} {len(xed)}') - for i in range(len(cpp)): + for i in range(n): line1 = cpp[i] line2 = removeExtraInfo(xed[i]) m1 = parseNmemonic(line1) m2 = parseNmemonic(line2) assertEqual(m1, m2, f'{i+1}') - print('run ok') + print('run ok', n) def assertEqualStr(a, b, msg=None): if str(a) != str(b): |