Steven Cooper (scoop@insight.cas.mcmaster.ca)
Sat, 3 Oct 1998 19:32:09 -0400 (EDT)
Many useful crypto algorithms include "rotate-left" and/or "rotate-right"
steps, and most modern CPUs provide single instructions that accomplish
these operations. However, the C language does include such an operation.
Can someone tell me how best to write a C function (that can be "inlined")
that invokes the appropriate assembly language instruction??
The platform I am working on is Sun/64-bit/Ultra/Unix/Solaris 2.6
In particular, how do you invoke an assembley language instruction
and cause it to operate on the appropriate registers that correspond
to specific local variables in your C program???
-- scoop@insight.cas.mcmaster.ca
The following archive was created by hippie-mail 7.98617-22 on Sat Apr 10 1999 - 01:15:19