Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.arch > #32659 > unrolled thread
| Started by | "Skybuck Flying" <skybuck2000@hotmail.com> |
|---|---|
| First post | 2016-01-11 16:44 +0100 |
| Last post | 2016-01-11 23:46 -0800 |
| Articles | 20 on this page of 192 — 45 participants |
Back to article view | Back to comp.arch
Intel's Skylake Prime Number Bug. "Skybuck Flying" <skybuck2000@hotmail.com> - 2016-01-11 16:44 +0100
Re: Intel's Skylake Prime Number Bug. Larc <larc@notmyaddress.com> - 2016-01-11 11:10 -0500
Re: Intel's Skylake Prime Number Bug. "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2016-01-11 10:16 -0800
Re: Intel's Skylake Prime Number Bug. "Skybuck Flying" <skybuck2000@hotmail.com> - 2016-01-11 21:44 +0100
Re: Intel's Skylake Prime Number Bug. "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2016-01-11 13:06 -0800
Re: Intel's Skylake Prime Number Bug. "Skybuck Flying" <skybuck2000@hotmail.com> - 2016-01-12 16:35 +0100
Re: Intel's Skylake Prime Number Bug. DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-01-12 12:53 -0500
Re: Intel's Skylake Prime Number Bug. Mark - <nonemail@spamspamapam.net> - 2016-01-12 20:00 +0000
Re: Intel's Skylake Prime Number Bug. Larc <larc@notmyaddress.com> - 2016-01-12 16:54 -0500
Re: Intel's Skylake Prime Number Bug. Mark - <nonemail@spamspamapam.net> - 2016-01-12 22:14 +0000
Re: Intel's Skylake Prime Number Bug. "wolfgang kern" <nowhere@never.at> - 2016-01-12 19:53 +0100
Re: Intel's Skylake Prime Number Bug. Paul <nospam@needed.com> - 2016-01-11 16:55 -0500
Re: Intel's Skylake Prime Number Bug. B00ze <B00ze64@hotmail.com> - 2016-01-11 23:48 -0500
Re: Intel's Skylake Prime Number Bug. John Larkin <jjlarkin@highlandtechnology.com> - 2016-01-11 10:22 -0800
Re: Intel's Skylake Prime Number Bug. Jerry Stuckle <jstucklex@attglobal.net> - 2016-01-11 13:42 -0500
Re: Intel's Skylake Prime Number Bug. John Larkin <jjlarkin@highlandtechnology.com> - 2016-01-11 11:12 -0800
Re: Intel's Skylake Prime Number Bug. David Brown <david.brown@hesbynett.no> - 2016-01-12 11:06 +0100
Re: Intel's Skylake Prime Number Bug. Richard Heathfield <rjh@cpax.org.uk> - 2016-01-12 10:21 +0000
Re: Intel's Skylake Prime Number Bug. David Brown <david.brown@hesbynett.no> - 2016-01-12 11:42 +0100
t cluttered John Larkin <jjlarkin@highlandtechnology.com> - 2016-01-12 09:25 -0800
Re: t cluttered David Brown <david.brown@hesbynett.no> - 2016-01-12 22:05 +0100
Re: t cluttered Ivan Godard <ivan@millcomputing.com> - 2016-01-12 14:03 -0800
Re: t cluttered Stephen Fuld <SFuld@alumni.cmu.edu.invalid> - 2016-01-12 21:44 -0800
Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-13 15:41 +0800
Re: t cluttered krw <krw@nowhere.com> - 2016-01-13 21:39 -0500
Re: t cluttered Quadibloc <jsavard@ecn.ab.ca> - 2016-01-13 00:52 -0800
Re: t cluttered already5chosen@yahoo.com - 2016-01-13 02:39 -0800
Re: t cluttered Rick Jones <rick.jones2@hpe.com> - 2016-01-12 22:41 +0000
Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-12 23:01 +0000
Re: t cluttered Ivan Godard <ivan@millcomputing.com> - 2016-01-12 16:16 -0800
Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-13 10:35 +0000
Re: t cluttered Anonymous <no_email@invalid.invalid> - 2016-01-13 14:36 +0000
Re: t cluttered Robert Wessel <robertwessel2@yahoo.com> - 2016-01-14 02:48 -0600
Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-14 10:50 +0000
Re: t cluttered Quadibloc <jsavard@ecn.ab.ca> - 2016-01-14 05:25 -0800
Re: t cluttered Bruce Hoult <bruce.hoult@gmail.com> - 2016-01-14 07:23 -0800
Re: t cluttered "James Van Buskirk" <not_valid@comcast.net> - 2016-01-14 09:17 -0700
Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-14 16:30 +0000
Re: t cluttered Bruce Hoult <bruce.hoult@gmail.com> - 2016-01-14 12:02 -0800
Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-14 21:22 +0000
Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-15 10:06 +0800
Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-15 09:48 +0800
Re: t cluttered Bruce Hoult <bruce.hoult@gmail.com> - 2016-01-14 11:57 -0800
Re: t cluttered "James Van Buskirk" <not_valid@comcast.net> - 2016-01-14 19:16 -0700
Re: t cluttered Quadibloc <jsavard@ecn.ab.ca> - 2016-01-14 08:29 -0800
Re: t cluttered Bruce Hoult <bruce.hoult@gmail.com> - 2016-01-14 12:13 -0800
Re: t cluttered Stephen Fuld <SFuld@alumni.cmu.edu.invalid> - 2016-01-14 12:24 -0800
Re: t cluttered Bruce Hoult <bruce.hoult@gmail.com> - 2016-01-14 12:48 -0800
Re: t cluttered Stephen Fuld <SFuld@alumni.cmu.edu.invalid> - 2016-01-14 13:06 -0800
Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-15 10:14 +0800
Re: t cluttered anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-01-15 14:33 +0000
Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-16 09:39 +0000
Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-17 00:15 +0800
Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-16 19:24 +0000
Re: t cluttered Ivan Godard <ivan@millcomputing.com> - 2016-01-16 12:18 -0800
Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-17 17:46 +0800
Re: t cluttered Ivan Godard <ivan@millcomputing.com> - 2016-01-17 02:53 -0800
Re: t cluttered Stefan Monnier <monnier@iro.umontreal.ca> - 2016-01-18 12:20 -0500
Re: t cluttered paul wallich <pw@panix.com> - 2016-01-18 14:42 -0500
Re: t cluttered Erik Trulsson <erikt@Update.UU.SE> - 2016-01-19 13:05 +0000
Re: t cluttered paul wallich <pw@panix.com> - 2016-01-19 08:29 -0500
Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-19 13:48 +0000
Re: t cluttered anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-01-19 17:04 +0000
Re: t cluttered already5chosen@yahoo.com - 2016-01-19 10:27 -0800
Re: t cluttered David Brown <david.brown@hesbynett.no> - 2016-01-20 11:30 +0100
Re: t cluttered already5chosen@yahoo.com - 2016-01-20 03:55 -0800
Re: t cluttered David Brown <david.brown@hesbynett.no> - 2016-01-20 15:17 +0100
Re: t cluttered already5chosen@yahoo.com - 2016-01-20 07:15 -0800
Re: t cluttered anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-01-20 16:17 +0000
Re: t cluttered EricP <ThatWouldBeTelling@thevillage.com> - 2016-01-19 15:37 -0500
Re: t cluttered anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-01-16 16:46 +0000
Re: t cluttered Quadibloc <jsavard@ecn.ab.ca> - 2016-01-16 10:10 -0800
Re: t cluttered Quadibloc <jsavard@ecn.ab.ca> - 2016-01-16 10:11 -0800
Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-16 19:42 +0000
Re: t cluttered anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-01-17 17:51 +0000
Re: t cluttered rpw3@rpw3.org (Rob Warnock) - 2016-01-17 08:21 +0000
Re: t cluttered anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-01-17 17:41 +0000
Re: t cluttered Melzzzzz <mel@zzzzz.com> - 2016-01-17 20:03 +0100
Re: t cluttered rpw3@rpw3.org (Rob Warnock) - 2016-01-18 12:13 +0000
Re: t cluttered anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-01-18 14:24 +0000
Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-18 14:40 +0000
Re: t cluttered Megol <golem960@gmail.com> - 2016-01-16 06:25 -0800
Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-16 15:09 +0000
Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-17 00:21 +0800
Re: t cluttered anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-01-16 16:34 +0000
Re: t cluttered Quadibloc <jsavard@ecn.ab.ca> - 2016-01-14 08:33 -0800
Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-15 09:38 +0800
Re: t cluttered jgk@panix.com (Joe keane) - 2016-01-17 19:25 +0000
Re: t cluttered already5chosen@yahoo.com - 2016-01-17 11:38 -0800
Re: t cluttered Quadibloc <jsavard@ecn.ab.ca> - 2016-01-17 14:21 -0800
Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-17 23:21 +0000
Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-14 16:29 +0000
Re: t cluttered Quadibloc <jsavard@ecn.ab.ca> - 2016-01-14 08:39 -0800
Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-14 16:45 +0000
Re: t cluttered already5chosen@yahoo.com - 2016-01-14 11:35 -0800
Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-14 21:32 +0000
Re: t cluttered MitchAlsup <MitchAlsup@aol.com> - 2016-01-14 15:08 -0800
Re: t cluttered Quadibloc <jsavard@ecn.ab.ca> - 2016-01-14 20:21 -0800
Re: t cluttered Quadibloc <jsavard@ecn.ab.ca> - 2016-01-14 20:20 -0800
Re: t cluttered anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-01-14 16:48 +0000
Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-14 18:05 +0000
Re: t cluttered anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-01-15 10:17 +0000
Re: t cluttered Ivan Godard <ivan@millcomputing.com> - 2016-01-13 11:54 -0800
Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-13 20:41 +0000
Re: t cluttered MitchAlsup <MitchAlsup@aol.com> - 2016-01-13 17:57 -0800
Re: t cluttered mrs@kithrup.com (Mike Stump) - 2016-01-18 13:37 +0000
Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-19 00:06 +0800
Re: t cluttered Ivan Godard <ivan@millcomputing.com> - 2016-01-18 15:27 -0800
Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-19 09:43 +0000
Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-19 18:00 +0800
Re: t cluttered already5chosen@yahoo.com - 2016-01-19 02:47 -0800
Re: t cluttered Bruce Hoult <bruce.hoult@gmail.com> - 2016-01-19 03:01 -0800
Re: t cluttered already5chosen@yahoo.com - 2016-01-19 04:43 -0800
Re: t cluttered jgk@panix.com (Joe keane) - 2016-01-21 17:35 +0000
Re: t cluttered Stefan Monnier <monnier@iro.umontreal.ca> - 2016-01-21 14:45 -0500
Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-22 09:49 +0000
Re: hashes and b-trees, was't cluttered John Levine <johnl@iecc.com> - 2016-01-22 16:53 +0000
Re: hashes and b-trees, was't cluttered "James Van Buskirk" <not_valid@comcast.net> - 2016-01-22 10:34 -0700
Re: hashes and b-trees, was't cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-22 18:00 +0000
Re: t cluttered Stefan Monnier <monnier@iro.umontreal.ca> - 2016-01-25 14:03 -0500
Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-25 19:57 +0000
Re: t cluttered Bruce Hoult <bruce.hoult@gmail.com> - 2016-01-26 00:17 -0800
Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-26 10:00 +0000
Re: t cluttered jgk@panix.com (Joe keane) - 2016-01-23 18:59 +0000
Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-19 19:28 +0700
Re: t cluttered already5chosen@yahoo.com - 2016-01-19 15:41 -0800
Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-20 15:20 +0100
Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-19 11:25 +0000
Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-19 19:48 +0700
Re: t cluttered Walter Banks <walter@bytecraft.com> - 2016-01-19 09:54 -0500
Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-19 16:49 +0000
Re: t cluttered Quadibloc <jsavard@ecn.ab.ca> - 2016-01-19 17:25 -0800
Re: t cluttered Quadibloc <jsavard@ecn.ab.ca> - 2016-01-19 17:43 -0800
Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-20 14:52 +0100
Re: t cluttered already5chosen@yahoo.com - 2016-01-19 02:14 -0800
Re: t cluttered Ivan Godard <ivan@millcomputing.com> - 2016-01-19 02:33 -0800
Re: t cluttered already5chosen@yahoo.com - 2016-01-19 02:57 -0800
Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-19 11:34 +0000
Re: t cluttered already5chosen@yahoo.com - 2016-01-19 05:24 -0800
Re: t cluttered "James Van Buskirk" <not_valid@comcast.net> - 2016-01-19 15:46 -0700
Re: t cluttered already5chosen@yahoo.com - 2016-01-19 16:14 -0800
Re: t cluttered "James Van Buskirk" <not_valid@comcast.net> - 2016-01-19 18:37 -0700
Re: t cluttered already5chosen@yahoo.com - 2016-01-20 03:32 -0800
Re: t cluttered "James Van Buskirk" <not_valid@comcast.net> - 2016-01-20 11:04 -0700
Re: t cluttered Melzzzzz <mel@zzzzz.com> - 2016-01-20 06:56 +0100
Re: t cluttered "James Van Buskirk" <not_valid@comcast.net> - 2016-01-20 00:55 -0700
Re: t cluttered "James Van Buskirk" <not_valid@comcast.net> - 2016-01-20 01:27 -0700
Re: t cluttered Melzzzzz <mel@zzzzz.com> - 2016-01-20 13:55 +0100
Re: t cluttered already5chosen@yahoo.com - 2016-01-20 08:50 -0800
Re: t cluttered "James Van Buskirk" <not_valid@comcast.net> - 2016-01-20 11:34 -0700
Re: t cluttered already5chosen@yahoo.com - 2016-01-20 11:13 -0800
Re: t cluttered already5chosen@yahoo.com - 2016-01-20 15:15 -0800
Re: t cluttered "James Van Buskirk" <not_valid@comcast.net> - 2016-01-20 17:29 -0700
Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-21 08:42 +0100
Re: t cluttered already5chosen@yahoo.com - 2016-01-21 03:15 -0800
Re: t cluttered already5chosen@yahoo.com - 2016-01-21 05:03 -0800
Re: t cluttered Quadibloc <jsavard@ecn.ab.ca> - 2016-01-21 06:42 -0800
Re: t cluttered already5chosen@yahoo.com - 2016-01-21 07:45 -0800
Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-21 21:30 +0100
Re: t cluttered MitchAlsup <MitchAlsup@aol.com> - 2016-01-21 16:17 -0800
Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-22 07:57 +0100
Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-22 13:18 +0000
Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-22 14:51 +0100
Re: t cluttered nmm@wheeler.UUCP (Nick Maclaren) - 2016-01-22 14:14 +0000
Re: t cluttered already5chosen@yahoo.com - 2016-01-22 05:52 -0800
Re: t cluttered already5chosen@yahoo.com - 2016-01-22 06:33 -0800
Re: t cluttered "James Van Buskirk" <not_valid@comcast.net> - 2016-01-22 10:48 -0700
Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-22 19:30 +0100
Re: t cluttered already5chosen@yahoo.com - 2016-01-21 02:18 -0800
Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-19 19:10 +0700
Re: t cluttered MitchAlsup <MitchAlsup@aol.com> - 2016-01-19 06:35 -0800
Re: t cluttered Ivan Godard <ivan@millcomputing.com> - 2016-01-19 10:49 -0800
Re: t cluttered krw <krw@nowhere.com> - 2016-01-12 20:53 -0500
Re: t cluttered Dennis <dennis@none.none> - 2016-01-13 14:56 -0600
Re: t cluttered krw <krw@nowhere.com> - 2016-01-13 21:43 -0500
Re: t cluttered Terje Mathisen <terje.mathisen@tmsw.no> - 2016-01-13 13:24 +0800
Re: t cluttered upsidedown@downunder.com - 2016-01-13 10:15 +0200
Re: Intel's Skylake Prime Number Bug. JJ <jj4public@vfemail.net> - 2016-01-12 13:11 +0700
Re: Intel's Skylake Prime Number Bug. "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2016-01-12 02:45 -0500
Re: Intel's Skylake Prime Number Bug. Paul <nospam@needed.com> - 2016-01-12 04:38 -0500
Re: Intel's Skylake Prime Number Bug. MitchAlsup <MitchAlsup@aol.com> - 2016-01-12 06:33 -0800
Re: Intel's Skylake Prime Number Bug. krw <krw@nowhere.com> - 2016-01-12 12:35 -0500
Re: Intel's Skylake Prime Number Bug. EricP <ThatWouldBeTelling@thevillage.com> - 2016-01-11 14:33 -0500
Re: Intel's Skylake Prime Number Bug. Casper H.S. Dik <Casper.Dik@OrSPaMcle.COM> - 2016-01-12 17:27 +0000
Re: Intel's Skylake Prime Number Bug. Quadibloc <jsavard@ecn.ab.ca> - 2016-01-11 13:54 -0800
Re: Intel's Skylake Prime Number Bug. Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2016-01-11 22:21 +0000
Re: Intel's Skylake Prime Number Bug. krw <krw@nowhere.com> - 2016-01-11 21:38 -0500
Re: Intel's Skylake Prime Number Bug. krw <krw@nowhere.com> - 2016-01-11 21:37 -0500
Re: Intel's Skylake Prime Number Bug. Robert Baer <robertbaer@localnet.com> - 2016-01-12 20:23 -0800
Re: Intel's Skylake Prime Number Bug. John Levine <johnl@iecc.com> - 2016-01-13 05:19 +0000
Re: Intel's Skylake Prime Number Bug. already5chosen@yahoo.com - 2016-01-13 01:55 -0800
Re: Intel's Skylake Prime Number Bug. Keith Thompson <kst-u@mib.org> - 2016-01-11 23:46 -0800
Page 9 of 10 — ← Prev page 1 … 7 8 [9] 10 Next page →
| From | Terje Mathisen <terje.mathisen@tmsw.no> |
|---|---|
| Date | 2016-01-22 07:57 +0100 |
| Subject | Re: t cluttered |
| Message-ID | <n7sjrs$bvs$1@gioia.aioe.org> |
| In reply to | #33017 |
MitchAlsup wrote: > In 32-bit IEEE floating point: > > A) perhaps this would be a good time to state that GPUs are performing a > 1.5 ULP reciprocation in the same latency as an FMAD instruction (4 cycles). > > B) I coded up a HW reciprocation that was 1.0 ULP that was a single cycle > longer. > > A would take 2 NR iterations to achieve 0.5 ULP, while B takes only 1. > > A pipelined SRT divider was coded that would take 10 or 11 total cycles > that the HW accelerated SW above. This particular SRT did radix 16 as > 2 stages of radix 4 per cycle at 7 gates per SRT step. This SRT was > fully pipelined and could start a new division every cycle. Mitch, from personal interest: Intuitively I would assume NR reciprocation with the multiplication merged into the final stage would be harder and harder to beat as you get into larger sizes, i.e. with a few extra bits of precision for the initial approximation you can get to double in one extra NR iteration and to quad with another, right? (Afaik this is what the GNU arbitrary precision libraries does, using FFT multiplications.) The problem would seem to be that as you pass double you probably don't have any available multipliers that directly handle 112x112->224 bits for the intermediate stage of a quad FMA? I.e. how much will the NR stages slow down when you have to synthesize the FMA using double (or uint64_t operations? Enough to return to SRT for an exact 754 FDIV, or would it be better to get an approximate result, then FMA to mul-subtract and check/correct based on the residual? Terje -- - <Terje.Mathisen at tmsw.no> "almost all programming can be viewed as an exercise in caching"
[toc] | [prev] | [next] | [standalone]
| From | nmm@wheeler.UUCP (Nick Maclaren) |
|---|---|
| Date | 2016-01-22 13:18 +0000 |
| Subject | Re: t cluttered |
| Message-ID | <n7ta69$rib$1@dont-email.me> |
| In reply to | #33020 |
In article <n7sjrs$bvs$1@gioia.aioe.org>, Terje Mathisen <terje.mathisen@tmsw.no> wrote: > >Intuitively I would assume NR reciprocation with the multiplication >merged into the final stage would be harder and harder to beat as you >get into larger sizes, i.e. with a few extra bits of precision for the >initial approximation you can get to double in one extra NR iteration >and to quad with another, right? > >(Afaik this is what the GNU arbitrary precision libraries does, using >FFT multiplications.) > >The problem would seem to be that as you pass double you probably don't >have any available multipliers that directly handle 112x112->224 bits >for the intermediate stage of a quad FMA? > >I.e. how much will the NR stages slow down when you have to synthesize >the FMA using double (or uint64_t operations? Enough to return to SRT >for an exact 754 FDIV, or would it be better to get an approximate >result, then FMA to mul-subtract and check/correct based on the residual? Well, as you know, looking at those issues in isolation is a serious mistake, and is one reason that so many modern architectures are so arithmetically bad. The point is that extended integer precision, Newton-Raphson division and square root, and support for arbitrary precision integers and floating-point, are all very closely linked. That is why attempting to provide just one so often fails on either resource requirement or performance grounds. Given the right design, doubling the precision would never be worse than quartering the performance, emulation or no. Regards, Nick Maclaren.
[toc] | [prev] | [next] | [standalone]
| From | Terje Mathisen <terje.mathisen@tmsw.no> |
|---|---|
| Date | 2016-01-22 14:51 +0100 |
| Subject | Re: t cluttered |
| Message-ID | <n7tc5o$1s03$1@gioia.aioe.org> |
| In reply to | #33025 |
Nick Maclaren wrote: > In article <n7sjrs$bvs$1@gioia.aioe.org>, > Terje Mathisen <terje.mathisen@tmsw.no> wrote: >> >> Intuitively I would assume NR reciprocation with the multiplication >> merged into the final stage would be harder and harder to beat as you >> get into larger sizes, i.e. with a few extra bits of precision for the >> initial approximation you can get to double in one extra NR iteration >> and to quad with another, right? >> >> (Afaik this is what the GNU arbitrary precision libraries does, using >> FFT multiplications.) >> >> The problem would seem to be that as you pass double you probably don't >> have any available multipliers that directly handle 112x112->224 bits >> for the intermediate stage of a quad FMA? >> >> I.e. how much will the NR stages slow down when you have to synthesize >> the FMA using double (or uint64_t operations? Enough to return to SRT >> for an exact 754 FDIV, or would it be better to get an approximate >> result, then FMA to mul-subtract and check/correct based on the residual? > > Well, as you know, looking at those issues in isolation is a serious > mistake, and is one reason that so many modern architectures are so > arithmetically bad. The point is that extended integer precision, > Newton-Raphson division and square root, and support for arbitrary > precision integers and floating-point, are all very closely linked. Absolutely. > That is why attempting to provide just one so often fails on either > resource requirement or performance grounds. The typical issue these days is that we have a pretty fast & wide multiplier, usually delivering NxN->2N results, for fp and/or integer data types. As long as your variables are within a small factor larger than N (2N is easy, 4N might be more problematic) then you can use this to synthesize wider operations as well, but past this point you end up with FFT or other recursive methods which gets closer to O(n*log(n)) scaling. > > Given the right design, doubling the precision would never be worse > than quartering the performance, emulation or no. In the limit, doubling the precision using GMP needs one more NR iteration, while all the operations up to that point can make do with the original precision or less, so the scaling looks like Going from 1024 bits to 2048 bits, for reciprocal, square root, inverse square root or division: These all look like almost log(n) scaling with size, worst case log(n)*log(n) when you have quadratic algorithms, i.e. way better O(n*n). Using an SRT divider would seem to be O(n) until you run out of space in the divider, at which point you'd have to generate an approximate answer, multiply back & subtract, then repeat. Terje -- - <Terje.Mathisen at tmsw.no> "almost all programming can be viewed as an exercise in caching"
[toc] | [prev] | [next] | [standalone]
| From | nmm@wheeler.UUCP (Nick Maclaren) |
|---|---|
| Date | 2016-01-22 14:14 +0000 |
| Subject | Re: t cluttered |
| Message-ID | <n7tdfk$8sk$1@dont-email.me> |
| In reply to | #33026 |
In article <n7tc5o$1s03$1@gioia.aioe.org>, Terje Mathisen <terje.mathisen@tmsw.no> wrote: > >The typical issue these days is that we have a pretty fast & wide >multiplier, usually delivering NxN->2N results, for fp and/or integer >data types. > >As long as your variables are within a small factor larger than N (2N is >easy, 4N might be more problematic) then you can use this to synthesize >wider operations as well, but past this point you end up with FFT or >other recursive methods which gets closer to O(n*log(n)) scaling. Yes. Though I am not convinced that the changeover is as low as you imply, because the quadratic code is so much simpler. >In the limit, doubling the precision using GMP needs one more NR >iteration, while all the operations up to that point can make do with >the original precision or less, so the scaling looks like > >Going from 1024 bits to 2048 bits, for reciprocal, square root, inverse >square root or division: > >These all look like almost log(n) scaling with size, worst case >log(n)*log(n) when you have quadratic algorithms, i.e. way better O(n*n). That's the number of STEPS - handling twice as many bits necessarily needs twice as much work! My point was that the cost should never be WORSE than quadratic in the number of bits if done right. The reason that it so often is, is because the systems are not designed for precision extension. Regards, Nick Maclaren.
[toc] | [prev] | [next] | [standalone]
| From | already5chosen@yahoo.com |
|---|---|
| Date | 2016-01-22 05:52 -0800 |
| Subject | Re: t cluttered |
| Message-ID | <265d7eea-cfa6-4ffd-ab26-acd8b0d9a56c@googlegroups.com> |
| In reply to | #33020 |
On Friday, January 22, 2016 at 8:57:05 AM UTC+2, Terje Mathisen wrote: > MitchAlsup wrote: > > In 32-bit IEEE floating point: > > > > A) perhaps this would be a good time to state that GPUs are performing a > > 1.5 ULP reciprocation in the same latency as an FMAD instruction (4 cycles). > > > > B) I coded up a HW reciprocation that was 1.0 ULP that was a single cycle > > longer. > > > > A would take 2 NR iterations to achieve 0.5 ULP, while B takes only 1. > > > > A pipelined SRT divider was coded that would take 10 or 11 total cycles > > that the HW accelerated SW above. This particular SRT did radix 16 as > > 2 stages of radix 4 per cycle at 7 gates per SRT step. This SRT was > > fully pipelined and could start a new division every cycle. > > Mitch, from personal interest: > > Intuitively I would assume NR reciprocation with the multiplication > merged into the final stage would be harder and harder to beat as you > get into larger sizes, i.e. with a few extra bits of precision for the > initial approximation you can get to double in one extra NR iteration > and to quad with another, right? > > (Afaik this is what the GNU arbitrary precision libraries does, using > FFT multiplications.) > > The problem would seem to be that as you pass double you probably don't > have any available multipliers that directly handle 112x112->224 bits > for the intermediate stage of a quad FMA? > > I.e. how much will the NR stages slow down when you have to synthesize > the FMA using double (or uint64_t operations? Enough to return to SRT > for an exact 754 FDIV, or would it be better to get an approximate > result, then FMA to mul-subtract and check/correct based on the residual? > > Terje > > -- > - <Terje.Mathisen at tmsw.no> > "almost all programming can be viewed as an exercise in caching" Another problem with pure software NR reciprocal that I found yesterday: For y=(2^53-1)/2^53 NR converges to x=1 instead of correct value of x=(2^52+1)/2^52. So, some preventive measures should be taken. For me, setting few LSBs to 1 before last NR iterations worked fine. I suppose, it is known in the literature, but I didn't read literature, just saw James's post and started hacking.
[toc] | [prev] | [next] | [standalone]
| From | already5chosen@yahoo.com |
|---|---|
| Date | 2016-01-22 06:33 -0800 |
| Subject | Re: t cluttered |
| Message-ID | <a0429412-7cec-4ba5-bfcc-b1a1c91714ad@googlegroups.com> |
| In reply to | #33027 |
On Friday, January 22, 2016 at 3:52:37 PM UTC+2, already...@yahoo.com wrote: > On Friday, January 22, 2016 at 8:57:05 AM UTC+2, Terje Mathisen wrote: > > MitchAlsup wrote: > > > In 32-bit IEEE floating point: > > > > > > A) perhaps this would be a good time to state that GPUs are performing a > > > 1.5 ULP reciprocation in the same latency as an FMAD instruction (4 cycles). > > > > > > B) I coded up a HW reciprocation that was 1.0 ULP that was a single cycle > > > longer. > > > > > > A would take 2 NR iterations to achieve 0.5 ULP, while B takes only 1. > > > > > > A pipelined SRT divider was coded that would take 10 or 11 total cycles > > > that the HW accelerated SW above. This particular SRT did radix 16 as > > > 2 stages of radix 4 per cycle at 7 gates per SRT step. This SRT was > > > fully pipelined and could start a new division every cycle. > > > > Mitch, from personal interest: > > > > Intuitively I would assume NR reciprocation with the multiplication > > merged into the final stage would be harder and harder to beat as you > > get into larger sizes, i.e. with a few extra bits of precision for the > > initial approximation you can get to double in one extra NR iteration > > and to quad with another, right? > > > > (Afaik this is what the GNU arbitrary precision libraries does, using > > FFT multiplications.) > > > > The problem would seem to be that as you pass double you probably don't > > have any available multipliers that directly handle 112x112->224 bits > > for the intermediate stage of a quad FMA? > > > > I.e. how much will the NR stages slow down when you have to synthesize > > the FMA using double (or uint64_t operations? Enough to return to SRT > > for an exact 754 FDIV, or would it be better to get an approximate > > result, then FMA to mul-subtract and check/correct based on the residual? > > > > Terje > > > > -- > > - <Terje.Mathisen at tmsw.no> > > "almost all programming can be viewed as an exercise in caching" > > Another problem with pure software NR reciprocal that I found yesterday: > For y=(2^53-1)/2^53 NR converges to x=1 instead of correct value of x=(2^52+1)/2^52. > So, some preventive measures should be taken. For me, setting few LSBs to 1 before last NR iterations worked fine. Oh, in fact setting LSBs to 1 does not work. > I suppose, it is known in the literature, but I didn't read literature, just saw James's post and started hacking.
[toc] | [prev] | [next] | [standalone]
| From | "James Van Buskirk" <not_valid@comcast.net> |
|---|---|
| Date | 2016-01-22 10:48 -0700 |
| Subject | Re: t cluttered |
| Message-ID | <n7tptm$t7i$1@dont-email.me> |
| In reply to | #33027 |
wrote in message news:265d7eea-cfa6-4ffd-ab26-acd8b0d9a56c@googlegroups.com... > Another problem with pure software NR reciprocal that I found > yesterday: For y=(2^53-1)/2^53 NR converges to x=1 instead of > correct value of x=(2^52+1)/2^52. >So, some preventive measures should be taken. For me, setting > few LSBs to 1 before last NR iterations worked fine. I suppose, it > is known in the literature, but I didn't read literature, just saw > James's post and started hacking. Check your arithmetic above. N-R is only out by 0.5 ulps actually, not 1.0 ulps. Getting from 0.5+epsilon down to 0.5-epsilon is about as hard as it was to get the right answer in the first place.
[toc] | [prev] | [next] | [standalone]
| From | Terje Mathisen <terje.mathisen@tmsw.no> |
|---|---|
| Date | 2016-01-22 19:30 +0100 |
| Subject | Re: t cluttered |
| Message-ID | <n7tsfs$18jl$1@gioia.aioe.org> |
| In reply to | #33037 |
James Van Buskirk wrote: > wrote in message > news:265d7eea-cfa6-4ffd-ab26-acd8b0d9a56c@googlegroups.com... > >> Another problem with pure software NR reciprocal that I found >> yesterday: For y=(2^53-1)/2^53 NR converges to x=1 instead of >> correct value of x=(2^52+1)/2^52. > >> So, some preventive measures should be taken. For me, setting >> few LSBs to 1 before last NR iterations worked fine. I suppose, it >> is known in the literature, but I didn't read literature, just saw >> James's post and started hacking. > > Check your arithmetic above. N-R is only out by 0.5 ulps actually, > not 1.0 ulps. Getting from 0.5+epsilon down to 0.5-epsilon is > about as hard as it was to get the right answer in the first place. Right you are. :-( The idiot-proof method is to run the NR with twice the precision you need, at which point proper rounding down to the actual target will always give exact results. Getting correctly rounded results for all inputs, without having all those extra bits available is in fact very hard. Terje -- - <Terje.Mathisen at tmsw.no> "almost all programming can be viewed as an exercise in caching"
[toc] | [prev] | [next] | [standalone]
| From | already5chosen@yahoo.com |
|---|---|
| Date | 2016-01-21 02:18 -0800 |
| Subject | Re: t cluttered |
| Message-ID | <84d07d64-e797-4bf2-920b-eed56e5faf2f@googlegroups.com> |
| In reply to | #32985 |
On Thursday, January 21, 2016 at 2:30:01 AM UTC+2, James Van Buskirk wrote: > wrote in message > news:be793758-07b7-4b47-84fd-4938f18838e6@googlegroups.com... > > > On Wednesday, January 20, 2016 at 9:13:51 PM UTC+2, already...@yahoo.com > > wrote: > > > > On Wednesday, January 20, 2016 at 8:35:19 PM UTC+2, James Van Buskirk > > > wrote: > > > > > That said, it would be interesting to do the last iteration like > > > > the first: y3 = 1-R*x3, then x4 = x4+y3*x3, and compare > > > > accuracy with perfectly rounded results because according > > > > to Intel's statement it should have the effect of carrying out > > > > that calculation in quad precision, but sadly that's an exercise > > > > I will have to leave to others. > > > > Unfortunately, I have no FMA-capable HW at home. And doing > > > tests at work would not be fair to my employer. > > > So, I also have to leave it to others. > > > After a little thinking I found a way to test it at home. > > I emulated FMA with gcc use of __float128 for intermediate result. Since > > a mantissa of __float128 is more than twice wider than IEEE double such > > emulation should be sufficient. > > The results are very close to what I expected. > > The worst case error of your algorithm in the ranges it works = 3 ulp. > > Here are few arguments that produce error = 3 ULP: > > 1.00030175425301750000 > > 1.00107950051079490000 > > 1.00259220252592200000 > > 1.00415579054155790000 > > 1.00416244041662430000 > > 1.00440299241903010000 > > 1.00498586842485870000 > > 1.00805377383053800000 > > 1.00981049734810500000 > > 1.01012680010126820000 > > > The worst case error after my modification (replacement of last iteration > > by x *= fmsub(2.0, x, y); ) brings the error down to 1 ULP. > > > There were also defects that I didn't expect: > > 1. The precision blows for arguments above DBL_MAX/4 > > 2. The output is non-monotonic. > > Both defects are not fixed by my modification. In fact, after my > > modification > > violations of monotonocity become even more frequent. > > I hate myself. I am an assembly language whore with no sense of self- > discipline. :( > You did impressive work in night hours, but I'd guess that your performance in day hours will be impacted :( > D:\gfortran\clf\reciprocal>type recip2.asm > ; recip2.asm -- clean version > format MS64 coff > > public recip > section '.text' code readable executable > recip: > ; Load constants and input > vbroadcastsd ymm1, [one] > vpbroadcastq ymm4, [magic] > vmovdqu ymm0, [rcx] > ; ymm0 is input > ; Begin approximation > vpsubq ymm2, ymm4, ymm0 > ; ymm2 is initial approximation > ; First N-R iteration > vfnmadd213pd ymm0, ymm2, ymm1 > vfmadd132pd ymm2, ymm2, ymm0 From numeric precision perspective this variant of the first N-R iteration looks better than your original variant. It is also 0.5 clock better than the original variant for throughput and equal to original in latency. Nice improvement. I see no downsides. Likely this improvement is a reason behind reduction of the worst-case error from 3 ULP to 2 ULP. > vmulpd ymm0, ymm0, ymm0 > ; Second N-R iteration > vfmadd132pd ymm2, ymm2, ymm0 > vmulpd ymm0, ymm0, ymm0 > ; Third N-R iteration > vfmadd132pd ymm2, ymm2, ymm0 > vmulpd ymm0, ymm0, ymm0 > ; Fourth N-R iteration > vfmadd132pd ymm0, ymm2, ymm2 > ; Store output > vmovups [rcx], ymm0 > ret > > section '.data' readable writeable align 16 > align 16 > one dq 3FF0000000000000h > magic dq 7FDE6238502484BAh > > D:\gfortran\clf\reciprocal>type recip3.asm > ; recip3.asm -- accurate version > format MS64 coff > > public recip > section '.text' code readable executable > recip: > ; Load constants and input > vbroadcastsd ymm1, [one] > vpbroadcastq ymm4, [magic] > vmovdqu ymm0, [rcx] > ; ymm0 is input > ; Begin approximation > vpsubq ymm2, ymm4, ymm0 > ; ymm2 is initial approximation > ; First N-R iteration > vfnmadd213pd ymm0, ymm2, ymm1 > vfmadd132pd ymm2, ymm2, ymm0 > vmulpd ymm0, ymm0, ymm0 > ; Second N-R iteration > vfmadd132pd ymm2, ymm2, ymm0 > vmulpd ymm0, ymm0, ymm0 > ; Third N-R iteration > vfmadd132pd ymm0, ymm2, ymm2 > ; Fourth N-R iteration > vmovups ymm2, [rcx] > vfnmadd213pd ymm2, ymm0, ymm1 > vfmadd231pd ymm0, ymm2, ymm0 Here the last step is also better than the step I did in my "modified" accuracy test. It should greatly improve a standard deviation of the error and probably guarantees monotonicity. Unfortunately, even such step can't eliminate error of 1 ULP at the worst case. Or it can? > ; Store output > vmovups [rcx], ymm0 > ret > > section '.data' readable writeable align 16 > align 16 > one dq 3FF0000000000000h > magic dq 7FDE6238502484BAh > > D:\gfortran\clf\reciprocal>type ulps.f90 > program ulps > use ISO_FORTRAN_ENV > implicit none > interface > subroutine recip(x) bind(C,name='recip') > import > implicit none > real(REAL64) x(4) > end subroutine recip > end interface > integer i, j > real(REAL64) x(4), y(4), e(4) > real(REAL128) z(4) > integer b(4), h(-31:31) > > ! Randomizes in ifort -- more difficult in gfortran > call random_seed() > h = 0 > do i = 1, 10000000 > call random_number(x) > x = x+1 > y = x > call recip(y) > z = x > z = 1/z > e = (y-z)/spacing(y) > b = nint(10*e) > b = min(max(b,lbound(h,1)),ubound(h,1)) > do j = 1, 4 > h(b(j)) = h(b(j))+1 > end do > end do > do j = lbound(h,1),ubound(h,1) > write(*,*) j, h(j) > end do > end program ulps > > D:\gfortran\clf\reciprocal>type ulps.txt > Results for 4e7 random inputs. > Bins are 0.1 ulps wide. > > Clean version: > -31 0 > -30 0 > -29 0 > -28 0 > -27 0 > -26 0 > -25 0 > -24 0 > -23 0 > -22 0 > -21 0 > -20 9 > -19 797 > -18 5171 > -17 16807 > -16 39430 > -15 76588 > -14 135177 > -13 219552 > -12 330655 > -11 477925 > -10 660440 > -9 879433 > -8 1128662 > -7 1397261 > -6 1668195 > -5 1937880 > -4 2188852 > -3 2398981 > -2 2560148 > -1 2662296 > 0 2698265 > 1 2654846 > 2 2543898 > 3 2376599 > 4 2160164 > 5 1908524 > 6 1638941 > 7 1367804 > 8 1104850 > 9 857508 > 10 642918 > 11 462662 > 12 320888 > 13 211468 > 14 130684 > 15 75092 > 16 38324 > 17 16501 > 18 5015 > 19 775 > 20 15 > 21 0 > 22 0 > 23 0 > 24 0 > 25 0 > 26 0 > 27 0 > 28 0 > 29 0 > 30 0 > 31 0 > Accurate version: > -31 0 > -30 0 > -29 0 > -28 0 > -27 0 > -26 0 > -25 0 > -24 0 > -23 0 > -22 0 > -21 0 > -20 0 > -19 0 > -18 0 > -17 0 > -16 0 > -15 0 > -14 0 > -13 0 > -12 0 > -11 0 > -10 0 > -9 0 > -8 0 > -7 0 > -6 0 > -5 1998410 > -4 3998147 > -3 4001437 > -2 3998365 > -1 3998460 > 0 4002489 > 1 4000235 > 2 4002090 > 3 3999992 > 4 3999175 > 5 2001200 > 6 0 > 7 0 > 8 0 > 9 0 > 10 0 > 11 0 > 12 0 > 13 0 > 14 0 > 15 0 > 16 0 > 17 0 > 18 0 > 19 0 > 20 0 > 21 0 > 22 0 > 23 0 > 24 0 > 25 0 > 26 0 > 27 0 > 28 0 > 29 0 > 30 0 > 31 0 > I don't understand modern Fortran, so don't know what your numbers mean. Can you explain it? > D:\gfortran\clf\reciprocal>type recip4.asm > ; recip4.asm -- latency test > format MS64 coff > > public recip > public _rdtsc > section '.text' code readable executable > recip: > ; Load constants and input > vbroadcastsd ymm1, [one] > vpbroadcastq ymm4, [magic] > vmovdqu ymm0, [rcx] > ; 100 iterations > mov eax, 101 > .loop: > vpsubq ymm2, ymm4, ymm0 > vfnmadd213pd ymm0, ymm2, ymm1 > vfmadd132pd ymm2, ymm2, ymm0 > vmulpd ymm0, ymm0, ymm0 > vfmadd132pd ymm2, ymm2, ymm0 > vmulpd ymm0, ymm0, ymm0 > vfmadd132pd ymm2, ymm2, ymm0 > vmulpd ymm0, ymm0, ymm0 > vfmadd132pd ymm0, ymm2, ymm2 > dec eax > jnz .loop > vmovups [rcx], ymm0 > ret > > _rdtsc: > rdtsc > shl rdx, 32 > or rax, rdx > ret > > section '.data' readable writeable align 16 > align 16 > one dq 3FF0000000000000h > magic dq 7FDE6238502484BAh > > D:\gfortran\clf\reciprocal>type latency.f90 > program latency > use ISO_FORTRAN_ENV > implicit none > interface > subroutine recip(x) bind(C,name='recip') > import > implicit none > real(REAL64) x(4) > end subroutine recip > function rdtsc() bind(C,name='_rdtsc') > import > implicit none > integer(INT64) rdtsc > end function rdtsc > end interface > integer i > integer, parameter :: N = 11 > integer(INT64) t0(N),t1(N),t2(N) > real(REAL64) x(4), y(4) > > ! Randomizes in ifort -- more difficult in gfortran > call random_seed() > call random_number(x) > x = x+1 > y = x > do i = 1, N > t0(i) = rdtsc() > t1(i) = rdtsc() > call recip(y) > t2(i) = rdtsc() > end do > do i = 1, 4 > write(*,'(g0,2(1x,Z16.16))') x(i),transfer([y(i),1/x(i)],t0) > end do > do i = 1, N > write(*,*) t1(i)-t0(i),t2(i)-t1(i) > end do > end program latency > > D:\gfortran\clf\reciprocal>type latency.txt > Timing results for 101 iterations > > 1.800036018715733 3FE1C70521904A6F 3FE1C70521904A5F > 1.717589637262335 3FE2A17979BBA438 3FE2A17979BBA437 > 1.116468334989533 3FECA96C2FE79D00 3FECA96C2FE79CFF > 1.903738008261531 3FE0CF1CF56B3632 3FE0CF1CF56B3632 > 460 5172 > 24 34272 > 24 2952 > 24 2952 > 24 2952 > 24 2952 > 24 2952 > 24 2952 > 24 2952 > 24 2952 > 24 2952 > > D:\gfortran\clf\reciprocal>type recip5.asm > ; recip5.asm -- throughput test > format MS64 coff > > public recip > public _rdtsc > section '.text' code readable executable > recip: > ; Load constants and input > vbroadcastsd ymm1, [one] > vpbroadcastq ymm4, [magic] > xor eax, eax > .loop: > vmovdqu ymm0, [rcx+rax] > vpsubq ymm2, ymm4, ymm0 > vfnmadd213pd ymm0, ymm2, ymm1 > vfmadd132pd ymm2, ymm2, ymm0 > vmulpd ymm0, ymm0, ymm0 > vfmadd132pd ymm2, ymm2, ymm0 > vmulpd ymm0, ymm0, ymm0 > vfmadd132pd ymm2, ymm2, ymm0 > vmulpd ymm0, ymm0, ymm0 > vfmadd132pd ymm0, ymm2, ymm2 > vmovups [rcx+rax], ymm0 > > vmovdqu ymm3, [rcx+rax+32] > vpsubq ymm10, ymm4, ymm3 > vfnmadd213pd ymm3, ymm10, ymm1 > vfmadd132pd ymm10, ymm10, ymm3 > vmulpd ymm3, ymm3, ymm3 > vfmadd132pd ymm10, ymm10, ymm3 > vmulpd ymm3, ymm3, ymm3 > vfmadd132pd ymm10, ymm10, ymm3 > vmulpd ymm3, ymm3, ymm3 > vfmadd132pd ymm3, ymm10, ymm10 > vmovups [rcx+rax+32], ymm3 > > vmovdqu ymm5, [rcx+rax+64] > vpsubq ymm11, ymm4, ymm5 > vfnmadd213pd ymm5, ymm11, ymm1 > vfmadd132pd ymm11, ymm11, ymm5 > vmulpd ymm5, ymm5, ymm5 > vfmadd132pd ymm11, ymm11, ymm5 > vmulpd ymm5, ymm5, ymm5 > vfmadd132pd ymm11, ymm11, ymm5 > vmulpd ymm5, ymm5, ymm5 > vfmadd132pd ymm5, ymm11, ymm11 > vmovups [rcx+rax+64], ymm5 > > vmovdqu ymm6, [rcx+rax+96] > vpsubq ymm12, ymm4, ymm6 > vfnmadd213pd ymm6, ymm12, ymm1 > vfmadd132pd ymm12, ymm12, ymm6 > vmulpd ymm6, ymm6, ymm6 > vfmadd132pd ymm12, ymm12, ymm6 > vmulpd ymm6, ymm6, ymm6 > vfmadd132pd ymm12, ymm12, ymm6 > vmulpd ymm6, ymm6, ymm6 > vfmadd132pd ymm6, ymm12, ymm12 > vmovups [rcx+rax+96], ymm6 > > vmovdqu ymm7, [rcx+rax+128] > vpsubq ymm13, ymm4, ymm7 > vfnmadd213pd ymm7, ymm13, ymm1 > vfmadd132pd ymm13, ymm13, ymm7 > vmulpd ymm7, ymm7, ymm7 > vfmadd132pd ymm13, ymm13, ymm7 > vmulpd ymm7, ymm7, ymm7 > vfmadd132pd ymm13, ymm13, ymm7 > vmulpd ymm7, ymm7, ymm7 > vfmadd132pd ymm7, ymm13, ymm13 > vmovups [rcx+rax+128], ymm7 > > vmovdqu ymm8, [rcx+rax+160] > vpsubq ymm14, ymm4, ymm8 > vfnmadd213pd ymm8, ymm14, ymm1 > vfmadd132pd ymm14, ymm14, ymm8 > vmulpd ymm8, ymm8, ymm8 > vfmadd132pd ymm14, ymm14, ymm8 > vmulpd ymm8, ymm8, ymm8 > vfmadd132pd ymm14, ymm14, ymm8 > vmulpd ymm8, ymm8, ymm8 > vfmadd132pd ymm8, ymm14, ymm14 > vmovups [rcx+rax+160], ymm8 > > vmovdqu ymm9, [rcx+rax+192] > vpsubq ymm15, ymm4, ymm9 > vfnmadd213pd ymm9, ymm15, ymm1 > vfmadd132pd ymm15, ymm15, ymm9 > vmulpd ymm9, ymm9, ymm9 > vfmadd132pd ymm15, ymm15, ymm9 > vmulpd ymm9, ymm9, ymm9 > vfmadd132pd ymm15, ymm15, ymm9 > vmulpd ymm9, ymm9, ymm9 > vfmadd132pd ymm9, ymm15, ymm15 > vmovups [rcx+rax+192], ymm9 > > add rax, 224 > cmp rax, 4032 > jl .loop > ret > > _rdtsc: > rdtsc > shl rdx, 32 > or rax, rdx > ret > > section '.data' readable writeable align 16 > align 16 > one dq 3FF0000000000000h > magic dq 7FDE6238502484BAh > > D:\gfortran\clf\reciprocal>type throughput.f90 > program throughput > use ISO_FORTRAN_ENV > implicit none > interface > subroutine recip(x) bind(C,name='recip') > import > implicit none > real(REAL64) x(504) > end subroutine recip > function rdtsc() bind(C,name='_rdtsc') > import > implicit none > integer(INT64) rdtsc > end function rdtsc > end interface > integer, parameter :: N = 11 > integer(INT64) t0(N),t1(N),t2(N) > real(REAL64) x(504), y(504) > integer i > real(REAL64) e(N) > > ! Randomizes in ifort -- more difficult in gfortran > call random_seed() > do i = 1, N > call random_number(x) > x = x+1 > y = x > t0(i) = rdtsc() > t1(i) = rdtsc() > call recip(y) > t2(i) = rdtsc() > e(i) = maxval(abs(x*y-1)) > end do > do i = 1, N > write(*,*) e(i),t1(i)-t0(i),t2(i)-t1(i) > end do > end program throughput > > D:\gfortran\clf\reciprocal>type throughput.txt > Throughput test -- times are for 126 4-wide reciprocals > > 3.245960970242422E-016 32 1000 > 3.335530364899758E-016 24 672 > 3.609633370502643E-016 24 692 > 3.288326655173688E-016 32 636 > 2.739967408823667E-016 28 648 > 3.125845080721156E-016 28 632 > 2.827280702585918E-016 32 644 > 2.946925082685644E-016 28 640 > 3.598911741818497E-016 32 648 > 3.324698544377006E-016 32 636 > 2.942004556645072E-016 28 636 > > So accuracy is an error of up to 2 ulps for the 'clean' version > and 0.5 ulps for the accurate version with a full ab initio N-R > iteration #4. > > Latency is almost 29 clocks, 3 worse than my estimate and > reciprocal throughput is 4.9 clocks, almost 1 whole clock > worse than my estimate. I suppose, the numbers are for Haswell? > Happy now? Almost happy. Frankly, I don't see a point of your "clean" version. The latency is more than twice worse than HW and the throughput is not much better than 'accurate' version, if at all better. So, I would prefer to know timing data for the 'accurate' version.
[toc] | [prev] | [next] | [standalone]
| From | Terje Mathisen <terje.mathisen@tmsw.no> |
|---|---|
| Date | 2016-01-19 19:10 +0700 |
| Subject | Re: t cluttered |
| Message-ID | <n7l93c$1tpp$1@gioia.aioe.org> |
| In reply to | #32872 |
already5chosen@yahoo.com wrote: > On Tuesday, January 19, 2016 at 11:46:18 AM UTC+2, Nick Maclaren > wrote: >> And there is very little point in a slow hardware division, >> anyway. As we have discussed before, Newton-Raphson can be >> pipelined to a limited extent and, provided that those stages are >> integrated in the numeric instruction stream, that's about as fast >> as hardware division on almost all existing systems. > > Do you have numbers to back the above claim? As far as I know, if we > interpret 'about as fast' as "latency of DP division implemented by > NR is within factor of 1.5 of HW" then it was wrong on Intel CPUs for > as long as I remember (which is >15 years). Recently (since > Broadwell) it became wrong even for throughput of DP division. It is > possible that NR is still slightly ahead for vectorized throughput of > SP division, but even that is not sure. Vectorized division at ¨SP precision is far faster using NR, you only need a single iteration on top of the vector reciprocal lookup, it is just when you need exact IEEE results that the NR approach stumbles a bit. Brute force for exact SP would use reciprocal SP conversion, widen to DP then two double precision DP iterations. With 512-bit (Larrabee/Skylake) 64-byte vector registers you can work on 8 DP values in parallel, so your vector SP NR version would provide pretty good throughput. > > I didn't look at hard data on other fast CPUs. Are they different in > that regard? > >> As you say, doing better has been an intractable problem for six >> decades. > > Sounds wrong, at least for latency. Add more hardware + bigger LUTs > and you will easily leave NR far behind. And that even before we > start to discuss IEEE requirements for division. Having more & faster FMAC units for vector processing is far more generally useful than a fast scalar FDIV unit. Terje -- - <Terje.Mathisen at tmsw.no> "almost all programming can be viewed as an exercise in caching"
[toc] | [prev] | [next] | [standalone]
| From | MitchAlsup <MitchAlsup@aol.com> |
|---|---|
| Date | 2016-01-19 06:35 -0800 |
| Subject | Re: t cluttered |
| Message-ID | <c59065f9-d6c3-4c10-b9a7-cad077435e28@googlegroups.com> |
| In reply to | #32866 |
On Monday, January 18, 2016 at 5:27:26 PM UTC-6, Ivan Godard wrote: > On 1/18/2016 5:37 AM, Mike Stump wrote: > > In article <n769th$n5o$1@dont-email.me>, > > Ivan Godard <ivan@millcomputing.com> wrote: > > >> And there's some doubt whether we will ever have hardware division. > > > > Curious. Not even a slow one? > > > > Nope. It is very hard to pipeline a division, Errrr,,, NO. It takes crap loads of gates to pipeline division, but there is nothing in any of the division algorithms that makes it hard to pipeline--IF you can afford the gates. Instead of reusing one multiplier tree from pass to pass of the algorithm, use a new tree and let the old tree start a new division. PRESTO.
[toc] | [prev] | [next] | [standalone]
| From | Ivan Godard <ivan@millcomputing.com> |
|---|---|
| Date | 2016-01-19 10:49 -0800 |
| Subject | Re: t cluttered |
| Message-ID | <n7m0b4$6ps$1@dont-email.me> |
| In reply to | #32895 |
On 1/19/2016 6:35 AM, MitchAlsup wrote: > On Monday, January 18, 2016 at 5:27:26 PM UTC-6, Ivan Godard wrote: >> On 1/18/2016 5:37 AM, Mike Stump wrote: >>> In article <n769th$n5o$1@dont-email.me>, >>> Ivan Godard <ivan@millcomputing.com> wrote: >> >>>> And there's some doubt whether we will ever have hardware division. >>> >>> Curious. Not even a slow one? >>> >> >> Nope. It is very hard to pipeline a division, > > Errrr,,, NO. > > It takes crap loads of gates to pipeline division, but there is nothing in > any of the division algorithms that makes it hard to pipeline--IF you can > afford the gates. > > Instead of reusing one multiplier tree from pass to pass of the algorithm, > use a new tree and let the old tree start a new division. PRESTO. > :-) Not what I'd call a pipeline. After all, I can "pipeline" a payroll program by having one core for each cycle of the latency to produce a check, and starting a new employee each cycle, round robin. If you want to call that pipelining...
[toc] | [prev] | [next] | [standalone]
| From | krw <krw@nowhere.com> |
|---|---|
| Date | 2016-01-12 20:53 -0500 |
| Subject | Re: t cluttered |
| Message-ID | <u5bb9bldoeesbbfik4pdbfo7a8rd56dlhp@4ax.com> |
| In reply to | #32705 |
On Tue, 12 Jan 2016 22:05:06 +0100, David Brown <david.brown@hesbynett.no> wrote: >On 12/01/16 18:25, John Larkin wrote: >> On Tue, 12 Jan 2016 11:06:45 +0100, David Brown >> <david.brown@hesbynett.no> wrote: >> >>> On 11/01/16 20:12, John Larkin wrote: >>>> On Mon, 11 Jan 2016 13:42:57 -0500, Jerry Stuckle >>> >>>>> Nowadays processors (from micro to mainframe) are run by microcode. >>>> >>>> Not all. Some RISC machines are pure logic. ARM, Coldfire, maybe MIPS? >>> >>> (When the microcode based 68K architecture was being redesigned into a >>> RISC structure with little or no microcode for the Coldfire, the >>> designers planned to keep the microcoded division instructions. But >>> then someone noticed that a pure software division routine ran faster >>> than the microcoded division hardware, so support was dropped.) >> >> Some CPU, maybe the HPPA Risc or something, didn't even have a >> multiply instruction. It cluttered the pipeline so they eliminated it. > >There are plenty of small cpus with no multiply, in order to keep the >design small and simple. (I don't expect that die space was a major >factor when omitting a multiplier from the HPPA Risc, or whichever >processor you meant.) The interesting thing with division on the >Coldfire was that the software-only solution turned out to be faster >than the hardware (at least with the old design). THen there was the IBM 1800 (IIRC) that didn't have an add instruction. It was nicknamed CADET (can't add, didn't even try). When hardware is expensive, lots of things don't get done. > >> >> >>> >>> One of the driving forces of "RISC" compared to older "CISC" designs was >>> to get rid of microcode. >>> >>> And since by far most modern cpus (both in terms of the numbers >>> produced, and the number of designs) are microcontrollers, which almost >>> never use microcode, it's fair to say that only a small proportion of >>> currently active processors have microcode - even though those >>> processors are rather important. >> >> I think the fundamental RISC concept is to design an instruction set >> that's compiler friendly and not people friendly. CISC attempted to >> make assembly programming look like a programming language; RISC >> pretty much assumes that binaries are created by compilers. >> > >That's true. But a key point in a RISC design is that the instructions >should each be simple, and do one thing (so you have a "load" >instruction, and an "add" instruction, but not a "load then add" >instruction). Then you make these instructions run as fast as possible >- and that means no microcoding to add delays. As complexity of chips increased more of the CISCy instructions found their way into RISCy processors. They've more or less met in the middle. > >> >> >> >>> >>>> >>>> Intels are still microcode based. >>>> >>> >>> Yes, both Intel and AMD's x86 processors have a lot of microcode. But >>> they are not really "microcode based". Some parts, such as the FPU >>> (especially multi-cycle functions) are microcoded - but many other parts >>> are handled directly in hard logic. The distinction between what is >>> microcoded and what is hard logic is not easy to guess, and details are >>> considered part of the design secrets. >> >> They are stuck with a CISC instruction set that was originally >> microcoded. They have to work very hard to butcher that to make it >> fast. > >Yes. So what happens internally is that the CISC instructions are >decoded and turned into mostly RISC instructions of a design-specific >RISC cpu that is invisible to the programmer. In most cases, one CISC >instruction turns into one or more RISC instructions to avoid >microcoding - but sometimes a few CISC instructions map to one RISC >instruction, and for some units microcoding is still used. > >> >> >>> >>> Microcode lets Intel and AMD do some fixes by microcode patches, either >>> using the BIOS (needed for Windows) or loaded by the Linux kernel at >>> startup. >> >> Less bugs is another approach. >> > >:-) > >
[toc] | [prev] | [next] | [standalone]
| From | Dennis <dennis@none.none> |
|---|---|
| Date | 2016-01-13 14:56 -0600 |
| Subject | Re: t cluttered |
| Message-ID | <n76dhl$6vm$1@dont-email.me> |
| In reply to | #32717 |
On 01/12/2016 07:53 PM, krw wrote: > > THen there was the IBM 1800 (IIRC) that didn't have an add > instruction. It was nicknamed CADET (can't add, didn't even try). > When hardware is expensive, lots of things don't get done. It was the 1620. It used a table look up in memory for the add operations. If you modified the table you do other (sometimes useful) things with it - or so I was told by an x-ray crystallographer who did extensive programming on it. It used core memory that was heated to above room temperature to minimize thermal effect on the cores.
[toc] | [prev] | [next] | [standalone]
| From | krw <krw@nowhere.com> |
|---|---|
| Date | 2016-01-13 21:43 -0500 |
| Subject | Re: t cluttered |
| Message-ID | <tm2e9b9ate6deppevdbeam4acqkb3lpop8@4ax.com> |
| In reply to | #32735 |
On Wed, 13 Jan 2016 14:56:55 -0600, Dennis <dennis@none.none> wrote: >On 01/12/2016 07:53 PM, krw wrote: > >> >> THen there was the IBM 1800 (IIRC) that didn't have an add >> instruction. It was nicknamed CADET (can't add, didn't even try). >> When hardware is expensive, lots of things don't get done. > >It was the 1620. You're right, of course. >It used a table look up in memory for the add >operations. If you modified the table you do other (sometimes useful) >things with it - or so I was told by an x-ray crystallographer who did >extensive programming on it. It used core memory that was heated to >above room temperature to minimize thermal effect on the cores.
[toc] | [prev] | [next] | [standalone]
| From | Terje Mathisen <terje.mathisen@tmsw.no> |
|---|---|
| Date | 2016-01-13 13:24 +0800 |
| Subject | Re: t cluttered |
| Message-ID | <n74n1n$1m9$1@gioia.aioe.org> |
| In reply to | #32705 |
David Brown wrote: > On 12/01/16 18:25, John Larkin wrote: >> Some CPU, maybe the HPPA Risc or something, didn't even have a >> multiply instruction. It cluttered the pipeline so they eliminated it. > > There are plenty of small cpus with no multiply, in order to keep the > design small and simple. (I don't expect that die space was a major > factor when omitting a multiplier from the HPPA Risc, or whichever > processor you meant.) The interesting thing with division on the > Coldfire was that the software-only solution turned out to be faster > than the hardware (at least with the old design). If you have a fast/hw multiplier then it is relatively easy to use it to generate a sw DIV algorithm which will at least show better throughput than a classic 1 bit/cycle microcoded DIV instruction, i.e. similar to what a 486 used. The sw advantage increases with wider registers, since you can use quadratic NR approximations which only require one more iteration to get from 32 to 64 bits. BTW, it is still somewhat hard to synthesize a 128 DIV 64 -> 64 result/64 remainder, any suggestions? Terje -- - <Terje.Mathisen at tmsw.no> "almost all programming can be viewed as an exercise in caching"
[toc] | [prev] | [next] | [standalone]
| From | upsidedown@downunder.com |
|---|---|
| Date | 2016-01-13 10:15 +0200 |
| Subject | Re: t cluttered |
| Message-ID | <1mvb9b9m61fagfk89aj55ekh98mhe7fgpr@4ax.com> |
| In reply to | #32692 |
On Tue, 12 Jan 2016 09:25:25 -0800, John Larkin <jjlarkin@highlandtechnology.com> wrote: > >> >>One of the driving forces of "RISC" compared to older "CISC" designs was >>to get rid of microcode. >> >>And since by far most modern cpus (both in terms of the numbers >>produced, and the number of designs) are microcontrollers, which almost >>never use microcode, it's fair to say that only a small proportion of >>currently active processors have microcode - even though those >>processors are rather important. > >I think the fundamental RISC concept is to design an instruction set >that's compiler friendly and not people friendly. CISC attempted to >make assembly programming look like a programming language; RISC >pretty much assumes that binaries are created by compilers. The original reason of going to microcoding and CISC was the huge cost of memory. From CPU hardware design point of view it would be nice if the ALU function (ADD/SUB/AND/OR) and each data path (data selector) could be directly controlled by a bit in the instruction word. Unfortunately, for most instructions, there are a lot of "Don't care" bits, wasting a lot of expensive core memory bits. One way to avoid this is to use some compact instruction set in core memory and then use a complex instruction set decoder built from random logic to generate all the control point signals needed by the actual CPU hardware. At some point this became too complex and memory chips were used to convert the compacted instruction set to generate the individual data path control signals. In addition, some sequences were common, so it made sense to generate multiple long instruction word sequences using this compact to expanded microcode store. Core main memory was slow (about 1 us) so if the fast semiconductor microcode control store could generate multiple hardware sequences during that, this was definitively a win. This also further reduced the number of instruction needed to be stored in the main program memory. With the drop of memory prices and when caches become popular, it became realistic to use long memory words to (more or less) directly control each data path in the CPU and skip the microcode control store. Regarding CISC/RISC development, one might study the instruction set of the 16 bit Data General Nova from the 1970's. Some instruction set bits controlled directly the 74181 ALU chip function bits, some the Carry_In to that chip and some bits were used to control the data selectors.
[toc] | [prev] | [next] | [standalone]
| From | JJ <jj4public@vfemail.net> |
|---|---|
| Date | 2016-01-12 13:11 +0700 |
| Message-ID | <ic60xlf0ylws.1gqxay5mkxd5f$.dlg@40tude.net> |
| In reply to | #32664 |
On Mon, 11 Jan 2016 13:42:57 -0500, Jerry Stuckle wrote: > > Nowadays processors (from micro to mainframe) are run by microcode. A > problem like this can be in the circuitry (as was with the FPU problem > in the early-mid 90's) or it can be in the microcode. IOW, it can be a > hardware bug or a software bug :) > > Obviously if it's a microcode bug, an update should be able to fix it. > Even if it's a hardware bug, there might be a way around the bug in the > microcode. > > Being as this is a hang, my guess would be it's a microcode bug. But > obviously I don't know. Were there any information whether the CPU froze due to infinite loop or stop executing, internally? e.g. if it's due to an internal infinite loop, the CPU temperature won't decrease several minutes after it frozes. And if the CPU stops executing, could its state be an untrappable exception (i.e. hardware crash), deadlock, or a component which isn't either 0/false or 1/true (i.e. undetermined state; a kind of deadlock when the component is checked)?
[toc] | [prev] | [next] | [standalone]
| From | "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> |
|---|---|
| Date | 2016-01-12 02:45 -0500 |
| Message-ID | <n72aok$fst$1@dont-email.me> |
| In reply to | #32664 |
Jerry Stuckle wrote: > > Obviously if it's a microcode bug, an update should be able to fix it. > Even if it's a hardware bug, there might be a way around the bug in > the microcode. That's not so obvious unless the microcode is in flash. Isn't it a mask ROM? --
[toc] | [prev] | [next] | [standalone]
| From | Paul <nospam@needed.com> |
|---|---|
| Date | 2016-01-12 04:38 -0500 |
| Message-ID | <n72hcv$4so$1@dont-email.me> |
| In reply to | #32682 |
Tom Del Rosso wrote:
> Jerry Stuckle wrote:
>> Obviously if it's a microcode bug, an update should be able to fix it.
>> Even if it's a hardware bug, there might be a way around the bug in
>> the microcode.
>
> That's not so obvious unless the microcode is in flash. Isn't it a mask
> ROM?
>
Try page 431 here, section 9.11.1 "Microcode Update".
Microcode updates are a part of the BIOS flash image, and a
file in the BIOS file system contains a set of updates.
A typical file in the past, might have contained
eight patches. I used to dissect these, so I could
tell people whether there was a patch for their
non-standard processor or not. (Maybe someone stuffs
a Xeon into a regular desktop socket.)
https://web.archive.org/web/20110516145322/http://www.intel.com/Assets/PDF/manual/253668.pdf
Intel don't generally give information about the "encrypted
data" within a patch.
Some processors, the patch area is only 2KB in size.
Later processors, the patching format was made variable
length, in multiples of 2KB. I've taken apart a BIOS
module before, and found some of the slightly longer
patches (at least 4KB long, maybe slightly longer).
Some processors have as many as 1000 instructions, and
it's not clear that the patch actually contains an entire
microcode. But without a document describing the encrypted
section, we'll never know. It's encrypted presumably to
prevent some sort of hacking (bypassing security features
such as they are).
Intel provides a file suitable for usage by Linux, and
this is a text file for inclusion in compiled code.
Unpack the tar file, get the .dat out, change the
file extension to text and have a look. You can then
compare the samples in here, to the header format
in the above architecture book.
https://downloadmirror.intel.com/18148/eng/microcode-20090927.tgz
/* Sun Sep 27 10:52:54 CST 2009 */
/* 727-MU168313.inc */
0x00000001, 0x00000013, 0x02062001, 0x00000683,
0x2f0da1b0, 0x00000001, 0x00000001, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0xbf5ad468, 0xc79f5237, 0xbd53889e, 0x896bfd13,
0x7adc0c8f, 0x44e9e0bc, 0x1a331fc9, 0x00b0f479,
0x53e9ceb3, 0xb14131a4, 0x39fc8310, 0x6993ee0d,
0xdb0c59b4, 0x67f24fd0, 0x63e83516, 0x0a4d411d,
0xb86a4294, 0x72c2edc5, 0xc543c5df, 0x7f3dd290,
...
The only vaguely interesting part, is the bit at the beginning,
as the encrypted body, we can't look at that. I'm sure someone
has figured out by now, how that is encrypted, and it's even
possible that is a variant design as well (encryption became
stronger with time). Whatever encryption they used in the P6
era, probably isn't strong enough any more.
Both the BIOS and the OS have a patcher. Patches are only
accepted, if the version number of the patch is higher than
the current version number loaded. And you can check whether
a patch has "taken" later, by using Intel PIU or similar.
So if I checked the BIOS and the version was 07 for your
processor, Intel PIU should report at least 07, and if the
OS loaded 11, then Intel PIU would report 11 instead of 07.
The BIOS must be able to patch out egregious bugs well enough
to allow OS booting to finish. The OS may have a later
version than the crusty old BIOS file content you were
given.
If Asus provides say, eight different versions of BIOS images
for your downloading pleasure, perhaps four of those contain
no substantive changes, and they have the latest versions of
Intel microcode content. So when it says "supports new processors",
sometimes that includes new microcode with a higher version
number. Part of the BIOS support is "recognition" code,
and some is "new microcode patches". Without recognition
code, the BIOS may declare "you have a P6", when you actually
have a Core2, that sort of thing. I have at least one computer
here, where the recognition is wrong, and the thing still works.
That's because I patched the microcode by hand, so the microcode
is actually up to date, but the recognition section, I didn't
have a way to modify that.
The BIOS also used to include a "microcode cache" function.
At least the BIOS for Award, there is a way to load the
microcode yourself, it is stored in flash in the BIOS.
It's non-volatile until you pull the CPU out of the
socket, and plug in another CPU. Doing so would purge the
cache, and you'd have to do the manual loading operation
again if you put the original processor back. The machine I
manually patched, I haven't pulled the processor out of it
since that. I probably wouldn't remember how to repeat
the procedure now. I was putting a Tualatin in a motherboard
that wasn't intended for Tualatin.
HTH,
Paul
[toc] | [prev] | [next] | [standalone]
Page 9 of 10 — ← Prev page 1 … 7 8 [9] 10 Next page →
Back to top | Article view | comp.arch
csiph-web