ia64: Implement optimized clor, clzr, ctor and ctzr - lightning.git - Portable just-in-time compiler library

index : lightning.git
Portable just-in-time compiler library
summary refs log tree commit diff
path: root/lib/jit_alpha.c
diff options
context:
space:
mode:
authorpcpa <paulo.cesar.pereira.de.andrade@gmail.com>2023年02月16日 18:34:32 -0300
committerpcpa <paulo.cesar.pereira.de.andrade@gmail.com>2023年02月16日 18:34:32 -0300
commit68ef2c55c5176e4fd7b0ac940390a77611e17dda (patch)
tree9af250ebeebded1c0f669cc8857c6c62f81a9466 /lib/jit_alpha.c
parent11b487d132001d9f806463cf267c2adab76e77eb (diff)
downloadlightning-68ef2c55c5176e4fd7b0ac940390a77611e17dda.tar.gz
ia64: Implement optimized clor, clzr, ctor and ctzr
There is a code path to use the CLZ instruction, but it is disabled. For some reason binutils is not disassembling it, but the encoding should be correct: """ 4.3.1.9 Bit Strings 40 37 36 35 34 33 32 31 30 29 28 27 26 20 19 13 12 6 5 0 +-----+---+-----+--+--+-----+-----+-+------+-----+-----+---+ I9 | 7 | Za| X2a |Zb|Ve| X2c | X2b | | r3 | 0 | r1 | qp| +-----+---+-----+--+--+-----+-----+-+------+-----+-----+---+ 4 1 2 1 1 2 2 1 7 7 7 6 Extension Instruction Operands Opcode Za Zb Ve X2a X2b X2c popcnt r1 = r3 7 0 1 0 1 1 2 clz 3 """ Above is the only documentation in itanium-architecture-vol-3-manual.pdf and no mention it might not be implemented. Probably I got confused and did not really encode it correctly. For now the fallback implementation is used.
Diffstat (limited to 'lib/jit_alpha.c')
0 files changed, 0 insertions, 0 deletions
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月21日 00:19:02 +0000

AltStyle によって変換されたページ (->オリジナル) /