surprising result with hipe compilation

Ulf Wiger (AL/EAB) ulf.wiger@REDACTED
Wed Oct 22 16:26:08 CEST 2003


Yes, of course.

I am fixing some unrelated bugs and hope to be able to reproduce
the problem once I'm done. Then I'll send you the code.

/Uffe

-----Original Message-----
From: Mikael Pettersson [mailto:mikpe@REDACTED]
Sent: den 22 oktober 2003 11:37
To: Ulf Wiger (AL/EAB)
Cc: 'erlang-questions@REDACTED'
Subject: RE: surprising result with hipe compilation


Ulf Wiger (AL/EAB) writes:
 > 
 > Ulf Wiger (AL/EAB) wrote:
 > 
 > > 52> c(contract_parser1,[native]).
 > > {ok,contract_parser1}
 > > 53> timer:tc(contract_parser1,read_and_parse,["file_plugin.con"]).
 > > {75,
 > >  {'EXIT',{undef,[{contract_parser1,read_and_parse,["file_plugin.con"]},
 > >                  {timer,tc,3},
 > >                  {erl_eval,expr,3},
 > >                  {erl_eval,exprs,4},
 > >                  {shell,eval_loop,2}]}}}
 > > 
 > > 
 > > Oops again! This looks like a bug, or am I missing something?
 > 
 > I was missing something: the 'export_all' option.  :(
 > It didn't help much, though. If anything, It got even slower with
 > both modules native. Something in this code does not seem to 
 > get along with hipe.

A self-contained test case would be required if we are to
track this down.

/Mikael



More information about the erlang-questions mailing list