v8/tools/builtins-pgo
Igor Sheludko d0b408a84a [builtins-pgo] Make builtins profiles architecture independent
Profiles for 64/32 bits architectures are not interchangeable but
profiles collected for x64/x86 can be used for arm64/arm respectively.

Attempt to use an incompatible profile is now a fatal build error.

Note that some Float64RoundXXX instructions that are available on
arm64 are not available on x64, so we generate a bunch of code
containing branches instead. This means that we are safe to use x64
profiles for arm64 but not the other way round, otherwise we'll miss
the profile info for the subgraph that's not generated on arm64.

Bug: v8:10470
Change-Id: I6a34836866363207b5ed767e343100b406ac7990
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4055274
Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
Commit-Queue: Igor Sheludko <ishell@chromium.org>
Cr-Commit-Position: refs/heads/main@{#84564}
2022-11-30 10:27:24 +00:00
..
combine_hints.py [infra] Change all Python shebangs to Python3 2022-08-05 14:55:00 +00:00
generate.py [builtins-pgo] Make builtins profiles architecture independent 2022-11-30 10:27:24 +00:00
get_hints.py [runtime] Improve builtins PGO logging 2022-08-10 13:55:54 +00:00
x64.profile [builtins] Clear builtins PGO profiles until the next branch cut 2022-08-10 08:53:43 +00:00
x86.profile [builtins-pgo] Make builtins profiles architecture independent 2022-11-30 10:27:24 +00:00