[Lldb-commits] [lldb] r359347 - TestZMMRegister: use an integer division as intended
Frederic Riss via lldb-commits
lldb-commits at lists.llvm.org
Fri Apr 26 13:23:55 PDT 2019
Author: friss
Date: Fri Apr 26 13:23:55 2019
New Revision: 359347
URL: http://llvm.org/viewvc/llvm-project?rev=359347&view=rev
Log:
TestZMMRegister: use an integer division as intended
Modified:
lldb/trunk/packages/Python/lldbsuite/test/functionalities/register/intel_avx/TestZMMRegister.py
Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/register/intel_avx/TestZMMRegister.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/register/intel_avx/TestZMMRegister.py?rev=359347&r1=359346&r2=359347&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/register/intel_avx/TestZMMRegister.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/register/intel_avx/TestZMMRegister.py Fri Apr 26 13:23:55 2019
@@ -62,7 +62,7 @@ class TestYMMRegister(TestBase):
else:
register_range = 8
for i in range(register_range):
- j = i - ((i / 8) * 8)
+ j = i - ((i // 8) * 8)
self.runCmd("thread step-inst")
register_byte = (byte_pattern1 | j)
@@ -104,7 +104,7 @@ class TestYMMRegister(TestBase):
else:
register_range = 8
for i in range(register_range):
- j = i - ((i / 8) * 8)
+ j = i - ((i // 8) * 8)
self.runCmd("thread step-inst")
self.runCmd("thread step-inst")
More information about the lldb-commits
mailing list