Commit Graph

6618 Commits (3d0c9c4337a6361f73190c421bc3e82ef831452c)

Author SHA1 Message Date
Keith Lazuka 91c7eb9eea Renamed a Factor theme color to something more sensible. 2009-09-14 09:01:03 -04:00
Keith Lazuka d0652d9d0b help.stylesheet: fixed black border bug around nav links in HTML documentation 2009-09-14 08:50:58 -04:00
Slava Pestov 0cadfcd7eb Merge branch 'master' of git://factorcode.org/git/factor 2009-09-14 02:39:24 -05:00
Slava Pestov c4f3a42269 math.floats.env: Fix linux x86.64 some more 2009-09-14 02:39:12 -05:00
Joe Groff 8fe9bf5429 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-13 23:40:58 -05:00
Joe Groff fb43ae2daf save the FP status out of the signal context and use it as part of the fp trap factor exception. clear the FP status before continuing after an exception 2009-09-13 23:39:12 -05:00
Slava Pestov 05b51d2739 math.floats.env: modify tests to take buggy Linux/x86-64 pow() into account 2009-09-13 23:26:09 -05:00
Slava Pestov a2de9d9e54 compiler.cfg.builder: don't run certain tests if float intrinsics are not available 2009-09-13 23:12:47 -05:00
Slava Pestov abedea0ccb math.functions: loosen tests up a bit since exp(1) on FreeBSD x86/64 differs from e in the last bit 2009-09-13 22:33:12 -05:00
Slava Pestov 3ab6dbac22 math.floats.env: fix compiled trap unit tests 2009-09-13 18:22:49 -05:00
Philipp Brüschweiler a8d1cd3135 xml-rpc: fix post-rpc 2009-09-13 21:40:58 +02:00
Slava Pestov 520ff4a26c Merge branch 'master' of git://factorcode.org/git/factor 2009-09-13 00:24:46 -05:00
Slava Pestov 16209bf68d specialized-arrays: fix unit tests now that ALIEN: expects a hex literal 2009-09-13 00:24:31 -05:00
Doug Coleman 51a3ca5b90 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-13 00:22:06 -05:00
Doug Coleman 4f094a7ce5 fix bootstrap on openbsd 2009-09-13 00:21:57 -05:00
Slava Pestov 7b36689416 core-foundation.strings: fix load error 2009-09-13 00:17:24 -05:00
Slava Pestov d14f227905 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-13 00:09:09 -05:00
Slava Pestov 3a61107f1d typos in altivec env 2009-09-12 22:30:11 -05:00
Slava Pestov 32b95c2cdf math: add unordered comparison operators u< u<= u> u>= which behave exactly like < <= > >= except no floating point exceptions are set if one or both inputs are NaNs; also add efficient intrinsic for unordered? predicate, and fix propagation type functions for abs, absq, and bitnot 2009-09-12 22:20:13 -05:00
Slava Pestov 5dfd1c70f0 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-12 21:45:22 -05:00
Slava Pestov 6eaadb7ea9 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-12 21:19:20 -05:00
Slava Pestov a2b864e4f5 ALIEN: now reads a hexadecimal integer instead of a decimal one, since in general hex is more useful for addresses 2009-09-12 21:17:53 -05:00
Doug Coleman 00e8e11d18 list file-systems with statfs instead of statvfs on openbsd 2009-09-12 21:05:26 -05:00
Joe Groff 53e23de104 set altivec denormal flag when with-denormal-mode is used 2009-09-12 20:39:41 -05:00
Joe Groff 54162af3fe Merge branch 'master' of git://factorcode.org/git/factor 2009-09-12 19:45:47 -05:00
Joe Groff e70fa134b2 add full complement of [SU]Int[0-9]+ typedefs to core-foundation 2009-09-12 19:43:57 -05:00
Joe Groff 6ce3c1d62c CFSTRING: syntax for defining CF/Cocoa string constants. update core-foundation.run-loop to use CFSTRING: 2009-09-12 19:43:23 -05:00
Joe Groff 6d328be69b all-fp-exceptions constant 2009-09-12 18:13:25 -05:00
Slava Pestov 1337f82ce6 math.order: better docs 2009-09-12 16:33:42 -05:00
Slava Pestov 87c7f882ca db: fix with-book-db combinator in db tutorial 2009-09-12 16:05:05 -05:00
Slava Pestov 3c55e7fe0c Add NAN: literal syntax for NANs with a payload 2009-09-12 15:06:15 -05:00
Slava Pestov 699695ba14 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-12 14:05:18 -05:00
Slava Pestov 54de7f09f6 Merge branch 'ui' of git://github.com/klazuka/factor 2009-09-12 14:05:05 -05:00
Slava Pestov 74cebff371 windows.dinput.constants: fix load error 2009-09-12 13:25:31 -05:00
Slava Pestov 7ae147c3bf tools.deploy.test: cut Windows some slack 2009-09-12 13:24:45 -05:00
Slava Pestov 51dd22b119 math.floats.env.ppc: fix ppc-fp-traps>bit 2009-09-12 12:57:15 -05:00
Slava Pestov d5206b26ec math.floats.env.ppc: fix ppc-fp-traps-bits 2009-09-12 12:49:51 -05:00
Joe Groff d4ee121750 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-12 09:04:53 -05:00
Joe Groff df4d1f8dd2 typos in math.floats.env.ppc 2009-09-12 09:03:27 -05:00
Slava Pestov b61ff44b66 math.vectors.simd: don't run x86-specific tests on PPC 2009-09-11 21:38:40 -05:00
Keith Lazuka 726ad992a3 Pull in new literals vocab to remove bootstrap circularity
Merge branch 'master' into ui
2009-09-11 22:19:46 -04:00
Slava Pestov a86a9c99f7 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-11 21:03:46 -05:00
Slava Pestov f1ae72413b literals: remove $$ and combinators.smart dependency 2009-09-11 21:03:24 -05:00
Slava Pestov dd661edf46 compiler.tree.propagation: convert /i of a positive integer by a power of two into a shift 2009-09-11 21:03:11 -05:00
Slava Pestov 86a848bae6 compiler.cfg.intrinsics: compile float-mod as a ##binary-float-function instead of a primitive call 2009-09-11 21:00:17 -05:00
Keith Lazuka 12446adfc2 vocabs.prettyprint: fixed indentation 2009-09-11 21:46:16 -04:00
Keith Lazuka 0e176d8de7 prettyprint.stylesheet: more idiomatic Factor style (thanks Slava) 2009-09-11 21:45:44 -04:00
Slava Pestov a25ef8b5d9 definitions.icons: fix circularity 2009-09-11 20:33:11 -05:00
Joe Groff 1be4c3a6a7 typo 2009-09-11 20:31:06 -05:00
Joe Groff 67893e5af9 json.reader doesn't need to USE: math.parser.private anymore since I made float>string public 2009-09-11 20:29:02 -05:00
Joe Groff ffcc630601 log1+ word (maps to C99 log1p function) 2009-09-11 20:28:15 -05:00
Keith Lazuka 65e9c29a7b io.styles: bailed out on the with-nested-styles combinator 2009-09-11 20:35:56 -04:00
Slava Pestov 3026d5b00b definitions.icons: add icons for authors and tags, fixing bug reported by tsculpt 2009-09-11 18:16:28 -05:00
Slava Pestov ace0c3a15a Doc fixes 2009-09-11 17:59:04 -05:00
Slava Pestov 16144a5eda Load fixes 2009-09-10 21:41:12 -05:00
Slava Pestov d5bc1ceca2 classes.struct: fix some bugs
- STRUCT: foo<ENTER> in listener threw an error
- S{ did not throw an error when used with non-struct types
- attempting to subclass a struct class now fails
- forgetting a struct class now removes the corresponding C type
- 'see'ing a struct class now indents correctly
2009-09-10 15:59:27 -05:00
Slava Pestov 5cdb67d571 specialized-arrays, specialized-vectors: fix some code duplication and prettyprinting 2009-09-10 14:46:26 -05:00
Slava Pestov dfb07601fa Merge branch 'for-slava' of git://git.rfc1149.net/factor 2009-09-10 13:15:18 -05:00
Slava Pestov 64cddef3e1 cpu.ppc: fix %single>double-float and %double>single-float 2009-09-10 13:04:58 -05:00
Keith Lazuka e1979f5ad5 help browser: tweaked the colors based on user feedback.
The USING: line should be easier to read now.
I also decided to stop highlighting symbols.
2009-09-10 13:27:49 -04:00
Slava Pestov 658017999d Merge branch 'master' of git://factorcode.org/git/factor 2009-09-10 00:50:44 -05:00
Slava Pestov 91e7e1eeea Fix the build 2009-09-10 00:47:01 -05:00
Joe Groff bda5963c62 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-09 23:38:01 -05:00
Joe Groff 61851fcd7a take the union of the x87 and sse exception flags when reporting fp-exception-flags. add back the unit tests i took out since this should fix the problem 2009-09-09 23:37:48 -05:00
Slava Pestov 7f2e2b1777 Specialized array overhaul
- Replace hand-written specialized-arrays.* subvocabularies with new system; instead of USE:ing specialized-arrays.T, do SPECIALIZED-ARRAY: T
- Ditto for specialized-vectors; use SPECIALIZED-VECTOR:
- io.mmap.functor: removed entirely, use <mapped-array> instead
- struct-arrays and struct-vectors have been removed because specialized arrays and vectors subsume them entirely
2009-09-09 22:33:34 -05:00
Joe Groff 3d49cc5a0d change math.floats.env tests not to use any libm functions, which don't reliably set the right hardware exceptions on linux glibc 2009-09-09 18:00:38 -05:00
Joe Groff 01b5430fbf make math.floats.env backends unportable 2009-09-09 17:32:26 -05:00
Joe Groff 4d1e832f79 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-09 17:14:48 -05:00
Joe Groff c50a35c062 altivec instructions for powerpc assembler 2009-09-09 17:14:36 -05:00
Keith Lazuka 6fdd005b5c prettyprint.stylesheet: fixed an error found by help-lint 2009-09-09 16:46:05 -04:00
Keith Lazuka 51f40e2727 vocabs.prettyprint: made the auto-use vocab box a little easier to read 2009-09-09 16:39:26 -04:00
Keith Lazuka a96e828d7c io.styles: renamed the 'border-width' style to 'inset'. inset takes a pair of 2 numbers (horizontal and vertical insets) 2009-09-09 15:50:25 -04:00
Samuel Tardieu d23286a9ef Do not repeat sanity tests at each iteration 2009-09-09 21:35:24 +02:00
Keith Lazuka 5421f4fcb4 prettyprint.stylesheet: USING/USE/IN are now dimmed out. Added documentation. 2009-09-09 15:27:49 -04:00
Slava Pestov ed09dfe3ae Merge branch 'master' of git://factorcode.org/git/factor 2009-09-09 13:56:20 -05:00
Slava Pestov daff63071f Fix the build 2009-09-09 13:44:54 -05:00
Keith Lazuka 28b8703b5b help.html: link color now matches help.stylesheet link color 2009-09-09 13:33:40 -04:00
Keith Lazuka 1bb48ec9ea Changed Browser's "Up:" links to a traditional breadcrumbs list.
Tweaked a few colors in the Factor UI.
2009-09-09 10:44:41 -04:00
Slava Pestov db4f8f47ea Merge branch 'master' of git://factorcode.org/git/factor 2009-09-08 23:54:05 -05:00
Slava Pestov a01f693335 cpu.ppc: fix bootstrap 2009-09-08 23:53:51 -05:00
Joe Groff 1c62a978d0 add some tests to help track down leaks in FP state changes 2009-09-08 23:07:33 -05:00
Slava Pestov 0e2a3e4292 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-08 22:34:17 -05:00
Slava Pestov cd5133b233 cpu.x86: tweak SIMD intrinsics 2009-09-08 22:34:01 -05:00
Joe Groff f166797dd4 no really, update ppc for argument order changes 2009-09-08 22:21:00 -05:00
Joe Groff 3003b9e5d0 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-08 21:58:25 -05:00
Joe Groff c95a7febb0 update cpu.ppc for argument order changes 2009-09-08 21:58:11 -05:00
Slava Pestov 15d85c1c4f compiler.cfg.save-contexts: add new pass 2009-09-08 21:56:28 -05:00
Slava Pestov 8916fb7a3c Merge branch 'master' of git://factorcode.org/git/factor 2009-09-08 21:51:21 -05:00
Slava Pestov 7e2f0e5dbf compiler: separate ##save-context instruction from ##alien-invoke, generate a ##save-context for libm calls, and add a pass to combine multiple context saves within a basic block. Fixes crashes with FP traps thrown by libm functions on x86-32 2009-09-08 21:50:55 -05:00
Joe Groff 9be1f42fe9 typos in cpu.ppc 2009-09-08 21:44:11 -05:00
Slava Pestov 7473983383 tools.annotations: document the fact that certain words should not be annotated 2009-09-08 20:49:12 -05:00
Slava Pestov 410d2bf0d0 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-08 19:35:14 -05:00
Slava Pestov 74fa73aeaf Fix various test failures 2009-09-08 19:18:56 -05:00
Doug Coleman 1fc0940b2a make something private 2009-09-08 17:10:19 -05:00
Doug Coleman d02d95ea34 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-08 17:05:58 -05:00
Doug Coleman 5a7ac3965d use raw pathnames for file-systems word 2009-09-08 17:05:05 -05:00
Joe Groff 7be557d100 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-08 17:04:44 -05:00
Joe Groff 0ea9949e51 split unordered and ordered float comparison intrinsics in compiler; generate only unordered comparisons for now 2009-09-08 17:04:26 -05:00
Doug Coleman 740a175e56 duplicate using 2009-09-08 17:02:31 -05:00
Slava Pestov fe25bb097f Merge branch 'master' of git://factorcode.org/git/factor 2009-09-08 16:23:37 -05:00
Slava Pestov 9159ce74ab ui.tools.browser: don't scroll up when reloading page 2009-09-08 16:23:12 -05:00
Slava Pestov c52ffebffe math.rectangles.positioning: don't position popups off-screen 2009-09-08 16:23:02 -05:00
Joe Groff f2212acd46 Merge branch 'master' into strong-typing 2009-09-08 15:53:20 -05:00
Joe Groff 7a2aecea1c Merge branch 'master' of git://factorcode.org/git/factor 2009-09-08 15:48:18 -05:00
Joe Groff 1fcc0875ba update math.floats.env.x86 for sse detection change 2009-09-08 15:47:03 -05:00
Slava Pestov 5786ea76d9 debugger: doc fixes 2009-09-08 15:43:00 -05:00
Joe Groff 2ad9459b85 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-08 15:37:32 -05:00
Joe Groff 0ec342a1c5 factor out x86 and ppc backends for math.floats.env; update both x87 and SSE state on x86 2009-09-08 15:36:53 -05:00
Slava Pestov e2fa28a727 tools.deploy.shaker: strip out math.vectors specializations 2009-09-08 15:20:46 -05:00
Slava Pestov 33bfb95614 Fix some annoying circularity; prettyprinter cannot depend on any vocab that depends on locals or stack-checker 2009-09-08 15:15:36 -05:00
Slava Pestov d596e3abe7 math.vectors.simd: fix help rendering 2009-09-08 14:49:27 -05:00
Slava Pestov 12102e488f see: don't show accessor methods in see-methods 2009-09-08 14:46:36 -05:00
Slava Pestov c4c6c6b986 ui.gadgets.buttons: don't show message if no shortcut assigned 2009-09-08 14:46:16 -05:00
Slava Pestov 6d1e4947e8 Merge branch 'ui-tweaks' of git://github.com/klazuka/factor 2009-09-08 14:37:05 -05:00
Keith Lazuka ab7e2fc69b Factor theme colors are now referenced by name.
Added a text file, "factor-colors.txt", which is like "rgb.txt" except it lists the theme colors used in the Factor UI.

Changed url-style color to DodgerBlue4 to match link-style.
2009-09-08 15:25:27 -04:00
Slava Pestov a0e1af5891 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-08 14:22:52 -05:00
Slava Pestov 8b6ec8e030 cpu.x86.features: better wording 2009-09-08 14:17:05 -05:00
Doug Coleman 759159f86b Merge branch 'master' of git://factorcode.org/git/factor 2009-09-08 14:15:53 -05:00
Doug Coleman eb558fcc9c remove deprecated inotify-event struct 2009-09-08 14:15:25 -05:00
Slava Pestov e5e7c1f725 cpu.x86.features: add -sse-version command-line switch to override SSE detection 2009-09-08 13:56:37 -05:00
Slava Pestov 1e5bc3b376 inline alien-vector and set-alien-vector if SIMD is not available for a small speedup 2009-09-08 13:56:17 -05:00
Slava Pestov 82a8ef7beb math.vectors.simd: remove useless dependency 2009-09-08 13:55:56 -05:00
Slava Pestov aa4307765b Merge branch 'master' into simd 2009-09-08 13:38:14 -05:00
Slava Pestov f5536bdde0 math.vectors.specialization: specialized vector words are now subwords of the generic vector word. This ensures that specializations get compiled correctly in all cases 2009-09-08 13:37:25 -05:00
Doug Coleman 942fb7b048 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-08 13:22:52 -05:00
Keith Lazuka 9c7d45e08a Removed text shadow support 2009-09-08 14:22:27 -04:00
Slava Pestov 2d46cfdf9e Improved line number handling for unit test failure errors 2009-09-08 13:13:30 -05:00
Slava Pestov c707ba5d61 Merge branch 'for-slava' of git://git.rfc1149.net/factor 2009-09-08 13:09:27 -05:00
Slava Pestov 0c936c14ca Merge branch 'for-slava' of git://git.rfc1149.net/factor into simd 2009-09-08 13:02:00 -05:00
Keith Lazuka 3fb75247b2 Applied ui-tweaks patchset.
- prettyprinter now does syntax highlighting of Factor code
- added a prettyprinter.stylesheet vocab
- text shadow character style for formatted streams
- text shadow for labels
- toolbar buttons display keyboard shortcut in status bar rather than in the button title
- changed some colors in help.stylesheet to match the colors in Factor's scrollbars and border-buttons
- changed status bar color to match the dark blue in Factor's scrollbars
- added some internal padding to the browser gadget to give the article content some breathing room

NOTE: I removed the "pane" slot from browser-gadget. The slot was never used (at least in my image), and now that the browser-gadget's help-pane is wrapped by a "border" gadget, the slot name would be misleading.
2009-09-08 13:30:30 -04:00
Slava Pestov 38c961cf6f Fixes 2009-09-08 00:13:18 -05:00
Slava Pestov bbca00e2ae Fix conflicts 2009-09-07 23:51:25 -05:00
Slava Pestov 9f9b6bca01 compiler.tree.propagation: type check inputs to unsafe foldable words manually, so that stuff like [ "Hi" { } fixnum+fast ] doesn't crash in the compiler 2009-09-07 23:40:23 -05:00
Slava Pestov 0ad4557d62 tools.deploy: fix facepalm 2009-09-07 22:48:57 -05:00
Slava Pestov ed60c89e94 tools.deploy: add unit test to ensure Cocoa binding works in deployed apps 2009-09-07 17:59:34 -05:00
Slava Pestov a1ae209f81 compiler.tree.propagation.call-effect: stronger call( inlining; now can inline 'a [ b ] curry call(' where 'a' is literal, [ b ] doesn't infer, but [ a b ] does infer. This simplifies classes.struct:memory>struct 2009-09-07 17:45:03 -05:00
Joe Groff e3509e7f11 tighten up math.floats.env docs 2009-09-07 10:50:40 -05:00
Joe Groff 25b45d6af0 test fp traps 2009-09-06 09:04:46 -05:00
Joe Groff e705470d42 make public words for querying current rounding mode, denormal mode, and trap set 2009-09-06 08:50:54 -05:00
Joe Groff 7ba71a524e Send FP trap signals to Factor as a different vm-error type 2009-09-06 08:44:25 -05:00
Joe Groff 96db254311 unit tests for math.floats.env 2009-09-06 07:50:56 -05:00
Joe Groff 36ec53a968 math.floats.env vocab with words to control the floating-point environment
add some functions to the VM to grab and set the fpu control register
2009-09-05 19:48:13 -05:00
Slava Pestov 75f7e27c6c Use new-style structs for overlapped struct on Windows 2009-09-05 16:20:58 -05:00
Slava Pestov 9881332ddb windows.com.prettyprint: add unportable tag 2009-09-05 10:59:40 -05:00
Slava Pestov 1798000335 Fix unit tests for specialized-arrays.direct change 2009-09-05 02:26:06 -05:00
Slava Pestov a054ec3d64 specialized-arrays.direct is no more; instead, every specialized-array.<foo> vocabulary has a <direct-T-array> constructor 2009-09-04 22:01:55 -05:00
Slava Pestov 3e6189fec1 windows.com: split off prettyprinting into windows.com.prettyprint 2009-09-04 22:00:23 -05:00
Slava Pestov 1bdaebdf5e tools.deploy.shaker: strip out struct slot info 2009-09-04 21:59:49 -05:00
Slava Pestov 084c3cac3d io.launcher.windows.nt: make tests more robust 2009-09-04 21:59:11 -05:00
Joe Groff f93f96150e Merge branch 'master' of git://factorcode.org/git/factor 2009-09-04 12:30:48 -05:00
Joe Groff d47d747ebc i had comisd/ucomisd backwards on x86 2009-09-04 12:30:30 -05:00
Slava Pestov 0238fce941 ui.backend.x11: fix set-fullscreen 2009-09-04 12:35:45 -04:00
Slava Pestov 382e1d5b0e fix some typos in cpu.ppc 2009-09-04 11:18:41 -05:00
Slava Pestov 92d5d8f0c5 Merge branch 'master' of git://factorcode.org/git/factor into ppc-float-compare 2009-09-04 10:58:50 -05:00
Joe Groff 638e351131 update powerpc compiler to generate correct float comparisons 2009-09-04 10:51:12 -05:00
Slava Pestov f0d5f99d23 io.backend.windows: fix for deployment 2009-09-04 09:27:46 -05:00
Slava Pestov b238a1719f io.backend.windows.nt.privileges: fix make-token-privileges 2009-09-04 09:08:04 -05:00
Slava Pestov fc1bf07a1f cpu.ppc: fix typo 2009-09-04 06:41:33 -05:00
Slava Pestov c9e04cd8f5 match: cleanup 2009-09-04 06:11:28 -05:00
Slava Pestov 223b907219 Fix sockets on Windows, and re-organize things so that windows.winsock doesn't get loaded by default 2009-09-04 05:02:33 -05:00
Slava Pestov 742db564f3 io.sockets: fix to work in deployed apps 2009-09-04 03:57:57 -05:00
Slava Pestov 7c04b912bb compiler.cfg.value-numbering: update tests for Joe's condition code changes 2009-09-04 03:11:56 -05:00
Slava Pestov 4a2823b2eb compiler: tweak generated code 2009-09-04 03:01:18 -05:00
Slava Pestov e11d1e37f5 math.vectors.simd: allow punning SIMD vectors between types 2009-09-04 02:35:58 -05:00
Slava Pestov 6494e7a53b math.vectors.simd: slightly faster 'sum' on 256-bit vectors: add the two components then do horizontal add, instead of doing a horizontal add on each one and adding the results 2009-09-04 02:23:25 -05:00
Slava Pestov c92e54b560 compiler.cfg.intrinsics: fix type detection on the alien type for vector accessors 2009-09-04 02:22:54 -05:00
Slava Pestov 1fc809b643 math.vectors.simd: docs 2009-09-04 01:22:18 -05:00
Slava Pestov 6b5e40b2fc functors: support private words with DEFINES-PRIVATE; use this to make some words generated by math.vectors.simd.functor private 2009-09-04 01:21:59 -05:00
Joe Groff 366946348c make struct-mirror an instance of assoc 2009-09-03 22:31:55 -05:00
Slava Pestov 55c449c6e2 math.vectors.simd: define fallbacks for all vector constructors so that code can still work even if SIMD is not available 2009-09-03 21:37:55 -05:00
Slava Pestov e36a0d7ef4 compiler: clean up code generation for alien boxing/unboxing a bit 2009-09-03 21:22:43 -05:00
Joe Groff c480bec303 convert comparison branch code in compiler to use locals 2009-09-03 21:19:39 -05:00
Slava Pestov 4d5a4222b6 More SIMD work
- Rename SIMD types and register representations: <type>-<count> rather than <count><type>-array
- Make a functor to define 256-bit vector types, use it to define float-8 type
- Make SIMD instructions pure-insns so that they participate in value numbering
2009-09-03 20:58:56 -05:00
Joe Groff a6921edd29 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-03 20:32:27 -05:00
Joe Groff 036ff77306 add compiler comparison codes for floating-point unordered comparisons; update x86 backend to generate proper code for all floating-point comparisons 2009-09-03 20:32:05 -05:00
Doug Coleman c6fcb32136 WHAMMY! convert io.sockets.unix 2009-09-03 17:08:54 -05:00
Doug Coleman 475530ef3d update network structs. NO WHAMMY, NO WHAMMY, NO WHAMMY...STOP!!! 2009-09-03 16:57:36 -05:00
Joe Groff 521b3ab12c forget the old struct class when redefining a struct class so the old accessors get purged 2009-09-03 11:12:58 -05:00
Slava Pestov 3d4c04302a Merge branch 'master' into simd 2009-09-03 03:45:58 -05:00
Slava Pestov bf81cb4259 math.vectors.simd: split off intrinsics into a sub-vocabulary, to avoid loading most of the SIMD code on bootstrap 2009-09-03 03:43:43 -05:00
Slava Pestov 906a0d212a Detect SSE version and enable the correct set of SIMD intrinsics 2009-09-03 03:28:38 -05:00
Slava Pestov ae051e0c9a compiler.tree.propagation: type function for clone had an issue, sometimes clone would get optimized out because of incorrect constant folding 2009-09-03 02:40:18 -05:00
Slava Pestov ff8c70dbe0 Initial implementation of SSE vector intrinsics:
- cpu.architecture: add SSE vector representations
- compiler.cfg.intrinsics.alien: remove an attempt at optimization that value numbering handles now
- compiler.cfg.representations: support instructions where the representation is set in the 'rep' slot, and support conversions between single and double floats
- alien-float, set-alien-float now use the single float representation, and the conversion is implicit; this fixes a long-standing bug where a register could get clobbered because of how %set-alien-float was defined on x86
- math.vectors.specialization: add support for SIMD specialization (where the vector word's body is replaced by another quotation), also specialize the 'sum' word
- math.vectors.simd: 4float-array, 2double-array, 4double-array types, and specializers for the math.vectors words
2009-09-03 02:33:07 -05:00
Slava Pestov 10297b66ce specialized-arrays: fix clone method 2009-09-03 02:24:03 -05:00
Slava Pestov edbe9c4279 struct-arrays: fix new-sequence method 2009-09-03 02:23:37 -05:00
Slava Pestov e86a76a7d8 math.constants: add single float epsilon value 2009-09-03 02:23:22 -05:00
Joe Groff 1f6d205eef Merge branch 'master' into strong-typing 2009-09-02 15:34:22 -05:00
Joe Groff 102df64ec7 i suck at reading tech docs--those were m64 instructions, not mm instructions 2009-09-02 12:58:35 -05:00
Joe Groff caecbfc546 Merge branch 'master' into strong-typing 2009-09-02 12:14:02 -05:00
Joe Groff aeba336601 separate stack effect typing from hints. put it in a "typed" vocab, and have a TYPED: word that adds the type checking directly to the word 2009-09-02 11:45:30 -05:00
Joe Groff 29b8cc183e Merge branch 'master' of git://factorcode.org/git/factor 2009-09-02 11:07:07 -05:00
Joe Groff 962d560c10 get rid of useless mm->xmm instructions in cpu.x86.assembler, add MOVHLPS and MOVLHPS 2009-09-02 11:06:08 -05:00
Slava Pestov b307c6dac3 Fix tree shaker again, gah 2009-09-02 07:28:40 -05:00
Slava Pestov e3b967fe67 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-02 06:22:44 -05:00
Slava Pestov 85a2bfab6c compiler: eliminate boilerplate by centralizing info in declarative INSN: syntax 2009-09-02 06:22:37 -05:00
Samuel Tardieu 21a89bab0e Make "divisors" work with 1 as well 2009-09-02 12:07:23 +02:00
Slava Pestov e3f5452502 tools.deploy.shaker: fix snafu 2009-09-02 04:30:29 -05:00
Joe Groff cb56e95567 handle the stack effect type as a separate specialization pass, and use coercers when available 2009-09-01 23:13:08 -05:00
Joe Groff dc0944bad1 Merge branch 'master' into strong-typing 2009-09-01 21:18:50 -05:00
Doug Coleman d2bef9e32a add using to windows.com.wrapper 2009-09-01 18:16:57 -05:00
Doug Coleman b282dd9eac Merge branch 'master' of git://factorcode.org/git/factor 2009-09-01 18:16:31 -05:00
Joe Groff 333943188e typo in specialize-method 2009-09-01 15:59:59 -05:00
Joe Groff 32cba4dad3 metadata for classes.struct 2009-09-01 15:49:21 -05:00
Joe Groff 6b512e3187 make type declarations in stack effects strong and throw an error if the inputs don't match 2009-09-01 15:49:08 -05:00
Doug Coleman 9ad468f449 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-01 15:38:52 -05:00
Slava Pestov f91b539c31 cpu.ppc: implement fast float function calls; 3x speedup on benchmark.struct-arrays on PowerPC 2009-09-01 15:19:26 -05:00
Slava Pestov cbaeda3195 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-01 15:00:22 -05:00
Slava Pestov b8aa894960 struct-arrays: fix help lint, throw error if class parameter is not a struct class 2009-09-01 14:58:49 -05:00
Slava Pestov 3c4dc6d4de Merge branch 'master' of git://factorcode.org/git/factor 2009-09-01 14:47:06 -05:00
Slava Pestov 1efcf36083 struct-vectors: update unit test to use new structs 2009-09-01 14:47:04 -05:00
Slava Pestov 7bdd819d51 struct-arrays: remove support for arrays of old-style structs 2009-09-01 14:46:24 -05:00
Slava Pestov 2037667473 io.backend.unix.multiplexers.epoll: update for STRUCT: 2009-09-01 14:46:08 -05:00
Joe Groff 19b10fb85e bring back ( x: type y: type -- ) stack effect syntax, and automatically hint words based on types in their declared effect 2009-09-01 14:39:22 -05:00
Slava Pestov 7f25139cca Merge branch 'master' of git://factorcode.org/git/factor 2009-09-01 14:19:49 -05:00
Doug Coleman eb98b49d74 openbsd defined a struct with freebsd in the name. oops..... 2009-09-01 14:18:29 -05:00
erg 4c354581a9 fix file-systems on the bsds 2009-09-01 13:16:37 -05:00
Joe Groff 522f426ba7 fix help lint failures 2009-09-01 13:04:00 -05:00
Joe Groff d893f3cdb7 put a more useful mirror over structs 2009-08-31 22:26:03 -05:00
Slava Pestov fdb3cd22cd Merge branch 'master' of git://factorcode.org/git/factor 2009-08-31 20:51:27 -05:00
Joe Groff 4cbd4d4b5c update classes.struct tests, and make struct prettyprinting work again 2009-08-31 20:46:33 -05:00
Joe Groff f3768b5361 clean up the bootstrap mess by moving the struct summary and make-mirror methods to classes.struct.prettyprint 2009-08-31 20:32:00 -05:00
Joe Groff badbfef890 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-31 20:13:19 -05:00
Joe Groff 52a5a22b9d restore pprint stack when c-object pprinters fail so that the fallback pprint syntax is still clickable 2009-08-31 20:10:51 -05:00
Joe Groff 79be927371 take advantage of pprint-prefix in c-object-pointer prettyprinters 2009-08-31 19:56:36 -05:00
Doug Coleman f0e14d1c3c mirrors on structs again, add summary method for structs 2009-08-31 19:27:29 -05:00
Doug Coleman 3d975ea7ab struct mirrors were not ready yet 2009-08-31 19:10:48 -05:00
Doug Coleman 80e2feacd9 show c-type instead of factor type 2009-08-31 18:58:42 -05:00
Doug Coleman 1732bd730a better keys in sturct mirrors 2009-08-31 18:57:03 -05:00
Doug Coleman fee0953cc4 make-mirror method on structs. fix typo on struct-slots stack effect. don't filter initial values in struct>assoc because structs are more low-level and you want to see the entire layout of the struct you're working with, imo. 2009-08-31 18:51:47 -05:00
Joe Groff 3ea364bc80 suppress "no such C type" warnings from cocoa for "?" and private apple types 2009-08-31 18:10:35 -05:00
Joe Groff f6c6593579 fix struct-arrays USING: 2009-08-31 18:04:29 -05:00
Joe Groff 0a7b62177b link S{ and S@ docs in classes.struct 2009-08-31 18:04:09 -05:00
Joe Groff 0834b8270c Merge branch 'master' of git://factorcode.org/git/factor 2009-08-31 17:49:55 -05:00
Joe Groff 84adb4cb55 "struct-array-on" word to easily promote a struct over memory to a struct-array over the same memory. buff up the struct-arrays docs 2009-08-31 17:49:45 -05:00
Slava Pestov 8a1dbe1652 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-31 16:48:24 -05:00
Slava Pestov 94c89e55e6 tools.deploy.shaker: strip out call( and execute( runtime checking in a way that still allows the inlining optimization to work 2009-08-31 16:48:10 -05:00
Slava Pestov 23f34febbb Fix image size regression with struct array tree shaking 2009-08-31 16:34:58 -05:00
Doug Coleman 740856eeca fix windows usings 2009-08-31 15:22:26 -05:00
Joe Groff bce748ee81 fix newly introduced references to c-type-array 2009-08-31 12:49:09 -05:00
Joe Groff 9bd7471696 fix some things that broke in the windows UI/game-input backends 2009-08-31 12:45:39 -05:00
Joe Groff 175529c938 Merge branch 'master' of git://factorcode.org/git/factor into struct-updates 2009-08-31 12:35:47 -05:00
Doug Coleman 0f8405c507 update pango for struct 2009-08-31 12:23:08 -05:00
Doug Coleman 6ac21a8cf9 fix using 2009-08-31 12:20:56 -05:00
Joe Groff f74351ce64 Merge branch 'master' of git://factorcode.org/git/factor into struct-updates 2009-08-31 12:01:23 -05:00
Joe Groff 1a84aa7fc3 Merge branch 'master' of git://factorcode.org/git/factor into struct-updates 2009-08-31 12:01:04 -05:00
Doug Coleman 0bcd7c2619 typo 2009-08-31 12:00:39 -05:00
Doug Coleman d22a25a3ec try to fix file-systems on a few platforms 2009-08-31 11:49:29 -05:00
Doug Coleman 6c996f4d30 fix netbsd file-systems 2009-08-31 11:38:21 -05:00
Doug Coleman 27af645048 fix file-systems on freebsd 2009-08-31 11:35:52 -05:00
Doug Coleman 736f78dfb5 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-31 11:34:39 -05:00