#
cd888f01 |
| 22-May-2020 |
H.J. Lu <hjl.tools@gmail.com> |
x86: Add ENDBR32/ENDBR64 at function entries for Intel CET
To support Intel CET, all indirect branch targets must start with ENDBR32/ENDBR64. Here is a patch to define endbranch and add it to funct
x86: Add ENDBR32/ENDBR64 at function entries for Intel CET
To support Intel CET, all indirect branch targets must start with ENDBR32/ENDBR64. Here is a patch to define endbranch and add it to function entries in x86 assembly codes which are indirect branch targets as discovered by running testsuite on Intel CET machine and visual inspection.
Verified with
$ CC="gcc -Wl,-z,cet-report=error -fcf-protection" CXX="g++ -Wl,-z,cet-report=error -fcf-protection" .../configure x86_64-linux $ make -j8 $ make -j8 check
with both nasm and yasm on both CET and non-CET machines.
Change-Id: I9822578e7294fb5043a64ab7de5c41de81a7d337 Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
show more ...
|
#
ede04f0a |
| 16-Mar-2020 |
Greg Tucker <greg.b.tucker@intel.com> |
build: Fix for windows to allow nasm use
Previously windows build could only use yasm because some procedural items such as proc_start were not supported by nasm. This adds a few macros and fixes s
build: Fix for windows to allow nasm use
Previously windows build could only use yasm because some procedural items such as proc_start were not supported by nasm. This adds a few macros and fixes so nasm can be used to build on windows.
Change-Id: Ia05dc3ff482f33b0f915bb1be3c7df5e4a753b3a Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
show more ...
|
#
73454909 |
| 27-Jul-2018 |
Roy Oursler <roy.j.oursler@intel.com> |
igzip: Modify igzip_body assembly to run to last 16 bytes.
Change-Id: Ib2c688d0b2d7ff5d4fd7b14bb6eea72a7f689cd3 Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
|
#
b1c45175 |
| 21-Jun-2018 |
Greg Tucker <greg.b.tucker@intel.com> |
igzip: Add a few missing asm copyright headers
Change-Id: Iddcfbd357efa17dbbd32acacac952579fc052756 Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
|
#
d389b8d6 |
| 06-Jun-2018 |
Roy Oursler <roy.j.oursler@intel.com> |
igzip: Move COMPARE_TYPES usage
Change-Id: I87d88618b6f86c1f9618ba9cea132153a8ef2fa5 Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
|
#
4ae2d1be |
| 10-Jun-2017 |
Roy Oursler <roy.j.oursler@intel.com> |
igzip: Implement optimized level 2 compression
Change-Id: I8cf5bcd56f290d17205ac36dc2828c8acfc66947 Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>
|
#
bda088b3 |
| 24-Sep-2016 |
Greg Tucker <greg.b.tucker@intel.com> |
igzip: Fix MS incorrect reg compare for igzip_update_histogram
Early exit case for zero length update would compare the wrong register in windows. Could cause improper null exit.
Change-Id: I77539
igzip: Fix MS incorrect reg compare for igzip_update_histogram
Early exit case for zero length update would compare the wrong register in windows. Could cause improper null exit.
Change-Id: I77539556463813a783d8d351df5a20c99299d100 Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
show more ...
|
#
88f95d85 |
| 05-Aug-2016 |
Roy Oursler <roy.j.oursler@intel.com> |
igzip: Merge inflate.h and igzip_lib.h and fix external naming
Merge inflate.h and igzip_lib.h and rename many defines to avoid conflicts, along with general cleanup of the new header.
Signed-off-b
igzip: Merge inflate.h and igzip_lib.h and fix external naming
Merge inflate.h and igzip_lib.h and rename many defines to avoid conflicts, along with general cleanup of the new header.
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com> Reviewed-by: Greg Tucker <greg.b.tucker@intel.com>
show more ...
|
#
ee2e2bce |
| 01-Aug-2016 |
Roy Oursler <roy.j.oursler@intel.com> |
igzip: Improving igzip_update_histogram
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com> Reviewed-by: Greg Tucker <greg.b.tucker@intel.com>
|
#
d06e14b9 |
| 27-Jul-2016 |
Roy Oursler <rjoursle@az-sg-sw01.ch.intel.com> |
igzip: Port update_histogram and decode_huffman_code_block to windows
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com> Reviewed-by: Greg Tucker <greg.b.tucker@intel.com>
|
#
b25ef61a |
| 18-Jul-2016 |
Roy Oursler <roy.j.oursler@intel.com> |
igzip: Fix warning for igzip_update_histogram when compiled with LARGE_WINDOW.
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com> Reviewed-by: Greg Tucker <greg.b.tucker@intel.com>
|
#
17dac9f6 |
| 24-Jun-2016 |
Roy Oursler <roy.j.oursler@intel.com> |
igzip: Implement xmm loads to preload data in update_histogram
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com> Reviewed-by: Greg Tucker <greg.b.tucker@intel.com>
|
#
4d40cd36 |
| 24-Jun-2016 |
Roy Oursler <roy.j.oursler@intel.com> |
igzip: Speed up hash table initialization in igzip_update_histogram.
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com> Reviewed-by: Greg Tucker <greg.b.tucker@intel.com>
|
#
af9c0c0f |
| 21-Jun-2016 |
Roy Oursler <roy.j.oursler@intel.com> |
igzip: update update_hash to match stateless and stateful compression.
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com> Reviewed-by: Greg Tucker <greg.b.tucker@intel.com>
|
#
cf30138c |
| 17-Jun-2016 |
Roy Oursler <roy.j.oursler@intel.com> |
igzip: Load memory into xmm in stateless registers
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com> Reviewed-by: Greg Tucker <greg.b.tucker@intel.com>
|
#
4d1fe78b |
| 17-Jun-2016 |
Roy Oursler <roy.j.oursler@intel.com> |
igzip: Modify stateless hash updating to match the length 4 short match
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com> Reviewed-by: Greg Tucker <greg.b.tucker@intel.com>
|
#
31814483 |
| 06-Jun-2016 |
Roy Oursler <roy.j.oursler@intel.com> |
igzip: Create assembly version of isal_update_histogram
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com> Reviewed-by: Greg Tucker <greg.b.tucker@intel.com>
|