Skip to contentSkip to conversation

: Assembler unification...

PATCH In review David Miller 2 participants 3 messages Dec 9, 2008 – Dec 10, 2008

lore
Share & tools
lore
#0 lore raw

cover : Assembler unification...

This is just an FYI patch posting, I won't push this out to the sparc-next-2.6 GIT tree until I go over it some more and do some testing.

This series starts unifying assembler code that is essentially the same on 32-bit and 64-bit.

The differences are mostly in the branch instructions, since sparc 64-bit has prediction, and branch-on-register instructions.

We fabricate this using some helper macros in a new asm/asm.h header file. We'll add new stuff there, as needed.

I also took the opportunity to get these files using the proper linux/linkage.h macros to define function boundaries.

#1 lore raw
Quoted 8 lines · David Miller

This is just an FYI patch posting, I won't push this out to the sparc-next-2.6 GIT tree until I go over it some more and do some testing.

This series starts unifying assembler code that is essentially the same on 32-bit and 64-bit.

Quoted 8 lines

The differences are mostly in the branch instructions, since sparc 64-bit has prediction, and branch-on-register instructions.

We fabricate this using some helper macros in a new asm/asm.h header file. We'll add new stuff there, as needed.

I also took the opportunity to get these files using the proper linux/linkage.h macros to define function boundaries.

Browsed the patches and unification looks good.
As I do not speak sparc assembler I did not look
at the unified code.

Sam

#2 lore raw
In reply to David Miller

From: Sam Ravnborg <[email protected]>
Date: Wed, 10 Dec 2008 08:41:42 +0100

Quoted 15 lines · David Miller
Quoted 14 lines

This is just an FYI patch posting, I won't push this out to the sparc-next-2.6 GIT tree until I go over it some more and do some testing.

This series starts unifying assembler code that is essentially the same on 32-bit and 64-bit.

The differences are mostly in the branch instructions, since sparc 64-bit has prediction, and branch-on-register instructions.

We fabricate this using some helper macros in a new asm/asm.h header file. We'll add new stuff there, as needed.

Quoted 6 lines
Quoted 2 lines

I also took the opportunity to get these files using the proper linux/linkage.h macros to define function boundaries.

Browsed the patches and unification looks good.
As I do not speak sparc assembler I did not look
at the unified code.

Thanks for reviewing.

I did my testing and checks and have pushed this work to the sparc-next-2.6 GIT tree on kernel.org