From 7bd624acc9a4b1c3e8b362e3eb586e4a66b28a5d Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 22 Jan 2015 04:41:03 +0100 Subject: ortho_code-x86-abi: display intrinsic names. --- src/ortho/mcode/ortho_code-x86-abi.adb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'src') diff --git a/src/ortho/mcode/ortho_code-x86-abi.adb b/src/ortho/mcode/ortho_code-x86-abi.adb index 7903c9650..81e3b2099 100644 --- a/src/ortho/mcode/ortho_code-x86-abi.adb +++ b/src/ortho/mcode/ortho_code-x86-abi.adb @@ -471,6 +471,25 @@ package body Ortho_Code.X86.Abi is New_Line; when OE_Intrinsic => Disp_Reg_Op_Name ("intrinsic"); + Put (" "); + case Get_Intrinsic_Operation (Stmt) is + when Intrinsic_Mul_Ov_U64 => + Put ("mul_ov_U64"); + when Intrinsic_Div_Ov_U64 => + Put ("div_ov_U64"); + when Intrinsic_Mod_Ov_U64 => + Put ("mod_ov_U64"); + when Intrinsic_Mul_Ov_I64 => + Put ("mul_ov_I64"); + when Intrinsic_Div_Ov_I64 => + Put ("div_ov_I64"); + when Intrinsic_Mod_Ov_I64 => + Put ("mod_ov_I64"); + when Intrinsic_Rem_Ov_I64 => + Put ("rem_ov_I64"); + when others => + Put ("??"); + end case; --Disp_Decl_Name (Get_Call_Subprg (Stmt)); New_Line; when OE_Conv => -- cgit v1.2.3