forked from OSchip/llvm-project
[flang] Add an entry to the intrinsics table for dimag.
Also, document extensions dconjg and dimag. Original-commit: flang-compiler/f18@21535280ee Reviewed-on: https://github.com/flang-compiler/f18/pull/654
This commit is contained in:
parent
3d09841326
commit
465393f40f
|
@ -94,6 +94,7 @@ Extensions, deletions, and legacy features supported by default
|
||||||
we allow distinct types to be used, promoting
|
we allow distinct types to be used, promoting
|
||||||
the arguments as if they were operands to an intrinsic `+` operator,
|
the arguments as if they were operands to an intrinsic `+` operator,
|
||||||
and defining the result type accordingly.
|
and defining the result type accordingly.
|
||||||
|
* DOUBLE COMPLEX intrinsics DCONJG and DIMAG.
|
||||||
|
|
||||||
Extensions supported when enabled by options
|
Extensions supported when enabled by options
|
||||||
--------------------------------------------
|
--------------------------------------------
|
||||||
|
|
|
@ -778,6 +778,8 @@ static const SpecificIntrinsicInterface specificIntrinsicFunction[]{
|
||||||
{{"ddim", {{"x", DoublePrecision}, {"y", DoublePrecision}},
|
{{"ddim", {{"x", DoublePrecision}, {"y", DoublePrecision}},
|
||||||
DoublePrecision},
|
DoublePrecision},
|
||||||
"dim"},
|
"dim"},
|
||||||
|
{{"dimag", {{"a", DoublePrecisionComplex}}, DoublePrecision},
|
||||||
|
"aimag"},
|
||||||
{{"dexp", {{"x", DoublePrecision}}, DoublePrecision}, "exp"},
|
{{"dexp", {{"x", DoublePrecision}}, DoublePrecision}, "exp"},
|
||||||
{{"dim", {{"x", DefaultReal}, {"y", DefaultReal}}, DefaultReal}},
|
{{"dim", {{"x", DefaultReal}, {"y", DefaultReal}}, DefaultReal}},
|
||||||
{{"dint", {{"a", DoublePrecision}}, DoublePrecision}, "aint"},
|
{{"dint", {{"a", DoublePrecision}}, DoublePrecision}, "aint"},
|
||||||
|
|
Loading…
Reference in New Issue