00:00:00 --- log: started retro/11.02.08 01:48:15 --- log: started retro/11.02.08 01:48:15 --- join: clog (nef@bespin.org) joined #retro 01:48:15 --- topic: 'Retro Language | http://retroforth.org | Logs @ http://bit.ly/ayTmLI | Release 10.7.6 @ http://bit.ly/gSLQdD | Fossil Repo @ http://rx-core.org | Corpse Blog @ http://rx-core.org/dev/corpse | Forums @ http://forthcommunity.com | Donations @ https://www.wepay.com/donate/179527' 01:48:15 --- topic: set by crc!~quassel@li125-93.members.linode.com on [Sat Jan 29 13:39:05 2011] 01:48:15 --- names: list (clog oPless yiyus_ SimonRC cfa @ChanServ scj @crc) 05:32:54 --- nick: yiyus_ -> yiyus 06:37:04 --- join: docl (~Luke@184-100-176-62.ptld.qwest.net) joined #retro 06:47:39 --- join: aisa (~aisa@173-10-243-253-Albuquerque.hfc.comcastbusiness.net) joined #retro 08:38:55 --- join: qbject (417dcfe2@gateway/web/freenode/ip.65.125.207.226) joined #retro 10:07:52 --- join: Mat2 (5b4085ac@gateway/web/freenode/ip.91.64.133.172) joined #retro 10:08:07 good afternoon 10:53:47 --- quit: yiyus (Ping timeout: 255 seconds) 10:55:17 --- join: yiyus (1242712427@je.je.je) joined #retro 11:09:09 I reimplemented /mod in python and lua; those should now work properly (found bugs with the previous attempt) 11:15:04 seems I've found a gcc specific bug for signed divisions but not sure at moment 11:16:24 what bug? 11:16:50 -9 / 3 gives me a pseudo random number 11:17:05 the generated code looks really strange 11:18:39 I get -3 for that 11:20:29 hmm, a little assembler program with idiv results in the same error 11:20:43 but only with my atom cpu 11:20:52 *head scratch* 11:21:37 seems a bad day for me :( 11:23:30 odd 11:26:54 I can reproducting the error only for my atom cpu (n5550) 11:27:02 sorry, n550 11:27:14 reproduce 11:31:04 hey, that's a real cpu bug ! 11:32:22 fascinating like the FDIV bug in early Pentium cpu's 11:33:27 paste the code, I got a n550 11:33:43 one moment please 11:36:27 mov rax,-9 11:36:32 mov rbx,3 11:36:50 idiv ebx 11:39:23 (using fdbg) 11:47:07 use nasm if you don't have fdbg 11:47:27 and gdb 11:55:49 --- quit: Mat2 (Ping timeout: 245 seconds) 11:56:58 --- join: Mat2 (5b4085ac@gateway/web/freenode/ip.91.64.133.172) joined #retro 11:57:40 ok, my fault. The error only occur if rdx is empty (xor rdx,rdx) 11:57:45 so the following sequence 11:57:51 is executed 11:57:56 mov rax,-9 11:58:02 mov rbx,-3 11:58:06 xor rdx,rdx 11:58:10 idiv rbx 11:58:59 ciao 11:59:08 --- quit: Mat2 (Client Quit) 12:13:58 ruby vm is fixed; now the common lisp one... 12:23:32 that was easy :) 12:51:15 crc You're a machine! 13:30:00 qbject: I do what is necessary 14:08:26 crc: Well, it's appreciated. 14:31:59 --- quit: aisa (Quit: aisa) 14:57:23 --- quit: qbject (Ping timeout: 245 seconds) 18:50:43 --- join: crc_nook (b84db914@gateway/web/freenode/ip.184.77.185.20) joined #retro 20:04:52 --- quit: crc_nook (*.net *.split) 20:04:55 --- quit: ChanServ (*.net *.split) 20:04:55 --- quit: crc (*.net *.split) 20:04:56 --- quit: SimonRC (*.net *.split) 20:04:56 --- quit: scj (*.net *.split) 20:04:57 --- quit: oPless (*.net *.split) 20:04:58 --- quit: cfa (*.net *.split) 20:04:58 --- quit: docl (*.net *.split) 20:05:39 --- join: docl (~Luke@184-100-176-62.ptld.qwest.net) joined #retro 20:05:39 --- join: oPless (simon@nas0.tetracite.com) joined #retro 20:05:39 --- join: SimonRC (~sc@fof.durge.org) joined #retro 20:05:39 --- join: cfa (~cfa@unaffiliated/cfa) joined #retro 20:05:39 --- join: ChanServ (ChanServ@services.) joined #retro 20:05:39 --- join: scj (scj@mycrosoft.us) joined #retro 20:05:39 --- join: crc (~quassel@li125-93.members.linode.com) joined #retro 20:05:39 --- mode: holmes.freenode.net set +oo ChanServ crc 21:38:55 --- join: roarde (~roarde@pdpc/supporter/active/sixforty) joined #retro 22:25:18 --- quit: roarde (Ping timeout: 255 seconds) 22:37:38 --- join: roarde (~roarde@pdpc/supporter/active/sixforty) joined #retro 22:39:22 (01:56:58 AM) ChanServ: (notice) [#retro] Welcome to RetroForth! 23:44:01 --- quit: roarde (Quit: Leaving.) 23:59:59 --- log: ended retro/11.02.08