Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • Q qemu
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • Xing Lin
  • qemu
  • Repository
Switch branch/tag
  • qemu
  • target-mips
  • translate.c
Find file BlameHistoryPermalink
  • Nathan Froyd's avatar
    target-mips: fix conditional moves off fp condition codes · fa31af0e
    Nathan Froyd authored Aug 25, 2009
    
    
    Conditional moves off fp condition codes were using the result of
    get_fp_bit to isolate and test the relevant condition code.  However,
    get_fp_bit returns the bit number of the condition code, not a
    bitmask.  (Compare the use of get_fp_bit in gen_compute_branch1, for
    instance.)
    
    Fixed by shifting a bitmask into place using the result of get_fp_bit in
    the relevant functions (gen_mov{ci,cf_s,cf_d,cf_ps}).
    
    Signed-off-by: default avatarNathan Froyd <froydnj@codesourcery.com>
    Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
    fa31af0e