commit | 8e39d8284111e8d274853c7bd13a44d979867564 | [log] [tgz] |
---|---|---|
author | szt <j123123@users.noreply.github.com> | Sat Apr 15 04:50:06 2017 +0300 |
committer | Nguyen Anh Quynh <aquynh@gmail.com> | Sat Apr 15 09:50:06 2017 +0800 |
tree | 22c319ad42666f16c0f1190f65fcba645139b17a | |
parent | e3ff166781f9e8548fb4549b288140476bbdbe80 [diff] |
replace if-s in AArch64_AM_decodeAdvSIMDModImmType10 with lookup table (#552) * replace if-s in AArch64_AM_decodeAdvSIMDModImmType10 with lookup table Lookup table is much faster than bunch of if-s. If you don't like lookup tables, I have another proposal. See http://goo.gl/RjW1lr and compare generated machine code * Smaller lookup table and shifting and bit mask used * Update AArch64AddressingModes.h