aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Pall <mike>2013-02-13 11:57:04 +0100
committerMike Pall <mike>2013-02-13 11:57:04 +0100
commitc7f0b6bca05c124d764c6f3b4de889a460212f55 (patch)
tree3a441044f913ec3956bd5b0cc057d5ae0f395971 /src
parent4e35c025dcb7a1d9ed90c9cfec6378ac2489a641 (diff)
downloadluajit-c7f0b6bca05c124d764c6f3b4de889a460212f55.tar.gz
luajit-c7f0b6bca05c124d764c6f3b4de889a460212f55.tar.bz2
luajit-c7f0b6bca05c124d764c6f3b4de889a460212f55.zip
Fix capitalization of 'Xbox'.
Diffstat (limited to 'src')
-rw-r--r--src/lj_def.h2
-rw-r--r--src/vm_ppc.dasc4
-rw-r--r--src/xedkbuild.bat6
3 files changed, 6 insertions, 6 deletions
diff --git a/src/lj_def.h b/src/lj_def.h
index 5c427b14..9a22e3bd 100644
--- a/src/lj_def.h
+++ b/src/lj_def.h
@@ -273,7 +273,7 @@ uint64_t _byteswap_uint64(uint64_t);
273 273
274#if defined(_M_PPC) && defined(LUAJIT_NO_UNALIGNED) 274#if defined(_M_PPC) && defined(LUAJIT_NO_UNALIGNED)
275/* 275/*
276** Replacement for unaligned loads on XBox 360. Disabled by default since it's 276** Replacement for unaligned loads on Xbox 360. Disabled by default since it's
277** usually more costly than the occasional stall when crossing a cache-line. 277** usually more costly than the occasional stall when crossing a cache-line.
278*/ 278*/
279static LJ_AINLINE uint16_t lj_getu16(const void *v) 279static LJ_AINLINE uint16_t lj_getu16(const void *v)
diff --git a/src/vm_ppc.dasc b/src/vm_ppc.dasc
index 6778dee5..685ea518 100644
--- a/src/vm_ppc.dasc
+++ b/src/vm_ppc.dasc
@@ -21,11 +21,11 @@
21|// Note: a full PPC64 _LP64 port is not planned. 21|// Note: a full PPC64 _LP64 port is not planned.
22|// GPR64 64 bit registers (but possibly 32 bit pointers, e.g. PS3). 22|// GPR64 64 bit registers (but possibly 32 bit pointers, e.g. PS3).
23|// Affects reg saves, stack layout, carry/overflow/dot flags etc. 23|// Affects reg saves, stack layout, carry/overflow/dot flags etc.
24|// FRAME32 Use 32 bit frame layout, even with GPR64 (XBox 360). 24|// FRAME32 Use 32 bit frame layout, even with GPR64 (Xbox 360).
25|// TOC Need table of contents (64 bit or 32 bit variant, e.g. PS3). 25|// TOC Need table of contents (64 bit or 32 bit variant, e.g. PS3).
26|// Function pointers are really a struct: code, TOC, env (optional). 26|// Function pointers are really a struct: code, TOC, env (optional).
27|// TOCENV Function pointers have an environment pointer, too (not on PS3). 27|// TOCENV Function pointers have an environment pointer, too (not on PS3).
28|// PPE Power Processor Element of Cell (PS3) or Xenon (XBox 360). 28|// PPE Power Processor Element of Cell (PS3) or Xenon (Xbox 360).
29|// Must avoid (slow) micro-coded instructions. 29|// Must avoid (slow) micro-coded instructions.
30| 30|
31|.if P64 31|.if P64
diff --git a/src/xedkbuild.bat b/src/xedkbuild.bat
index 451b2f82..375f1955 100644
--- a/src/xedkbuild.bat
+++ b/src/xedkbuild.bat
@@ -1,4 +1,4 @@
1@rem Script to build LuaJIT with the XBox 360 SDK. 1@rem Script to build LuaJIT with the Xbox 360 SDK.
2@rem Donated to the public domain. 2@rem Donated to the public domain.
3@rem 3@rem
4@rem Open a "Visual Studio .NET Command Prompt" (32 bit host compiler) 4@rem Open a "Visual Studio .NET Command Prompt" (32 bit host compiler)
@@ -77,7 +77,7 @@ buildvm -m folddef -o lj_folddef.h lj_opt_fold.c
77 77
78@del *.obj *.manifest minilua.exe buildvm.exe 78@del *.obj *.manifest minilua.exe buildvm.exe
79@echo. 79@echo.
80@echo === Successfully built LuaJIT for XBox 360 === 80@echo === Successfully built LuaJIT for Xbox 360 ===
81 81
82@goto :END 82@goto :END
83:BAD 83:BAD
@@ -88,5 +88,5 @@ buildvm -m folddef -o lj_folddef.h lj_opt_fold.c
88@goto :END 88@goto :END
89:FAIL 89:FAIL
90@echo To run this script you must open a "Visual Studio .NET Command Prompt" 90@echo To run this script you must open a "Visual Studio .NET Command Prompt"
91@echo (32 bit host compiler). The XBox 360 SDK must be installed, too. 91@echo (32 bit host compiler). The Xbox 360 SDK must be installed, too.
92:END 92:END