On 10/29/25 11:00, Bertho Stultiens wrote:
On 10/29/25 12:34 AM, andy pugh wrote:
1) Convert all int HAL pins to 64-bit.
This will need *a lot* of work because code written for
32-bit uses tricks and whatnot that are not necessarily
compatible with 64-bit. Each and every driver needs to be
checked, line for line, that it will work without problems
and as advertised. Especially tricky are expected implicit
truncation in 32-bit word operations. Each instance must
be found and properly re-coded for 64-bit.
Yes, this is what I'm concerned about. How does a negative
signed 32-bit value get converted to 64-bit? There are
32-bit encoder counts that are signed and can go negative.
You need to know whether to sign extend it or just pad with
high-order zeroes.
Jon
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers