gzdoom-gles/src/win32
Randy Heit dda5ddd3c2 - Ported vlinetallasm4 to AMD64 assembly. Even with the increased number of
registers AMD64 provides, this routine still needs to be written as self-
  modifying code for maximum performance. The additional registers do allow
  for further optimization over the x86 version by allowing all four pixels
  to be in flight at the same time. The end result is that AMD64 ASM is about
  2.18 times faster than AMD64 C and about 1.06 times faster than x86 ASM.
  (For further comparison, AMD64 C and x86 C are practically the same for
  this function.) Should I port any more assembly to AMD64, mvlineasm4 is the
  most likely candidate, but it's not used enough at this point to bother.
  Also, this may or may not work with Linux at the moment, since it doesn't
  have the eh_handler metadata. Win64 is easier, since I just need to
  structure the function prologue and epilogue properly and use some
  assembler directives/macros to automatically generate the metadata. And
  that brings up another point: You need YASM to assemble the AMD64 code,
  because NASM doesn't support the Win64 metadata directives.
- Added an SSE version of DoBlending. This is strictly C intrinsics.
  VC++ still throws around unneccessary register moves. GCC seems to be
  pretty close to optimal, requiring only about 2 cycles/color. They're
  both faster than my hand-written MMX routine, so I don't need to feel
  bad about not hand-optimizing this for x64 builds.
- Removed an extra instruction from DoBlending_MMX, transposed two
  instructions, and unrolled it once, shaving off about 80 cycles from the
  time required to blend 256 palette entries. Why? Because I tried writing
  a C version of the routine using compiler intrinsics and was appalled by
  all the extra movq's VC++ added to the code. GCC was better, but still
  generated extra instructions. I only wanted a C version because I can't
  use inline assembly with VC++'s x64 compiler, and x64 assembly is a bit
  of a pain. (It's a pain because Linux and Windows have different calling
  conventions, and you need to maintain extra metadata for functions.) So,
  the assembly version stays and the C version stays out.
- Removed all the pixel doubling r_detail modes, since the one platform they
  were intended to assist (486) actually sees very little benefit from them.
- Rewrote CheckMMX in C and renamed it to CheckCPU.
- Fixed: CPUID function 0x80000005 is specified to return detailed L1 cache
  only for AMD processors, so we must not use it on other architectures, or
  we end up overwriting the L1 cache line size with 0 or some other number
  we don't actually understand.


SVN r1134 (trunk)
2008-08-09 03:13:43 +00:00
..
afxres.h Directory restructuring to make it easier to version projects that don't build zdoom.exe. 2006-02-24 04:48:15 +00:00
boing1.ico Directory restructuring to make it easier to version projects that don't build zdoom.exe. 2006-02-24 04:48:15 +00:00
boing2.ico Directory restructuring to make it easier to version projects that don't build zdoom.exe. 2006-02-24 04:48:15 +00:00
boing3.ico Directory restructuring to make it easier to version projects that don't build zdoom.exe. 2006-02-24 04:48:15 +00:00
boing4.ico Directory restructuring to make it easier to version projects that don't build zdoom.exe. 2006-02-24 04:48:15 +00:00
boing5.ico Directory restructuring to make it easier to version projects that don't build zdoom.exe. 2006-02-24 04:48:15 +00:00
boing6.ico Directory restructuring to make it easier to version projects that don't build zdoom.exe. 2006-02-24 04:48:15 +00:00
boing7.ico Directory restructuring to make it easier to version projects that don't build zdoom.exe. 2006-02-24 04:48:15 +00:00
boing8.ico Directory restructuring to make it easier to version projects that don't build zdoom.exe. 2006-02-24 04:48:15 +00:00
critsec.h - Added the FCriticalSection class in critsec.h to make it easier to 2008-04-09 04:17:13 +00:00
cursor1.cur Directory restructuring to make it easier to version projects that don't build zdoom.exe. 2006-02-24 04:48:15 +00:00
deadguy.bmp Directory restructuring to make it easier to version projects that don't build zdoom.exe. 2006-02-24 04:48:15 +00:00
eaxedit.cpp About a week's worth of changes here. As a heads-up, I wouldn't be 2008-07-23 04:57:26 +00:00
fb_d3d9.cpp - Various fixes for compiling working 64-bit binaries with Visual C++. The 2008-04-29 02:43:42 +00:00
fb_d3d9_shaders.h - Updated lempar.c to v1.31. 2008-01-25 23:57:44 +00:00
fb_d3d9_wipe.cpp - Removed most checks on vid_hw2d/test2d. This now gets checked only once per 2008-02-14 04:58:45 +00:00
fb_ddraw.cpp About a week's worth of changes here. As a heads-up, I wouldn't be 2008-07-23 04:57:26 +00:00
hardware.cpp - Changed: When the screen is being deleted the 'screen' variable should be 2008-03-30 08:58:36 +00:00
hardware.h - Moved the code that renders the view from D_Display into a virtual function 2008-01-11 21:04:22 +00:00
helperthread.cpp - Various fixes for compiling working 64-bit binaries with Visual C++. The 2008-04-29 02:43:42 +00:00
helperthread.h Guess what. It's not 2005 anymore. 2006-06-11 01:37:00 +00:00
i_cd.cpp - Various fixes for compiling working 64-bit binaries with Visual C++. The 2008-04-29 02:43:42 +00:00
i_crash.cpp About a week's worth of changes here. As a heads-up, I wouldn't be 2008-07-23 04:57:26 +00:00
i_input.cpp About a week's worth of changes here. As a heads-up, I wouldn't be 2008-07-23 04:57:26 +00:00
i_input.h - Fixed: cycle_t was still a DWORD and not a QWORD under GCC. 2006-09-14 00:02:31 +00:00
i_main.cpp About a week's worth of changes here. As a heads-up, I wouldn't be 2008-07-23 04:57:26 +00:00
i_movie.cpp - Adjusted the noise debug table so that fractional volume levels do not 2008-07-01 01:28:22 +00:00
i_system.cpp - Ported vlinetallasm4 to AMD64 assembly. Even with the increased number of 2008-08-09 03:13:43 +00:00
i_system.h - Ported vlinetallasm4 to AMD64 assembly. Even with the increased number of 2008-08-09 03:13:43 +00:00
icon1.ico Directory restructuring to make it easier to version projects that don't build zdoom.exe. 2006-02-24 04:48:15 +00:00
resource.h - Added simulation of Hexen's startup screen (currently minus net notches). 2007-01-05 04:21:14 +00:00
st_start.cpp About a week's worth of changes here. As a heads-up, I wouldn't be 2008-07-23 04:57:26 +00:00
win32iface.h About a week's worth of changes here. As a heads-up, I wouldn't be 2008-07-23 04:57:26 +00:00
win32video.cpp - NULLed screen in CreateFrameBuffer if it's the same as 'old' and gets deleted. 2008-03-30 09:30:34 +00:00
winres.h Directory restructuring to make it easier to version projects that don't build zdoom.exe. 2006-02-24 04:48:15 +00:00
wrappers.asm - Ported vlinetallasm4 to AMD64 assembly. Even with the increased number of 2008-08-09 03:13:43 +00:00
zdoom.exe.manifest - Fixed: The new sound pausing on menu open interrupted Strife conversations. 2006-05-23 04:25:49 +00:00
zdoom.rc - Since KDIZD is the only mapset I know of that used reverb, and it didn't 2008-05-20 04:02:49 +00:00
zdoom.RES Directory restructuring to make it easier to version projects that don't build zdoom.exe. 2006-02-24 04:48:15 +00:00