59a60,61
> static int diffcount = 0;
>
571c573,575
< fatal("Differences found between Legion and M5\n");
---
> diffcount++;
> if (diffcount > 3)
> fatal("Differences found between Legion and M5\n");