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:
Sagar Ghuge 2019-06-04 13:05:20 -07:00
parent e9c35dd7cc
commit d5f63990b4
5 changed files with 5 additions and 0 deletions

View file

@ -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')

View file

@ -0,0 +1 @@
rol(16) g3<1>UD g2<0,1,0>UD g2.1<0,1,0>UD { align1 1H };

View file

@ -0,0 +1 @@
0f 00 80 00 08 02 60 20 40 00 00 02 44 00 00 00

View file

@ -0,0 +1 @@
ror(16) g3<1>UD g2<0,1,0>UD g2.1<0,1,0>UD { align1 1H };

View file

@ -0,0 +1 @@
0e 00 80 00 08 02 60 20 40 00 00 02 44 00 00 00