Improve a comment and undo a bogus s/a/an/ in a comment. An asm guru
should add more comments explaining which registers hold which variables. Spotted by: bde
This commit is contained in:
parent
5e97f98dda
commit
d30b6b7f57
@ -48,14 +48,14 @@ __moddi3:
|
|||||||
// 64-BIT SIGNED INTEGER REMAINDER BEGINS HERE
|
// 64-BIT SIGNED INTEGER REMAINDER BEGINS HERE
|
||||||
|
|
||||||
// general register used:
|
// general register used:
|
||||||
// r32 - 64-bit signed integer dividend
|
// r32 - 64-bit signed integer dividend, called a below
|
||||||
// r33 - 64-bit signed integer divisor
|
// r33 - 64-bit signed integer divisor, called b below
|
||||||
// r8 - 64-bit signed integer result
|
// r8 - 64-bit signed integer result
|
||||||
// r2 - scratch register
|
// r2 - scratch register
|
||||||
// floating-point registers used: f6, f7, f8, f9, f10, f11, f12
|
// floating-point registers used: f6, f7, f8, f9, f10, f11, f12
|
||||||
// predicate registers used: p6
|
// predicate registers used: p6
|
||||||
|
|
||||||
setf.sig f12=r32 // holds an in integer form
|
setf.sig f12=r32 // holds a in integer form
|
||||||
setf.sig f7=r33
|
setf.sig f7=r33
|
||||||
nop.b 0
|
nop.b 0
|
||||||
} { .mlx
|
} { .mlx
|
||||||
|
@ -48,13 +48,13 @@ __umoddi3:
|
|||||||
// 64-BIT UNSIGNED INTEGER REMAINDER BEGINS HERE
|
// 64-BIT UNSIGNED INTEGER REMAINDER BEGINS HERE
|
||||||
|
|
||||||
// general register used:
|
// general register used:
|
||||||
// r32 - 64-bit unsigned integer dividend
|
// r32 - 64-bit unsigned integer dividend, called a below
|
||||||
// r33 - 64-bit unsigned integer divisor
|
// r33 - 64-bit unsigned integer divisor, called b below
|
||||||
// r8 - 64-bit unsigned integer result
|
// r8 - 64-bit unsigned integer result
|
||||||
// floating-point registers used: f6, f7, f8, f9, f10, f11, f12
|
// floating-point registers used: f6, f7, f8, f9, f10, f11, f12
|
||||||
// predicate registers used: p6
|
// predicate registers used: p6
|
||||||
|
|
||||||
setf.sig f12=r32 // holds an in integer form
|
setf.sig f12=r32 // holds a in integer form
|
||||||
setf.sig f7=r33
|
setf.sig f7=r33
|
||||||
nop.b 0;;
|
nop.b 0;;
|
||||||
} { .mfi
|
} { .mfi
|
||||||
|
Loading…
Reference in New Issue
Block a user