Project

General

Profile

Actions

Bug #10892

closed

AVX-512 dis tests fail with 'Error: zeroing-masking only allowed with write mask'

Added by Robert Mustacchi over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
tests
Start date:
2019-05-01
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

The AVX-512 dis tests fail against a newer version of gas. The problem is that they don't properly assemble. In particular we see something like:

...
32.avx512.s: Assembler messages:
32.avx512.s:47: Error: zeroing-masking only allowed with write mask
32.avx512.s:56: Error: zeroing-masking only allowed with write mask
32.avx512.s:101: Error: zeroing-masking only allowed with write mask
32.avx512.s:102: Error: zeroing-masking only allowed with write mask
32.avx512.s:103: Error: zeroing-masking only allowed with write mask
32.avx512.s:104: Error: zeroing-masking only allowed with write mask
32.avx512.s:105: Error: zeroing-masking only allowed with write mask
32.avx512.s:106: Error: zeroing-masking only allowed with write mask
32.avx512.s:111: Error: zeroing-masking only allowed with write mask
32.avx512.s:112: Error: zeroing-masking only allowed with write mask
32.avx512.s:113: Error: zeroing-masking only allowed with write mask
32.avx512.s:114: Error: zeroing-masking only allowed with write mask
32.avx512.s:115: Error: zeroing-masking only allowed with write mask
32.avx512.s:116: Error: zeroing-masking only allowed with write mask
32.avx512.s:121: Error: zeroing-masking only allowed with write mask
32.avx512.s:122: Error: zeroing-masking only allowed with write mask
32.avx512.s:123: Error: zeroing-masking only allowed with write mask
32.avx512.s:124: Error: zeroing-masking only allowed with write mask
32.avx512.s:125: Error: zeroing-masking only allowed with write mask
32.avx512.s:126: Error: zeroing-masking only allowed with write mask
32.avx512.s:131: Error: zeroing-masking only allowed with write mask
32.avx512.s:132: Error: zeroing-masking only allowed with write mask
32.avx512.s:133: Error: zeroing-masking only allowed with write mask
32.avx512.s:134: Error: zeroing-masking only allowed with write mask
...

The problem is that we have zero masking extensions illegally placed with out the register masks. The fix is to have the tests have these kinds of masks.

I tested this by running the full dis test suite with gas 2.26.1 and 2.30. 2.30 was the version that complained. Now it passed without issue.

Actions

Also available in: Atom PDF