aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test/beam_validator_SUITE_data/freg_uninit.S
blob: f8d805d9ecb500ae9c4d6f6d6e6c3e20b50cd389 (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
{module, freg_uninit}.  %% version = 0

{exports, []}.

{attributes, []}.

{labels, 8}.


{function, sum_1, 2, 2}.
  {label,1}.
    {func_info,{atom,t},{atom,sum_1},2}.
  {label,2}.
    {fconv,{x,0},{fr,0}}.
    fclearerror.
    {bif,fadd,{f,0},[{fr,0},{fr,1}],{fr,0}}.
    {'%live',1}.
    return.


{function, sum_2, 2, 4}.
  {label,3}.
    {func_info,{atom,t},{atom,sum_2},2}.
  {label,4}.
    {fconv,{x,0},{fr,0}}.
    {fconv,{x,1},{fr,1}}.
    fclearerror.
    {fcheckerror,{f,0}}.
    {call,2,{f,8}}.
    {bif,fadd,{f,0},[{fr,0},{fr,1}],{fr,0}}.
    {'%live',1}.
    return.