>
>
> I agree entirely, but why not fix the other registers while we're at it?
> I've attached a version of your diff with the extra registers' unwind info
> added--- untested, unfortunately--- it'll also need a
>
> sub ::cfi_restore { &::emit(".cfi_restore",@_); }
>
> in x86gas.pl and the corresponding stub for MASM.
>
>
> Several of the other assembly files could use the same treatment as well:
> md5-x86_64.pl uses %rbp to point to one of its arguments, sha1-586.pl uses
> %ebp as a scratch register, etc.
>
>
>
I currently do not have the time to continue working on it.
Since I tested my patch carefully, and since it makes the code better, maybe
we can merge it to trunk, and continue to work on your suggestions later on.
Sound good?