intel/tools: Add assembler unit tests for ROL/ROR instructions
Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
e9c35dd7cc
commit
d5f63990b4
5 changed files with 5 additions and 0 deletions
|
|
@ -164,6 +164,7 @@ asm_testcases = [
|
|||
['hsw', 'tests/gen7.5'],
|
||||
['bdw', 'tests/gen8'],
|
||||
['skl', 'tests/gen9'],
|
||||
['icl', 'tests/gen11'],
|
||||
]
|
||||
|
||||
test_runner = find_program('tests/run-test.sh')
|
||||
|
|
|
|||
1
src/intel/tools/tests/gen11/rol.asm
Normal file
1
src/intel/tools/tests/gen11/rol.asm
Normal file
|
|
@ -0,0 +1 @@
|
|||
rol(16) g3<1>UD g2<0,1,0>UD g2.1<0,1,0>UD { align1 1H };
|
||||
1
src/intel/tools/tests/gen11/rol.expected
Normal file
1
src/intel/tools/tests/gen11/rol.expected
Normal file
|
|
@ -0,0 +1 @@
|
|||
0f 00 80 00 08 02 60 20 40 00 00 02 44 00 00 00
|
||||
1
src/intel/tools/tests/gen11/ror.asm
Normal file
1
src/intel/tools/tests/gen11/ror.asm
Normal file
|
|
@ -0,0 +1 @@
|
|||
ror(16) g3<1>UD g2<0,1,0>UD g2.1<0,1,0>UD { align1 1H };
|
||||
1
src/intel/tools/tests/gen11/ror.expected
Normal file
1
src/intel/tools/tests/gen11/ror.expected
Normal file
|
|
@ -0,0 +1 @@
|
|||
0e 00 80 00 08 02 60 20 40 00 00 02 44 00 00 00
|
||||
Loading…
Add table
Add a link
Reference in a new issue