Lines Matching full:mem
14 * Each test sets the MEM_IDXth element of the mem array to MEM and uses a
16 * This is in order to prevent stumbling upon MEM in random memory in case
20 * clang doesn't, so the assembly code accesses mem[MEM_IDX] using MEM_ASM.
22 static long mem[0x1000]; variable
24 #define MEM_ASM "mem+0x800*8"
29 /* Initial mem[MEM_IDX] value. */
30 #define MEM 0xfedcba9889abcdef macro
37 F(cgfrl, REG, MEM, 2) \
38 F(cghrl, REG, MEM, 2) \
39 F(cgrl, REG, MEM, 2) \
40 F(chrl, REG, MEM, 1) \
41 F(clgfrl, REG, MEM, 2) \
42 F(clghrl, REG, MEM, 2) \
43 F(clgrl, REG, MEM, 1) \
44 F(clhrl, REG, MEM, 2) \
45 F(clrl, REG, MEM, 1) \
46 F(crl, REG, MEM, 1) \
47 F(larl, (long)&mem[MEM_IDX], MEM, CC) \
48 F(lgfrl, 0xfffffffffedcba98, MEM, CC) \
49 F(lghrl, 0xfffffffffffffedc, MEM, CC) \
50 F(lgrl, MEM, MEM, CC) \
51 F(lhrl, 0x12345678fffffedc, MEM, CC) \
52 F(llghrl, 0x000000000000fedc, MEM, CC) \
53 F(llhrl, 0x123456780000fedc, MEM, CC) \
54 F(lrl, 0x12345678fedcba98, MEM, CC) \
139 mem[MEM_IDX] = MEM; in main()
150 ASSERT_EQ(test->exp_mem, mem[MEM_IDX]); in main()