[RFC] Rename `FixedLenDecoderEmitter.cpp` as `DecoderEmitter.cpp`

Hi,

@mshockwave has developed an elegant encoding infrastructure that benefits to those ISAs with variable length instructions, such as M68k. Now, we need a decoder that works on this infrastructure.

Here, I’ve developed a new decoder emitter for this infrastructure based on FixedLenDecoderEmitter.

The reason I developed on top of FixedLenDecoderEmitter instead of developing a new one is that the algorithm in FixedLenDecoderEmitter is so powerful and flexible. We only need a little modification to adopt our new encoding infrastructure.

I propose renaming FixedLenDecoderEmitter as DecoderEmitter, given that the FixedLenDecoderEmitter is able to emit variable length instruction decoder.

This seems logical :slight_smile:

1 Like