4 * Keep the address of the constant pool in a register instead of forming its
5 address all of the time.
6 * We can fold small constant offsets into the %hi/%lo references to constant
7 pool addresses as well.
8 * When in V9 mode, register allocate %icc[0-3].
9 * Add support for isel'ing UMUL_LOHI instead of marking it as Expand.
10 * Emit the 'Branch on Integer Register with Prediction' instructions. It's
11 not clear how to write a pattern for this though:
13 float %t1(int %a, int* %p) {
15 br bool %C, label %T, label %F
17 store int 123, int* %p
38 1) should be replaced with a brz in V9 mode.
40 * Same as above, but emit conditional move on register zero (p192) in V9
43 int %t1(int %a, int %b) {
45 %D = select bool %C, int %a, int %b
49 * Emit MULX/[SU]DIVX instructions in V9 mode instead of fiddling
50 with the Y register, if they are faster.
52 * Codegen bswap(load)/store(bswap) -> load/store ASI
54 * Implement frame pointer elimination, e.g. eliminate save/restore for
58 * Use %g0 directly to materialize 0. No instruction is required.