aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/hipe/hipe_bif0.tab
blob: 99237aae05854fd72338d4af6678e9a8af44a48c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
#
# %CopyrightBegin%
#
# Copyright Ericsson AB 2001-2016. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# %CopyrightEnd%
#
#
# HiPE level 0 bifs: compiler and linker support
#
# bif hipe_bifs:name/arity

#bif hipe_bifs:read_u8/1
#bif hipe_bifs:read_u32/1
bif hipe_bifs:write_u8/2
#bif hipe_bifs:write_s32/2
bif hipe_bifs:write_u32/2
# bif hipe_bifs:write_s64/2
# bif hipe_bifs:write_u64/2

bif hipe_bifs:bytearray/2
bif hipe_bifs:bytearray_sub/2
bif hipe_bifs:bytearray_update/3
bif hipe_bifs:bitarray/2
bif hipe_bifs:bitarray_sub/2
bif hipe_bifs:bitarray_update/3
bif hipe_bifs:array/2
bif hipe_bifs:array_length/1
bif hipe_bifs:array_sub/2
bif hipe_bifs:array_update/3
bif hipe_bifs:ref/1
bif hipe_bifs:ref_get/1
bif hipe_bifs:ref_set/2

bif hipe_bifs:enter_code/2
bif hipe_bifs:alloc_data/2
bif hipe_bifs:constants_size/0
bif hipe_bifs:merge_term/1

bif hipe_bifs:fun_to_address/1
bif hipe_bifs:set_native_address/3
#bif hipe_bifs:address_to_fun/1

bif hipe_bifs:set_funinfo_native_address/3
bif hipe_bifs:invalidate_funinfo_native_addresses/1

bif hipe_bifs:update_code_size/3
bif hipe_bifs:code_size/1

bif hipe_bifs:enter_sdesc/1

bif hipe_bifs:bif_address/3
bif hipe_bifs:primop_address/1
#bif hipe_bifs:gbif_address/2

bif hipe_bifs:atom_to_word/1
bif hipe_bifs:term_to_word/1

#bif hipe_bifs:make_fun/3
bif hipe_bifs:get_fe/2
bif hipe_bifs:set_native_address_in_fe/2

bif hipe_bifs:find_na_or_make_stub/2

bif hipe_bifs:check_crc/1
bif hipe_bifs:system_crc/0
bif hipe_bifs:get_rts_param/1

#bif hipe_bifs:tuple_to_float/1

bif hipe_bifs:patch_insn/3
bif hipe_bifs:patch_call/3

bif hipe_bifs:add_ref/2
bif hipe_bifs:mark_referred_from/1
bif hipe_bifs:remove_refs_from/1
bif hipe_bifs:redirect_referred_from/1

# atoms used by add_ref/2
atom call
atom load_mfa
atom local
atom remote

# atoms used by hipe_bifs:patch_insn/3
atom atom
atom c_const
atom call
atom closure
atom constant
atom load_mfa
atom x86_abs_pcrel

# atom used by hipe_patch_address()
atom load_fe

atom suspend_msg
atom suspend_msg_timeout
atom suspend_0
atom gc_1
atom hipe_apply
atom rethrow
atom find_na_or_make_stub
atom nonclosure_address
atom atomic_inc
atom clear_timeout
atom check_get_msg
atom select_msg
atom set_timeout
atom cmp_2
atom op_exact_eqeq_2
atom conv_big_to_float
atom fclearerror_error
atom bs_put_big_integer
atom bs_put_small_float
atom bs_put_bits
atom bs_allocate
atom bs_get_integer_2
atom bs_get_float_2
atom bs_get_binary_2
atom bs_reallocate
atom bs_utf8_size
atom bs_put_utf8
atom bs_get_utf8
atom bs_utf16_size
atom bs_put_utf16be
atom bs_put_utf16le
atom bs_get_utf16
atom bs_validate_unicode
atom bs_validate_unicode_retract
atom emulate_fpe
atom emasculate_binary
atom is_divisible