diff options
author | Vladimir Marko <vmarko@google.com> | 2016-07-20 17:52:51 +0100 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2016-07-20 18:19:45 +0100 |
commit | 5733e98d4889b7a94e4e647fa4033239038e07e8 (patch) | |
tree | 6e7790cc1c4030fe9d7526097b9847fa6fcd91b7 /compiler/optimizing/graph_visualizer.cc | |
parent | 360b4b0137ce5f0bb771e2ddbfd4735cae932565 (diff) |
ARM64: Fix mterp switch table pointer calculation.
Do not mix 32-bit and 64-bit registers with
add x0, xPC, w0, lsl #1
that ends up compiled as
add x0, xPC, w0, uxtx #1
instead of the required sxtx. Just sing-extend the offset
correctly in previous instructions.
Test: Additional test in 501-regression-packed-switch.
Change-Id: I9867dc1180743e98f9707a312241d2f5b726ca8c
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions