-
Notifications
You must be signed in to change notification settings - Fork 10
/
TODO
executable file
·82 lines (51 loc) · 2.12 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
8) reorganize for multiple-isa support
move MIPSInstruction.cpp to libmint
create libos for all the system calls that mint simulates
_______________________________________________________________________
# REMOVE OLD/useless code
#!/bin/bash
for file in *
do
echo "cleaning $file"
unifdef -USESCAPI_NATIVE_IRIX -USESC_LOCKPROFILE -UWINDOW_USE_HIST -USESC_SEED -USESC_SEED_OVERFLOW -USESC_CHERRY -UXACTION -USESC_INORDER_ENERGY -USESC_INORDER_SWITCH -UTS_PARANOID -UTS_RISKLOADPROF -USESC_PASS_ENVIRONMENT -UOLDMARKS -USESC_SEED_STALL_LOADS -ULOCAL_WRITE -UWRITE_REVISE -UOOO_PAPER_STATS -UVERBOSE -UVERBOSE2 -UAIX -UFOLLOW_MISPRO_ADVICE -UMIPS2_FNATIVE -UMSHR_BWSTATS -UTRANS_STALL -UVMEM_CVBASE_IN_ADDR -UVMEM_PRED_FORWARD $file >temp
mv temp $file
done
_______________________________________________________________________
swifthWidth on power (renamed)
________________________________________________________________________
7) Subdurectory in lib directory
creation of .depends: SIGNATURE is something like lib*.* and path to
files should be something like lib*/*. e.g. libpower/cacti
________________________________________________________________________
All the includes should be placed in alphabetical order.
_______________________________________________________________________
5) Platform selection
Remove the Makefile.defs.ARCH
Use configure options to select the following parameters:
# LINUX
# LENDIAN (little endian)
# Linux
DEFS +=-DLINUX -DLENDIAN -DPOSIX_MEMALIGN
# Darwin
DEFS +=-DDARWIN
CXX =g++
CC =gcc
LOPTS
COPTS
ARFLAGS :=cr
SHELL =/bin/sh
AS =as
LD =ld
AR =ar
M4 =m4
MAKE =make
RANLIB =ranlib
FIND =find
_______________________________________________________________________
Fussion Instruction.h and icode.h, it should represent a sesc
internal instruction independent of the encoding (MIPS, PPC).
libmint and libtrace can have their internal representation.
Lazy Instruction translation?
If we have a cache, it will not be necessary to translate everything
at the beginning. This is useful if we want to have something like
pearPC. Otherwise, it will be impossible to have binary load.