do you plan to support bit operations also?

40 views
Skip to first unread message

ca...@mail.ru

unread,
Jan 22, 2014, 5:25:19 AM1/22/14
to yeppp-...@googlegroups.com
Hello!

Do you plan to support bit operations also? Like: bit shift(s), bitwise XOR, AND, OR, NOT.
Also I would like to ask specifically for support for cyclic (rotational) left and right shifts for unsigned integers. UInt32 is just enough. =)
I feel that namespace like Yeppp.Bits will be very very useful.

Is it pain to implement these operations myself and to submit corresponding patch to trunk lately?

Thank you for nice library!

Marat Dukhan

unread,
Jan 24, 2014, 1:43:18 AM1/24/14
to yeppp-...@googlegroups.com
Hi,

Thank you for your interest in extending Yeppp!

Bit operations will be supported in Yeppp! one day, but I do not consider them as a high-priority feature. In other words, one shouldn't expect them in the next 6 month.

However, we welcome contributions, and I would help you if you are willing to implement this feature. Adding a new function requires to write default implementation (in C++), documentation for this function, and, setup parameters for unit test, and, optionally, provide optimized implementations in assembly. The code-generator behind Yeppp! will generate all other parts for you: public and private headers, bindings for Fortran, Java, and C#, dispatch tables, unit test source and Nasm/Gas-compatible assembly files. Please contact me privately, and I will explain how to implement new functions to Yeppp! (the build/configuration system is about to the be replaced, and I don't want these instructions to confuse future devs).

Regards,
Marat
Reply all
Reply to author
Forward
0 new messages