Skip to content

marczych/evil-sparc-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To compile the compiler: 'make'

To compile an input program: 'java Evil file.ev'
Note: file.il is the outputted iloc file and file.s is the outputted assembly file

To make an executable: 'gcc -mcpu=v9 file.s -o file'
Note: must be on a Sparc machine

To run executable: './file'

Note: To get a symbol file from a c file, run `gcc file.c -S`


To run benchmarks:

./makeTests.sh - makes the program and runs `java Evil ....ev` on each benchmark (run on vogon/unix or sparc)
./runTests.sh - `gcc -mcpu=v9 ....s` on each benchmark, runs the executable and diffs the output (run on sparc)
./runMultiTests.sh - same as runTests.sh except it is multi-threaded


Created by: Ben Hirsch and Marc Zych

Optimizations performed in 2012 by Christopher Hoover and Marc Zych

About

A compiler for the EVIL language for the Sparc architecture

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published