[quake3-commits] [ioquake/ioq3] 566fb0: Allow unaligned load/store in QVM interpreter/x86 ...
Eugene C
tweels at gmail.com
Thu May 25 04:44:20 EDT 2017
Branch: refs/heads/master
Home: https://github.com/ioquake/ioq3
Commit: 566fb0edfc6d88efcd161c912c7db025b8c173ce
https://github.com/ioquake/ioq3/commit/566fb0edfc6d88efcd161c912c7db025b8c173ce
Author: ec- <tweels at gmail.com>
Date: 2017-05-25 (Thu, 25 May 2017)
Changed paths:
M code/qcommon/vm.c
M code/qcommon/vm_interpreted.c
M code/qcommon/vm_local.h
M code/qcommon/vm_x86.c
Log Message:
-----------
Allow unaligned load/store in QVM interpreter/x86 compiler
constructions like (dataMask & ~3) was used to protect against out-of-bound load/store when address is 4-byte closer to dataMask
but at the same time it effectively cut low address bits for ALL load/store operations which is totally wrong in terms of conformance to ALLOWED (i.e. generated by q3lcc from C sources) low-level operations like packed binary data parsing
Commit: c259e7cba3e31c3d400e7e7135280a4d6feae477
https://github.com/ioquake/ioq3/commit/c259e7cba3e31c3d400e7e7135280a4d6feae477
Author: Eugene C <tweels at gmail.com>
Date: 2017-05-25 (Thu, 25 May 2017)
Changed paths:
M code/qcommon/vm.c
Log Message:
-----------
Fix comment
Compare: https://github.com/ioquake/ioq3/compare/abce15055cbb...c259e7cba3e3
More information about the quake3-commits
mailing list