I am currently working on MIMD emulation on SIMD machines. The problem of
instruction set choice is of particular interest to me. In my attempt to
evaluate different instruction sets I'll have to have a set of compilers
to compile simple benchmarking programs to the target instruction sets.
Typical instruction sets have anywhere from seven to twenty instructions.

I am looking for a compiler compiler suitable for this experiment. It
should be relatively easy to modify for different back-ends. Compilation
time is of no importance, however, fairly sophisticated optimization is.
Is anybody aware of any such public domain program?