]> Git Repo - qemu.git/blame - tests/tcg/cris/sys.h
target/s390x: fix PACK reading 1 byte less and writing 1 byte more
[qemu.git] / tests / tcg / cris / sys.h
CommitLineData
dd43edf4
TS
1#include <unistd.h>
2
3#define STRINGIFY(x) #x
4#define TOSTRING(x) STRINGIFY(x)
5
21ce148c
RV
6#define always_inline inline __attribute__((always_inline))
7
dd43edf4
TS
8#define CURRENT_LOCATION __FILE__ ":" TOSTRING(__LINE__)
9
10#define err() \
11{ \
12 _fail("at " CURRENT_LOCATION " "); \
13}
14
15#define mb() asm volatile ("" : : : "memory")
16
64b85a8f
BS
17void pass(void);
18void _fail(char *reason);
This page took 0.844241 seconds and 4 git commands to generate.