3 #define HEAD "agfi %[i], -8\n" \
5 "larl %[table], 6f\n" \
6 "sllg %[i], %[i], 3(0)\n" \
9 #define TAIL "0: lghi %[i], 200\n" \
11 "1: lghi %[i], 100\n" \
13 "2: lghi %[i], 111\n" \
15 "3: lghi %[i], 122\n" \
17 "4: lghi %[i], 133\n" \
19 "5: lghi %[i], 144\n" \
29 static long bic0(long i
)
34 ".insn rxy, 0xe30000000047, 0, 8(%[i],%[table])\n"
35 "lg %[table],0(%[i],%[table])\n"
39 , [table
] "=a" (table
)
44 static long bic4(long i
)
48 ".insn rxy, 0xe30000000047, 4, 0(%[i],%[table])\n"
51 , [table
] "=a" (table
)
56 static long bic15(long i
)
61 ".insn rxy, 0xe30000000047, 15, 0(%[i],%[table])\n"
64 , [table
] "=a" (table
)
73 for (i
= 0; i
< 16; i
++) {
74 printf("bic0: %ld -> %ld\n", i
, bic0(i
));
75 printf("bic4: %ld -> %ld\n", i
, bic4(i
));
76 printf("bic15: %ld -> %ld\n", i
, bic15(i
));