andishgar commented on issue #49179:
URL: https://github.com/apache/arrow/issues/49179#issuecomment-3866479541

   >Can we benchmark the current arrow::util::Float16 and the hardware float16?
   
   
   **Several notes:**
   
   1. I do not have any hardware that supports the `f16p` instruction, so I 
cannot conduct benchmarks.
   2. I checked the assembly code generated 
[here](https://godbolt.org/z/nznx9GbKj)and 
[here](https://godbolt.org/z/dr7fx83Ps), and I found hardware instructions for 
FP16 operations.
   3. I plan to enable arithmetic operations for `+`, `-`, `*`, and `/`.
   4. I think that even if we conduct a benchmark and `arrow::util::Float16` 
performs significantly better than GCC and Clang, it is still better to rely on 
compiler support and wait for further improvements from the compilers.
   
   @kou, what is your opinion?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to