Skip to content
  • Yaowu Xu's avatar
    Replace divide with look-up · eda17976
    Yaowu Xu authored
    This commit replaces an integer divide with a table-lookup. It is
    to improve decoding speed, and at the same time, to reduce possible
    complications with a bug in AMD Family 12h processors:
    
    "665 Integer Divide Instruction May Cause Unpredictable Behavior"
    
    Change-Id: I678b707a538798a923850bac467e66e847e6def7
    eda17976