asm/decode: skip unaligned tests for >=lcc-1.28

This commit is contained in:
Denis Drakhnia 2024-01-10 18:42:00 +02:00
parent 7d99191317
commit 6cfd276014
4 changed files with 22 additions and 2 deletions

View File

@ -1,10 +1,16 @@
#include "common.S"
#if __LCC__ < 120
.text
.global _start
.balign 8
.byte 0
_start:
nop
#include "test_end.S"
#else
#include "test_start.S"
skip_test
#include "test_end.S"
#endif

View File

@ -1,5 +1,6 @@
#include "test_start.S"
#if __LCC__ < 120
ibranch 1f
0:
@ -9,3 +10,7 @@
.byte 0
1:
ibranch 0b
#else
skip_test
#include "test_end.S"
#endif

View File

@ -1,8 +1,8 @@
#include "test_start.S"
#if __LCC__ < 120
disp %ctpr1, 1f
ct %ctpr1
0:
#include "test_end.S"
@ -10,3 +10,7 @@
.byte 0
1:
ibranch 0b
#else
skip_test
#include "test_end.S"
#endif

View File

@ -1,5 +1,6 @@
#include "test_start.S"
#if __LCC__ < 120
{
setwd wsz=4, nfx=1
disp %ctpr1, 1f
@ -13,3 +14,7 @@
1:
return %ctpr3
ct %ctpr3
#else
skip_test
#include "test_end.S"
#endif