aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/hipe/hipe_bif_list.m4
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2011-10-13 10:44:41 +0200
committerSverker Eriksson <[email protected]>2011-10-26 18:19:19 +0200
commit99e864e502217e9e8929d8dc17ff8d08eca8dff5 (patch)
tree6b27b47d0e05fee3e0b043bc539ef27bfd66f9b9 /erts/emulator/hipe/hipe_bif_list.m4
parent36573dcb143db17d9e40b0bd270f2001a9872b63 (diff)
downloadotp-99e864e502217e9e8929d8dc17ff8d08eca8dff5.tar.gz
otp-99e864e502217e9e8929d8dc17ff8d08eca8dff5.tar.bz2
otp-99e864e502217e9e8929d8dc17ff8d08eca8dff5.zip
erts-hipe: Make some primops use new BIF calling convention
These primops use the standard_bif_interface_X macros in hipe_bif_list.m4 and must therefor be implemented as bifs for things to work. Maybe there is room for optimization here to call the primops more directly with arguments in registers without having to push them on stack to emulate bif calls.
Diffstat (limited to 'erts/emulator/hipe/hipe_bif_list.m4')
-rw-r--r--erts/emulator/hipe/hipe_bif_list.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/erts/emulator/hipe/hipe_bif_list.m4 b/erts/emulator/hipe/hipe_bif_list.m4
index 083788997b..ed62bb462c 100644
--- a/erts/emulator/hipe/hipe_bif_list.m4
+++ b/erts/emulator/hipe/hipe_bif_list.m4
@@ -176,10 +176,10 @@ gc_bif_interface_0(nbif_hipe_bifs_nstack_used_size_0, hipe_bifs_nstack_used_size
/*
* Arithmetic operators called indirectly by the HiPE compiler.
*/
-standard_bif_interface_2(nbif_add_2, erts_mixed_plus)
-standard_bif_interface_2(nbif_sub_2, erts_mixed_minus)
-standard_bif_interface_2(nbif_mul_2, erts_mixed_times)
-standard_bif_interface_2(nbif_div_2, erts_mixed_div)
+standard_bif_interface_2(nbif_add_2, splus_2)
+standard_bif_interface_2(nbif_sub_2, sminus_2)
+standard_bif_interface_2(nbif_mul_2, stimes_2)
+standard_bif_interface_2(nbif_div_2, div_2)
standard_bif_interface_2(nbif_intdiv_2, intdiv_2)
standard_bif_interface_2(nbif_rem_2, rem_2)
standard_bif_interface_2(nbif_bsl_2, bsl_2)