Skip to content

Commit

Permalink
Merge pull request #4893 from wbh123456/fma_aarch64
Browse files Browse the repository at this point in the history
Support FMA operations on aarch64
  • Loading branch information
0xdaryl authored Apr 17, 2020
2 parents b4e4166 + 945cc7a commit eb6b5c5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compiler/aarch64/codegen/ARM64Debug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,8 @@ static const char *opCodeToNameMap[] =
"umsubl",
"smulh",
"umulh",
"fmaddd",
"fmadds",
"crc32x",
"crc32cx",
"crc32b",
Expand Down
2 changes: 2 additions & 0 deletions compiler/aarch64/codegen/OMRInstOpCodeEnum.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,8 @@
umsubl, /* 0x9BA08000 UMSUBL */
smulh, /* 0x9B400000 SMULH */
umulh, /* 0x9BC00000 UMULH */
fmaddd, /* 0X1F000000 FMADD */
fmadds, /* 0X1F400000 FMADD */
/* Data-processing (2 source) */
crc32x, /* 0x9AC04C00 CRC32X */
crc32cx, /* 0x9AC05C00 CRC32CX */
Expand Down
2 changes: 2 additions & 0 deletions compiler/aarch64/codegen/OpBinary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,8 @@ const OMR::ARM64::InstOpCode::OpCodeBinaryEntry OMR::ARM64::InstOpCode::binaryEn
0x9BA08000, /* UMSUBL umsubl */
0x9B400000, /* SMULH smulh */
0x9BC00000, /* UMULH umulh */
0X1F400000, /* FMADD fmaddd */
0X1F000000, /* FMADD fmadds */
/* Data-processing (2 source) */
0x9AC04C00, /* CRC32X crc32x */
0x9AC05C00, /* CRC32CX crc32cx */
Expand Down

0 comments on commit eb6b5c5

Please sign in to comment.