Hi Phil,

Nice post. Minor factual errors:

- its not called 'dataflow IR', but 'high level IR'
- 'machine IR' is what you get after register allocation. High level
IR is converted to low level IR, then optimized, then register
allocation runs, the control flow graph is flattened and it becomes
machine IR.
- D and R are not register designators, they're just objects that
represent stack locations. Although now that I think about it, it's ok
to think of 'D n' as an alias for [R14-n*4].

You'll notice that at this stage, you can't use INSN: and CODEGEN: in
your own vocabularies yet. Making this mechanism extensible is
something I plan on doing at some point. However, CAS instructions
could be added to the compiler proper in any case.

Slava

On Wed, Oct 7, 2009 at 1:22 PM, Phil Dawes <[email protected]> wrote:
> Hi All,
>
> I've added a small patch to the disassembler to allow it to handle
> anonymous quots:
>
> http://github.com/phildawes/factor/commits/disassemble-quot
>
> e.g.
>
> ( scratchpad ) [ 5 fixnum+fast ] disassemble
> 00007feac680f2e0: 498b06    mov rax, [r14]
> 00007feac680f2e3: 4883c028  add rax, 0x28
> 00007feac680f2e7: 498906    mov [r14], rax
> 00007feac680f2ea: c3        ret
>
> I also wrote a blog post about compiler intrinsics:
>
> http://phildawes.net/blog/2009/10/07/factor-compiler-intrinsics/
>
> (N.B. There's likely to be a bunch of factual errors so if you spot one
> I'd appreciate a comment)
>
> Cheers,
>
> Phil
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Factor-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to