commit | 5733e98d4889b7a94e4e647fa4033239038e07e8 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Wed Jul 20 17:52:51 2016 +0100 |
committer | Vladimir Marko <vmarko@google.com> | Wed Jul 20 18:19:45 2016 +0100 |
tree | 6e7790cc1c4030fe9d7526097b9847fa6fcd91b7 | |
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