• michael_dawson's avatar
    PPC: [turbofan] Add backend support for float32 operations. · 2dd659f8
    michael_dawson authored
    Port 8dad78cd
    
    Original commit message:
    This adds the basics necessary to support float32 operations in TurboFan.
    The actual functionality required to detect safe float32 operations will
    be added based on this later. Therefore this does not affect production
    code except for some cleanup/refactoring.
    
    In detail, this patchset contains the following features:
    - Add support for float32 operations to arm, arm64, ia32 and x64
      backends.
    - Add float32 machine operators.
    - Add support for float32 constants to simplified lowering.
    - Handle float32 representation for phis in simplified lowering.
    
    In addition, contains the following (related) cleanups:
    - Fix/unify naming of backend instructions.
    - Use AVX comparisons when available.
    - Extend ArchOpcodeField to 9 bits (required for arm64).
    - Refactor some code duplication in instruction selectors.
    
    BUG=v8:3589
    LOG=N
    
    R=mbrandy@us.ibm.com
    
    Review URL: https://codereview.chromium.org/1049253004
    
    Cr-Commit-Position: refs/heads/master@{#27547}
    2dd659f8
instruction-codes-ppc.h 4.31 KB