Re: File I/O
From: wolfgang kern (nowhere_at_nevernet.at)
Date: 01/12/05
- Previous message: Tom: "Re: How to implement lightweight kernel threads in OS development ?"
- In reply to: Frank Kotler : "Re: File I/O"
- Next in thread: Jack Klein: "Re: File I/O"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 12 Jan 2005 22:11:20 +0000 (UTC)
Yes, correct Frank,
| > DAA -method is shortest but very slow.
| ; nibble masked off
| cmp al, 0Ah
| sbb al, 69h
| das
| shorter? possibly even slower?
your code (5 bytes,10 cycles) is shorter and faster than
the DAA-version, but still much slower than 'my' 3..4
cycles with 8 bytes.
All this anchient multifunctional ACCU-instructions
[aaa aad aam aas daa das] which need
[ 6 6 16 6 8 8 ] vectored clock-cycles on K7,
(not any better on Intel-CPU's)
can be considered as extremely slow and are
just usable if code-size is the main matter.
__
wolfgang
- Previous message: Tom: "Re: How to implement lightweight kernel threads in OS development ?"
- In reply to: Frank Kotler : "Re: File I/O"
- Next in thread: Jack Klein: "Re: File I/O"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|