Skip to content

Commit

Permalink
Switch the Power minimumALS to use OMRProcessorArchitecture
Browse files Browse the repository at this point in the history
For future use, the Power codegen's instruction properties table
contains a field called minimumALS that describes the first processor
architecture which introduced a given instruction. Previously, this used
the TR_Processor enum, which has since been deprecated in favour of
using the OMRProcessorArchitecture enum from the port library. To keep
this field consistent, it has also been changed to use
OMRProcessorArchitecture.

Signed-off-by: Benjamin Thomas <ben@benthomas.ca>
  • Loading branch information
aviansie-ben committed Aug 29, 2020
1 parent 898fe77 commit 958b49d
Show file tree
Hide file tree
Showing 2 changed files with 1,086 additions and 1,085 deletions.
3 changes: 2 additions & 1 deletion compiler/p/codegen/OMRInstOpCode.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ namespace OMR { typedef OMR::Power::InstOpCode InstOpCodeConnector; }

#include "codegen/PPCOpsDefines.hpp"
#include "env/Processors.hpp"
#include "omrport.h"

namespace OMR
{
Expand Down Expand Up @@ -88,7 +89,7 @@ class InstOpCode: public OMR::InstOpCode
/** \brief
* The minimum architecture level set (ALS) which introduced this instruction.
*/
TR_Processor minimumALS;
OMRProcessorArchitecture minimumALS;

/** \brief
* The properties describing the behavior of this instruction to the codegen.
Expand Down
Loading

0 comments on commit 958b49d

Please sign in to comment.