asm/aau: skip mova-unaligned at compile time
This commit is contained in:
parent
f7be1449a5
commit
7d99191317
@ -1,5 +1,7 @@
|
||||
#include "test_start.S"
|
||||
|
||||
#if (defined(MAX_VER) && __iset__ <= MAX_VER) || \
|
||||
(defined(MIN_VER) && __iset__ >= MIN_VER)
|
||||
{
|
||||
setwd wsz=4, nfx=1
|
||||
addd,0 0, arr, %r0
|
||||
@ -11,6 +13,9 @@
|
||||
nop 7
|
||||
OP,0 area=0, ind=0, am=1, be=0, %r0
|
||||
addd,0 %r0, 0, %r0
|
||||
#else
|
||||
skip_test
|
||||
#endif
|
||||
|
||||
#include "test_end.S"
|
||||
|
||||
|
@ -1,6 +1,10 @@
|
||||
#ifndef SRC_BASE_COMMON_H
|
||||
#define SRC_BASE_COMMON_H
|
||||
|
||||
#if !defined(__iset__)
|
||||
# define __iset__ 1
|
||||
#endif
|
||||
|
||||
#define NR_exit 1
|
||||
#define NR_write 4
|
||||
#define NR_mmap 90
|
||||
|
@ -8,11 +8,5 @@
|
||||
.type _start, #function
|
||||
.balign 8
|
||||
_start:
|
||||
#ifdef MAX_VER
|
||||
max_version MAX_VER
|
||||
#endif
|
||||
#ifdef MIN_VER
|
||||
min_version MIN_VER
|
||||
#endif
|
||||
|
||||
#endif // SRC_BASE_TEST_START_H
|
||||
|
Loading…
Reference in New Issue
Block a user