• bryleun's avatar
    S390: Fixed condition code handling on FP->INT and FP rounding in simulator. · 2fdc0ae3
    bryleun authored
    The below instructions were fixed so that the produced condition
    codes in simulator matched behaviour in native s390 CPUs:
    
    CFDBR
    CGDBR
    CGEBR
    CFEBR
    CLFDBR
    CLGDBR
    CLGEBR
    
    Also implemented the CLFEBR instruction in s390 simulator.
    
    (Copypaste of 1763663003, which was pointing at wrong branch - should be master, not lkgr)
    
    R=danno@chromium.org,jkummerow@chromium.org,jochen@chromium.org,joransiu@ca.ibm.com,michael_dawson@ca.ibm.com,mbrandy@us.ibm.com,jyan@ca.ibm.com
    
    BUG=
    
    Review URL: https://codereview.chromium.org/1773813002
    
    Cr-Commit-Position: refs/heads/master@{#34598}
    2fdc0ae3
simulator-s390.cc 170 KB