dart-sdk/runtime
Vyacheslav Egorov 226c715542 [vm] Optimize ARM simulator by forcing inlining of hot functions.
Also move InstructionDecode hot path into InstructionDecodeImpl.

This patch improves time to run SIMARM tests by 25-35% and improves
time spent in simulator when running gen_snapshot on Flutter by a
similar amount.

Functions to force inline were selected by looking at the VTune
profile of gen_snapshot generating script snapshot of the Flutter
Gallery on Windows.

Bug: https://github.com/dart-lang/sdk/issues/31684
Change-Id: Ifbfeaae252dfafb3b86b4f1eb7ca40f42bc3a252
Reviewed-on: https://dart-review.googlesource.com/31920
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Vyacheslav Egorov <vegorov@google.com>
2018-01-02 13:29:03 +00:00
..
bin [gen_snapshot] Do not add any dependency file in the kernel flow. 2017-12-22 21:07:44 +00:00
include Use OOB messages to schedule compaction for Dart_NotifyLowMemory. 2017-12-19 22:38:34 +00:00
lib Revert "Reland: [dart:io] Adds waitForEventSync" 2017-12-14 14:10:45 +00:00
observatory [kernel] Fix vm crash when trying to break on default constructor 2017-12-20 13:02:12 +00:00
platform [VM] Replace hand-written assembly prologues with IR 2017-12-13 16:04:34 +00:00
tests/vm [VM] Enable --limit-ints-to-64-bits in Dart 2.0 precompiler, v3. 2017-12-20 18:04:42 +00:00
third_party [gn] Split target arch/os defines from dart_config 2017-10-31 17:33:13 +00:00
tools [vm] Toward deterministic builds. 2017-11-23 00:07:56 +00:00
vm [vm] Optimize ARM simulator by forcing inlining of hot functions. 2018-01-02 13:29:03 +00:00
.gitignore
BUILD.gn Reland: [GN] Adds dart_host_sdk_toolchain argument 2017-11-02 19:02:18 +00:00
codereview.settings
CPPLINT.cfg clang-formats remaining files and adds a presubmit check. 2016-11-09 12:43:57 -08:00
PRESUBMIT.py VM: Enforce correctly formatted C++ code 2016-11-30 23:52:52 +01:00
runtime_args.gni Move GN default argument to a .gni import, to avoid duplicate loads. 2017-12-12 13:50:01 +00:00