This is the mail archive of the cgen@sources.redhat.com mailing list for the CGEN project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

debugging help?


the cgen code doesn't seem to issue very useful error messages.

Any suggestions on how to track down this problem?


cgen -s /export/home/lehotsky/basel/sim/tpc/../../cgen/cgen-sim.scm -s /export/home/lehotsky/basel/sim/tpc/../../cgen -v -f with-profile=fn -m tpc -a tpc -i all -C tmp-cpu.h1 -U tmp-cpu.c1 -M tmp-mod.c1 -S tmp-sem.c1 -T tmp-dec.h1 -D tmp-dec.c1 -S tmp-sem.c1 
Setting option `with-profile' to "fn".
Loading cpu file /export/home/lehotsky/basel/sim/tpc/../../cgen/tpc.cpu ...
Including file simplify.inc ...
Processing cpu file /export/home/lehotsky/basel/sim/tpc/../../cgen/tpc.cpu ...
Generating tpcbf cpu.h ...
Analyzing instruction set ...
Done analysis.
Computing sformat argument buffers ...
ERROR: bad bitsize argument to gen-ifetch 4
No backtrace available.
make[1]: *** [cgen-cpu-decode] Error 1

======

I looked at the theory that maybe one of my instruction
defines didn't describe a "32 bit" instruction.  But every one of
them lays out the full 32 bits of each fixed-length instruction.

-- Al


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]