OSDN Git Service

Clean up register+immediate addresses in ARM.
authorKarl Schimpf <kschimpf@google.com>
Mon, 25 Jan 2016 23:58:55 +0000 (15:58 -0800)
committerKarl Schimpf <kschimpf@google.com>
Mon, 25 Jan 2016 23:58:55 +0000 (15:58 -0800)
commit18273c0f6878b1b88fa4fffdae5c14f36631c511
tree8224b05e6ed75f9f8f947857d8a0a15425f6f340
parent237afed5e3bfc5e2ab52e85101afa70cc7777c7b
Clean up register+immediate addresses in ARM.

Cleans up the integrated ARM assembler, and its handling of register
memory addresses that can be modified by an immediate value. Handles
each possible encoding of such memory addresses.

Also adds assertions to check that the immediate value has the proper
range for the immediate value, based on the corresponding encoding.

BUG=None
R=stichnot@chromium.org

Review URL: https://codereview.chromium.org/1630863002 .
src/IceAssemblerARM32.cpp