• bmeurer's avatar
    [turbofan] Add backend support for float32 operations. · 8dad78cd
    bmeurer authored
    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=dcarney@chromium.org
    
    Review URL: https://codereview.chromium.org/1044793002
    
    Cr-Commit-Position: refs/heads/master@{#27509}
    8dad78cd
machine-operator.h 9.14 KB