From 2cbb6bf69979ed319134c93ddd70432a71958b0d Mon Sep 17 00:00:00 2001 From: Denis Drakhnia Date: Wed, 3 Jan 2024 16:57:27 +0200 Subject: [PATCH] asm/sm: ignore diag in preg in prologue --- tests/asm/meson.build | 1 + tests/asm/sm/qual-5.S | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 tests/asm/sm/qual-5.S diff --git a/tests/asm/meson.build b/tests/asm/meson.build index 3a71765..99c1e81 100644 --- a/tests/asm/meson.build +++ b/tests/asm/meson.build @@ -153,6 +153,7 @@ asm_tests = { 'qual-2': { 'should_fail': true }, 'qual-3': { 'should_fail': true }, 'qual-4': {}, + 'qual-5': {}, 'qual-call-1': { 'should_fail': true }, 'qual-ct-1': { 'should_fail': true }, 'qual-ct-2': {}, diff --git a/tests/asm/sm/qual-5.S b/tests/asm/sm/qual-5.S new file mode 100644 index 0000000..0c992a3 --- /dev/null +++ b/tests/asm/sm/qual-5.S @@ -0,0 +1,11 @@ +#include "test_start.S" + + rwd,0 (1 << 48) | (1UL << 37) | 1, %lsr + invalid64 %g16 + cmpedb,0,sm 0, %g16, %pred0 + { + loop_mode + addd,0 0, 0, %empty ? %pred0, %pcnt0 + } + +#include "test_end.S"