diff options
| author | 2024-01-05 16:30:56 +0000 | |
|---|---|---|
| committer | 2024-05-30 09:14:47 +0000 | |
| commit | e20f31bbe831cd6c450220a283f8559fb2f001f2 (patch) | |
| tree | 1fea1c40886324d117beb098c93d3e865c998de1 /compiler/optimizing/stack_map_test.cc | |
| parent | 6f3c87c7ca38f32652bb32580b0fec107fc2fbfb (diff) | |
[Arm64] Fix ABI incompliance in nterp.
This patch adds a zero extension in two places in nterp where
nterp_get_instance_field_offset is called (returns uint32_t);
the return value is used afterwards via wider X0 register.
AARCH64 AAPCS specifies that "... any unused bits in the
register have unspecified value" (see 6.8.2, 6.9) thus we need
the extension.
Author: Artem Serov <artem.serov@arm.com>
Test: test.py --target --64
Change-Id: Ibb79435b4dfb91bb1475a8588b7492e3a5ee648a
Diffstat (limited to 'compiler/optimizing/stack_map_test.cc')
0 files changed, 0 insertions, 0 deletions