• alan.li's avatar
    MIPS64: Fix 'Fix 'MIPS: use DAHI/DATH for li macro on mips64r6.'' · 4c57e05d
    alan.li authored
    This CL fixes the bugs caused by the following CL:
    50a394df -- MIPS64: Fix 'MIPS: use DAHI/DATH for li macro on mips64r6.'
      Port 1f5b84e4
      MIPS: use DAHI/DATH for li macro on mips64r6.
    
    LUI instruction would sign extend into higher 32bits, in that case we might need to use DAHI, DATI to overwrite the extension.
    
    The bug will occur when we are loading some addresses such as 0x00007fffffffxxxx.
    
    BUG=
    TEST=test-run-native-calls/Run_Int32_Select_*, test-run-native-calls/Run_Int32_WeightedSum_*, test-run-native-calls/Run_Int32_WeightedSum_*, test-run-native-calls/Run_Int32_Select_*
    
    Review URL: https://codereview.chromium.org/1763733002
    
    Cr-Commit-Position: refs/heads/master@{#34467}
    4c57e05d
macro-assembler-mips64.cc 206 KB