Ham Compiler Progress - PowerPoint PPT Presentation

1 / 7
About This Presentation
Title:

Ham Compiler Progress

Description:

4th February 2006. Ham Compiler Progress. Robert Pointon. Hume Meeting. Heriot-Watt. 4th February 2006. 4th February 2006. Hume Tools. phamc: hume to ham (Haskell ... – PowerPoint PPT presentation

Number of Views:25
Avg rating:3.0/5.0
Slides: 8
Provided by: robertp69
Category:

less

Transcript and Presenter's Notes

Title: Ham Compiler Progress


1
Ham Compiler Progress
  • Robert Pointon
  • Hume Meeting
  • Heriot-Watt

2
(No Transcript)
3
Hume Tools
  • phamc hume to ham (Haskell program).
  • ham2c ham compiler (C program).
  • Naïve macro expansion
  • Config files to specify architecture.
  • Runtime system for ham.
  • Compiled for a specific architecture.
  • humec pulls everything together.
  • humec pump.hume
  • ? Executable pump.

4
hamc progress
  • Expansion of opcodes. 90
  • Generate wiring consume/checking.
  • Generate I/O interfacing. 90
  • Generate basic scheduling code.
  • Make easy to use with the Renesas tools, i.e.
    Windows executable.

5
Todo - short term
  • Complete Renesas version.
  • Gather some initial results comparing hamc, hami,
    and the hume interpreter.
  • What to use as benchmark programs?
  • Profile hamc implementation.
  • Write a report/paper?

6
Todo - long term
  • Boxes
  • Phamc to provide type info for ham opcodes.
  • Specialization of code.
  • Wires
  • Reuse of wire values/heaps.
  • Foreign Language Interface.
  • Scheduling improvements.
  • Alternatives to naïve opcode expansion.
  • Using more info from various analyses.

7
Some Quick Results
Times dumb (10m) 3 box fib (100k)
hume int ?1800s 80s
ehami 35s 7s
ham2c 2s 0.8s
Sizes pump (linux) simon (m32c)
ehami 65Kb 12Kb
ham2c 44Kb 5Kb
Write a Comment
User Comments (0)
About PowerShow.com