[interp] Add a new super instructions pass (mono/mono#17489)
authorVlad Brezae <brezaevlad@gmail.com>
Wed, 23 Oct 2019 08:57:07 +0000 (11:57 +0300)
committerGitHub <noreply@github.com>
Wed, 23 Oct 2019 08:57:07 +0000 (11:57 +0300)
commitfb452c9e660868695e0c83e335d22557731983cb
tree533ebfe9974b9ca36917a93ad4993f80b3912461
parent1883e55ebb8d11a84ad1934f0c375e722ec4c130
[interp] Add a new super instructions pass (mono/mono#17489)

Together with a few very simple super instructions. We replace common instruction patterns to avoid indirection via interp stack, instruction dispatch overhead and to allow the compiler to generate better code for the instruction.

Commit migrated from https://github.com/mono/mono/commit/479d2dff365a688cc0045b3c76aa7aba79d4784e
src/mono/mono/mini/interp/interp-internals.h
src/mono/mono/mini/interp/interp.c
src/mono/mono/mini/interp/mintops.def
src/mono/mono/mini/interp/mintops.h
src/mono/mono/mini/interp/transform.c