From 1f94097b8f33600ea293035abfb060220c4cddbc Mon Sep 17 00:00:00 2001 From: Denis Drakhnia Date: Thu, 15 Feb 2024 16:14:10 +0200 Subject: [PATCH] e2k/v7: skip older versions --- tests/asm/meson.build | 2 +- tests/asm/v7/qpack-1.S | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/asm/meson.build b/tests/asm/meson.build index 3ad0d27..3a18ffc 100644 --- a/tests/asm/meson.build +++ b/tests/asm/meson.build @@ -224,7 +224,7 @@ asm_tests = { 'stmqp-page-4': { 'src': 'stmqp-page-2', 'c_args': ['-DMIN_VER=6'] }, }, 'v7': { - 'qpack-1': {}, + 'qpack-1': {'c_args': ['-DMIN_VER=7']}, }, } diff --git a/tests/asm/v7/qpack-1.S b/tests/asm/v7/qpack-1.S index 5cd5610..173327c 100644 --- a/tests/asm/v7/qpack-1.S +++ b/tests/asm/v7/qpack-1.S @@ -1,5 +1,6 @@ #include "test_start.S" +#if __iset__ >= 7 setwd wsz=4, nfx=1 { addd,0 0, 0x0706050403020100, %g16 @@ -47,5 +48,6 @@ assert_eq_i64(%r1, %r5) assert_eq_i64(%r2, %r6) assert_eq_i64(%r3, %r7) +#endif #include "test_end.S"