diff options
author | Richard Henderson <rth@twiddle.net> | 2013-03-04 23:16:24 -0800 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2013-04-27 02:16:43 +0200 |
commit | e86e0f2807fbadee09d9e06f11df69339cbbd94c (patch) | |
tree | e50dcc322152cd72be193240f118ea8b5506f155 /tcg/arm/tcg-target.h | |
parent | 2df3f1ee68269d40f5dcb5e8d9aba0869e150896 (diff) |
tcg-arm: Improve constant generation
Try fully rotated arguments to mov and mvn before trying movt
or full decomposition. Begin decomposition with mvn when it
looks like it'll help. Examples include
-: mov r9, #0x00000fa0
-: orr r9, r9, #0x000ee000
-: orr r9, r9, #0x0ff00000
-: orr r9, r9, #0xf0000000
+: mvn r9, #0x0000005f
+: eor r9, r9, #0x00011000
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tcg/arm/tcg-target.h')
0 files changed, 0 insertions, 0 deletions