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"