develooper Front page | perl.perl6.internals | Postings from February 2006

Re: Heureka - from the -Ofun department

Thread Previous | Thread Next
From:
Leopold Toetsch
Date:
February 8, 2006 08:15
Subject:
Re: Heureka - from the -Ofun department
Message ID:
43EA196D.8040702@toetsch.at
Leopold Toetsch wrote:

> 
>   ori r11, r31, 20    # r31 is 0
>   add r3,  r4, r11    # a 2nd oris is needed for constants > 0xffff

Well that's actually a bad example as there exists addi and addis 
instructions.

But have a look at src/jit/arm/jit_emit.h emit_load_constant() and 
follow the functions it's calling.

leo


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About