This makes it possible to use TRAP to make Linux system calls using inline assembly for instance.
This does not validate that the 4 and 3 bit immediates taken by TRAP and BKPT are in range. But it seems the backend isn't validating the range of immediates in general.
is this used anywhere?