develooper Front page | perl.perl5.porters | Postings from November 2000

Re: pp_add -> pp_i_add efficiency hack?

Thread Previous | Thread Next
Nicholas Clark
November 12, 2000 12:09
Re: pp_add -> pp_i_add efficiency hack?
Message ID:
On Sat, Nov 11, 2000 at 07:13:06PM -0600, Jarkko Hietaniemi wrote:
> Here's a patch for some of my latest attempts.  Seems to only fool
> with pp_add and pp_multiply, and not necessarily a fully functional
> one, so caveat patchor.

$ ./perl -e 'die "Fooey"'
Fooey at -e line 1.
$ ./perl -e 'eval {die "Fooey"}'
<unending garbage output on fd 2. No idea if it's from stderr or direct
write()s to 2.>
Sometimes it's neverending zero bytes. Sometimes it seems to be object files
starting with the original die message.
(nice. echo ^O to get your xterm back to ASCII characters).
I've no idea where eval is in the source code, so don't know how to proceed

(first failure is comp/require.t)

I'd like this to work, as StrongARMs are integer only, with all FP as
emulation, so I hope the slowdown might be negative round here.

Summary of my perl5 (revision 5.0 version 7 subversion 0) configuration:
    osname=linux, osvers=2.2.17-rmk1, archname=armv4l-linux
    uname='linux 2.2.17-rmk1 #5 mon sep 18 19:03:46 bst 2000 armv4l unknown '
    config_args='-Dusedevel -Ubincompat5005 -Uinstallusrbinperl -Dinc_version_list=  -Dinc_version_list_init=0 -Dcc=/usr/local/bin/gcc -de'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    cc='/usr/local/bin/gcc', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    cppflags='-fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='2.95.2 20000516 (release) []', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='/usr/local/bin/gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lndbm -ldb -ldl -lm -lc -lposix -lcrypt -lutil
    perllibs=-lnsl -ldl -lm -lc -lposix -lcrypt -lutil
    libc=/lib/, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Characteristics of this binary (from libperl): 
  Compile-time options: USE_LARGE_FILES
  Locally applied patches:
  Built under linux
  Compiled at Nov 12 2000 15:09:32

Nicholas Clark

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About