Skip to content

Commit

Permalink
Add option to enable vector API
Browse files Browse the repository at this point in the history
Signed-off-by: Bradley Wood <bradley.wood@ibm.com>
  • Loading branch information
BradleyWood committed Jun 12, 2024
1 parent 3a218f2 commit 0d01543
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions compiler/control/OMROptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -789,6 +789,8 @@ TR::OptionTable OMR::Options::_jitOptions[] = {
SET_OPTION_BIT(TR_EnableJitSamplingUpgradesDuringHWProfiling), "F", NOT_IN_SUBSET},
{"enableUpgradingAllColdCompilations", "O\ttry to upgrade to warm all cold compilations", SET_OPTION_BIT(TR_EnableUpgradingAllColdCompilations), "F"},
{"enableValueTracing", "O\tenable runtime value tracing (experimental)", SET_OPTION_BIT(TR_EnableValueTracing), "F"},
{"enableVectorAPIExpansion", "M\tenable expansion of Vector API, disableVectorAPIExpansion option takes precedence", SET_OPTION_BIT(TR_EnableVectorAPIExpansion), "F"},

{"enableVirtualPersistentMemory", "M\tenable persistent memory to be allocated using virtual memory allocators",
SET_OPTION_BIT(TR_EnableVirtualPersistentMemory), "F", NOT_IN_SUBSET},
{"enableVpicForResolvedVirtualCalls", "O\tenable PIC for resolved virtual calls", SET_OPTION_BIT(TR_EnableVPICForResolvedVirtualCalls), "F"},
Expand Down
2 changes: 1 addition & 1 deletion compiler/control/OMROptions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ enum TR_CompilationOptions
TR_DisableNoServerDuringStartup = 0x04000000 + 9, // set TR_NoOptServer during startup and insert GCR trees
TR_BreakOnNew = 0x08000000 + 9,
TR_DisableInliningUnrecognizedIntrinsics = 0x10000000 + 9,
// Available = 0x20000000 + 9,
TR_EnableVectorAPIExpansion = 0x20000000 + 9,
// Available = 0x40000000 + 9,
// Available = 0x80000000 + 9,

Expand Down

0 comments on commit 0d01543

Please sign in to comment.