Inst-level sim bug fix & div instruction decoder bugfix