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:
schweikh 2003-02-11 20:15:11 +00:00
parent 5e97f98dda
commit d30b6b7f57
2 changed files with 6 additions and 6 deletions

View File

@ -48,14 +48,14 @@ __moddi3:
// 64-BIT SIGNED INTEGER REMAINDER BEGINS HERE
// general register used:
// r32 - 64-bit signed integer dividend
// r33 - 64-bit signed integer divisor
// r32 - 64-bit signed integer dividend, called a below
// r33 - 64-bit signed integer divisor, called b below
// r8 - 64-bit signed integer result
// r2 - scratch register
// floating-point registers used: f6, f7, f8, f9, f10, f11, f12
// 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
nop.b 0
} { .mlx

View File

@ -48,13 +48,13 @@ __umoddi3:
// 64-BIT UNSIGNED INTEGER REMAINDER BEGINS HERE
// general register used:
// r32 - 64-bit unsigned integer dividend
// r33 - 64-bit unsigned integer divisor
// r32 - 64-bit unsigned integer dividend, called a below
// r33 - 64-bit unsigned integer divisor, called b below
// r8 - 64-bit unsigned integer result
// floating-point registers used: f6, f7, f8, f9, f10, f11, f12
// 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
nop.b 0;;
} { .mfi