diff options
author | Mike Pall <mike> | 2009-12-08 19:49:20 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2009-12-08 19:49:20 +0100 |
commit | 1d1fed48a002dfc0919135911057ebc255a53e0a (patch) | |
tree | c5c6643908374bb8f02f4c7691332d32f6645986 /doc/faq.html | |
parent | 55b16959717084884fd4a0cbae6d19e3786c20c7 (diff) | |
download | luajit-1d1fed48a002dfc0919135911057ebc255a53e0a.tar.gz luajit-1d1fed48a002dfc0919135911057ebc255a53e0a.tar.bz2 luajit-1d1fed48a002dfc0919135911057ebc255a53e0a.zip |
RELEASE LuaJIT-2.0.0-beta2v2.0.0-beta2
Diffstat (limited to 'doc/faq.html')
-rw-r--r-- | doc/faq.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/faq.html b/doc/faq.html index 6f62e1eb..f76308a1 100644 --- a/doc/faq.html +++ b/doc/faq.html | |||
@@ -72,6 +72,7 @@ Search for: <a href="http://scholar.google.com/scholar?q=JIT+Compiler"><span cla | |||
72 | Search for: <a href="http://scholar.google.com/scholar?q=Dynamic+Language+Optimizations"><span class="ext">»</span> Dynamic Language Optimizations</a><br> | 72 | Search for: <a href="http://scholar.google.com/scholar?q=Dynamic+Language+Optimizations"><span class="ext">»</span> Dynamic Language Optimizations</a><br> |
73 | Search for: <a href="http://scholar.google.com/scholar?q=SSA+Form"><span class="ext">»</span> SSA Form</a><br> | 73 | Search for: <a href="http://scholar.google.com/scholar?q=SSA+Form"><span class="ext">»</span> SSA Form</a><br> |
74 | Search for: <a href="http://scholar.google.com/scholar?q=Linear+Scan+Register+Allocation"><span class="ext">»</span> Linear Scan Register Allocation</a><br> | 74 | Search for: <a href="http://scholar.google.com/scholar?q=Linear+Scan+Register+Allocation"><span class="ext">»</span> Linear Scan Register Allocation</a><br> |
75 | Here is a list of the <a href="http://article.gmane.org/gmane.comp.lang.lua.general/58908"><span class="ext">»</span> innovative features in LuaJIT</a>.<br> | ||
75 | And, you know, reading the source is of course the only way to enlightenment. :-) | 76 | And, you know, reading the source is of course the only way to enlightenment. :-) |
76 | </dd> | 77 | </dd> |
77 | </dl> | 78 | </dl> |
@@ -87,6 +88,28 @@ vararg syntax</a>.</dd> | |||
87 | </dl> | 88 | </dl> |
88 | 89 | ||
89 | <dl> | 90 | <dl> |
91 | <dt>Q: Why do I get this error: "bad FPU precision"?<br> | ||
92 | <dt>Q: I get weird behavior after initializing Direct3D.<br> | ||
93 | <dt>Q: Some FPU operations crash after I load a Delphi DLL.<br> | ||
94 | </dt> | ||
95 | <dd> | ||
96 | |||
97 | DirectX/Direct3D (up to version 9) sets the x87 FPU to single-precision | ||
98 | mode by default. This violates the Windows ABI and interferes with the | ||
99 | operation of many programs — LuaJIT is affected, too. Please make | ||
100 | sure you always use the <tt>D3DCREATE_FPU_PRESERVE</tt> flag when | ||
101 | initializing Direct3D.<br> | ||
102 | |||
103 | Direct3D version 10 or higher do not show this behavior anymore. | ||
104 | Consider testing your application with older versions, too.<br> | ||
105 | |||
106 | Similarly, the Borland/Delphi runtime modifies the FPU control word and | ||
107 | enables FP exceptions. Of course this violates the Windows ABI, too. | ||
108 | Please check the Delphi docs for the Set8087CW method. | ||
109 | |||
110 | </dl> | ||
111 | |||
112 | <dl> | ||
90 | <dt>Q: Sometimes Ctrl-C fails to stop my Lua program. Why?</dt> | 113 | <dt>Q: Sometimes Ctrl-C fails to stop my Lua program. Why?</dt> |
91 | <dd>The interrupt signal handler sets a Lua debug hook. But this is | 114 | <dd>The interrupt signal handler sets a Lua debug hook. But this is |
92 | currently ignored by compiled code (this will eventually be fixed). If | 115 | currently ignored by compiled code (this will eventually be fixed). If |