• bbudge's avatar
    V8: Add SIMD functions for Phase 1. · 6378f57b
    bbudge authored
    Float32x4:
      abs, neg, sqrt, reciprocalApproximation, reciprocalSqrtApproximation, add, sub, mul, div,
      min, max, minNum, maxNum, lessThan, lessThanOrEqual, greaterThan, greaterThanOrEqual,
      equal, notEqual, select, swizzle, shuffle, fromInt32x4, fromInt32x4Bits, fromInt16x8Bits,
      fromInt8x16Bits.
    
    Int32x4:
      neg, add, sub, mul, min, max, and, or, xor, not, shiftLeftByScalar, shiftRightLogicalByScalar,
      shiftRightArithmeticByScalar, lessThan, lessThanOrEqual, greaterThan, greaterThanOrEqual,
      equal, notEqual, select, swizzle, shuffle, fromFloat32x4, fromFloat32x4Bits, fromInt16x8Bits,
      fromInt8x16Bits.
    
    Int16x8:
      neg, add, sub, mul, min, max, and, or, xor, not, shiftLeftByScalar, shiftRightLogicalByScalar,
      shiftRightArithmeticByScalar, lessThan, lessThanOrEqual, greaterThan, greaterThanOrEqual,
      equal, notEqual, select, swizzle, shuffle, fromFloat32x4Bits, fromInt32x4Bits, fromInt8x16Bits.
    
    Int8x16:
      neg, add, sub, mul, min, max, and, or, xor, not, shiftLeftByScalar, shiftRightLogicalByScalar,
      shiftRightArithmeticByScalar, lessThan, lessThanOrEqual, greaterThan, greaterThanOrEqual,
      equal, notEqual, select, swizzle, shuffle, fromFloat32x4Bits, fromInt32x4Bits, fromInt16x8Bitss.
    
    Bool32x4, Bool16x8, Bool8x16:
      and, or, not, anyTrue, allTrue, select, swizzle, shuffle.
    
    I might have forgotten a few.
    
    LOG=N
    BUG=v8:4124
    
    Review URL: https://codereview.chromium.org/1230343003
    
    Cr-Commit-Position: refs/heads/master@{#30051}
    6378f57b
harmony-simd.js 17.9 KB