Przeglądaj źródła

Merge branch 'master' of github.com:taddeus/peephole

Jayke Meijer 14 lat temu
rodzic
commit
9c4e30ea48
2 zmienionych plików z 7 dodań i 0 usunięć
  1. 2 0
      .gitignore
  2. 5 0
      compile

+ 2 - 0
.gitignore

@@ -2,3 +2,5 @@
 *.pdf
 *.pyc
 *~
+*.o
+*.s

+ 5 - 0
compile

@@ -0,0 +1,5 @@
+#!/bin/sh
+xgcc -S $1.c
+xgcc -o $1.o $1.s
+sim-outorder $1.o 2>&1 | egrep -o ^sim_cycle[[:space:]]+[[:digit:]]+ \
+    | egrep -o [[:digit:]]+$