summaryrefslogtreecommitdiff
path: root/compiler/utils/jni_macro_assembler.h
diff options
context:
space:
mode:
author Ulya Trafimovich <skvadrik@google.com> 2023-02-22 14:53:45 +0000
committer Ulya Trofimovich <skvadrik@google.com> 2023-03-08 14:16:05 +0000
commitcafe98ec95566429ceff9f33e6dd91c17c84168c (patch)
tree4b93e97d572448e732c13dc5fb6ba21fbeee2e32 /compiler/utils/jni_macro_assembler.h
parenta18f534adf549ce057297b88f6125639203bd769 (diff)
riscv64: Rewrite invoke stub routines.
Rewrite `art_quick_(static_)invoke_stub` to follow the implementation in https://r.android.com/2458431. Instead of computing the address of the next register-loading subroutine by adding a fixed offset to the address of the previous subroutine, pass the address to the next subroutine explicitly. Deduplicate the two stubs (static and instance) which differ only in the `this` argument passed to the instance methods. Test: run ART test 001-HelloWorld on a Linux RISC-V VM: lunch aosp_riscv64-userdebug export ART_TEST_SSH_USER=ubuntu export ART_TEST_SSH_HOST=localhost export ART_TEST_SSH_PORT=10001 export ART_TEST_ON_VM=true . art/tools/buildbot-utils.sh art/tools/buildbot-build.sh --target # Create, boot and configure the VM. art/tools/buildbot-vm.sh create art/tools/buildbot-vm.sh boot art/tools/buildbot-vm.sh setup-ssh # password: 'ubuntu' art/tools/buildbot-cleanup-device.sh art/tools/buildbot-setup-device.sh art/tools/buildbot-sync.sh art/test.py --target -r --no-prebuild --ndebug --no-image \ --64 --interpreter 001-HelloWorld Bug: b/271573990 Change-Id: I2cd5d61192167419e5cf40671a22ac1461037aaf
Diffstat (limited to 'compiler/utils/jni_macro_assembler.h')
0 files changed, 0 insertions, 0 deletions