[ 
https://issues.apache.org/jira/browse/HIVE-11457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gopal V updated HIVE-11457:
---------------------------
    Description: 
With HIVE-11406, the Vectorization codegen generates a new and specialized 
fast-path for equality (and non equality), which removed the ordering and 
comparison constraints in the old codepath.

The equality operation can be much more pipeline and cache line efficient by 
keeping on comparing even when an inequality has been detected.

Optimize the single loop into a pair of loops, to allow the Vectorization 
codegen to use tighter loops that the JIT superword optimization can understand.

!string-intrinsic-sse.png!

  was:
With HIVE-11406, the Vectorization codegen generates a new and specialized 
fast-path for equality (and non equality), which removed the ordering and 
comparison constraints in the old codepath.

The equality operation can be much more pipeline and cache line efficient by 
keeping on comparing even when an inequality has been detected.

Optimize the single loop into a pair of loops, to allow the Vectorization 
codegen to use tighter loops that the JIT superword optimization can understand.


> Vectorization: Improve SIMD JIT in GenVectorCode StringExpr instrinsics 
> ------------------------------------------------------------------------
>
>                 Key: HIVE-11457
>                 URL: https://issues.apache.org/jira/browse/HIVE-11457
>             Project: Hive
>          Issue Type: Improvement
>          Components: Vectorization
>    Affects Versions: 2.0.0
>            Reporter: Gopal V
>            Assignee: Gopal V
>             Fix For: 2.0.0
>
>         Attachments: string-intrinsic-sse.png
>
>
> With HIVE-11406, the Vectorization codegen generates a new and specialized 
> fast-path for equality (and non equality), which removed the ordering and 
> comparison constraints in the old codepath.
> The equality operation can be much more pipeline and cache line efficient by 
> keeping on comparing even when an inequality has been detected.
> Optimize the single loop into a pair of loops, to allow the Vectorization 
> codegen to use tighter loops that the JIT superword optimization can 
> understand.
> !string-intrinsic-sse.png!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to