aboutsummaryrefslogtreecommitdiff
path: root/doc/faq.html
diff options
context:
space:
mode:
authorMike Pall <mike>2009-12-08 19:49:20 +0100
committerMike Pall <mike>2009-12-08 19:49:20 +0100
commit1d1fed48a002dfc0919135911057ebc255a53e0a (patch)
treec5c6643908374bb8f02f4c7691332d32f6645986 /doc/faq.html
parent55b16959717084884fd4a0cbae6d19e3786c20c7 (diff)
downloadluajit-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.html23
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
72Search for: <a href="http://scholar.google.com/scholar?q=Dynamic+Language+Optimizations"><span class="ext">&raquo;</span>&nbsp;Dynamic Language Optimizations</a><br> 72Search for: <a href="http://scholar.google.com/scholar?q=Dynamic+Language+Optimizations"><span class="ext">&raquo;</span>&nbsp;Dynamic Language Optimizations</a><br>
73Search for: <a href="http://scholar.google.com/scholar?q=SSA+Form"><span class="ext">&raquo;</span>&nbsp;SSA Form</a><br> 73Search for: <a href="http://scholar.google.com/scholar?q=SSA+Form"><span class="ext">&raquo;</span>&nbsp;SSA Form</a><br>
74Search for: <a href="http://scholar.google.com/scholar?q=Linear+Scan+Register+Allocation"><span class="ext">&raquo;</span>&nbsp;Linear Scan Register Allocation</a><br> 74Search for: <a href="http://scholar.google.com/scholar?q=Linear+Scan+Register+Allocation"><span class="ext">&raquo;</span>&nbsp;Linear Scan Register Allocation</a><br>
75Here is a list of the <a href="http://article.gmane.org/gmane.comp.lang.lua.general/58908"><span class="ext">&raquo;</span>&nbsp;innovative features in LuaJIT</a>.<br>
75And, you know, reading the source is of course the only way to enlightenment. :-) 76And, 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
97DirectX/Direct3D (up to version 9) sets the x87 FPU to single-precision
98mode by default. This violates the Windows ABI and interferes with the
99operation of many programs &mdash; LuaJIT is affected, too. Please make
100sure you always use the <tt>D3DCREATE_FPU_PRESERVE</tt> flag when
101initializing Direct3D.<br>
102
103Direct3D version 10 or higher do not show this behavior anymore.
104Consider testing your application with older versions, too.<br>
105
106Similarly, the Borland/Delphi runtime modifies the FPU control word and
107enables FP exceptions. Of course this violates the Windows ABI, too.
108Please 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
92currently ignored by compiled code (this will eventually be fixed). If 115currently ignored by compiled code (this will eventually be fixed). If