RFR: 8279282: [vectorapi] Matcher::supports_vector_comparison_unsigned is not needed on x86 [v4]
    Quan Anh Mai 
    duke at openjdk.java.net
       
    Thu Jan 20 01:04:27 UTC 2022
    
    
  
> Hi,
> 
> Currently, unsigned comparison on AVX is implemented by zero extending elements and comparing the results. This leads to unnecessary complexity. This patch changes the implementation to use the identity existing in `Integer/Long.compareUnsigned`, that is `compareUnsigned(x, y) == compare(x ^ min_value, y ^ min_value)`.
> 
> Thank you very much.
Quan Anh Mai has updated the pull request incrementally with one additional commit since the last revision:
  remove scratch
-------------
Changes:
  - all: https://git.openjdk.java.net/jdk/pull/6966/files
  - new: https://git.openjdk.java.net/jdk/pull/6966/files/59d1fa35..6514dd15
Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6966&range=03
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6966&range=02-03
  Stats: 5 lines in 1 file changed: 0 ins; 0 del; 5 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6966.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6966/head:pull/6966
PR: https://git.openjdk.java.net/jdk/pull/6966
    
    
More information about the hotspot-dev
mailing list