Home
last modified time | relevance | path

Searched refs:OK32 (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/tests/tcg/s390x/
H A Dcvb.c20 #define OK32(x) (0x1234567800000000 | (uint32_t)(x)) macro
65 assert(cvb(0xc) == OK32(0) && signum == -1); in main()
66 assert(cvb(0x1c) == OK32(1) && signum == -1); in main()
67 assert(cvb(0x25594c) == OK32(25594) && signum == -1); in main()
68 assert(cvb(0x1d) == OK32(-1) && signum == -1); in main()
77 assert(cvby(0xc) == OK32(0)); in main()
78 assert(cvby(0x1c) == OK32(1)); in main()
79 assert(cvby(0x25594c) == OK32(25594)); in main()
80 assert(cvby(0x1d) == OK32(-1)); in main()
81 assert(cvby(0x2147483647c) == OK32(0x7fffffff)); in main()
[all …]