]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
Add missing copyright info from tampered files 68/head v5.4.3+vectorscan
authorKonstantinos Margaritis <konstantinos@vectorcamp.gr>
Tue, 12 Oct 2021 07:55:33 +0000 (10:55 +0300)
committerKonstantinos Margaritis <konstantinos@vectorcamp.gr>
Tue, 12 Oct 2021 08:51:35 +0000 (11:51 +0300)
25 files changed:
benchmarks/benchmarks.cpp
benchmarks/benchmarks.hpp
src/hwlm/noodle_engine.cpp
src/nfa/truffle.cpp
src/nfa/x86/shufti.hpp
src/util/arch/arm/arm.h
src/util/arch/arm/bitutils.h
src/util/arch/arm/cpuid_flags.c
src/util/arch/arm/simd_types.h
src/util/arch/arm/simd_utils.h
src/util/arch/common/bitutils.h
src/util/arch/common/cpuid_flags.h
src/util/arch/common/simd_utils.h
src/util/arch/common/simd_utils.hpp [deleted file]
src/util/arch/x86/bitutils.h
src/util/arch/x86/cpuid_flags.c
src/util/arch/x86/cpuid_inline.h
src/util/arch/x86/crc32.h
src/util/arch/x86/masked_move.c
src/util/arch/x86/masked_move.h
src/util/arch/x86/simd_types.h
src/util/arch/x86/simd_utils.h
src/util/arch/x86/x86.h
src/util/popcount.h
src/util/state_compress.c

index b10351cbc427ac4a8699a6f9ae16ea6b781da60a..49990bd7b36141706fe6101ac49b5689db89dc08 100644 (file)
@@ -1,3 +1,31 @@
+/*
+ * Copyright (c) 2020, 2021, VectorCamp PC
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ *  * Redistributions of source code must retain the above copyright notice,
+ *    this list of conditions and the following disclaimer.
+ *  * Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *  * Neither the name of Intel Corporation nor the names of its contributors
+ *    may be used to endorse or promote products derived from this software
+ *    without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
 #include <iostream>
 #include <chrono>
 #include <cstring>
index 88fcf8df32ca9b77236627c486701b4682a60e36..373265231602592955ae14a2a93ed93fce673770 100644 (file)
@@ -1,3 +1,31 @@
+/*
+ * Copyright (c) 2020, 2021, VectorCamp PC
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ *  * Redistributions of source code must retain the above copyright notice,
+ *    this list of conditions and the following disclaimer.
+ *  * Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *  * Neither the name of Intel Corporation nor the names of its contributors
+ *    may be used to endorse or promote products derived from this software
+ *    without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
 #include "nfa/shufti.h"
 #include "nfa/shufticompile.h"
 #include "nfa/truffle.h"
index f898c7b704094173e5cdecd70baaa79dc2c30285..33788ab42adb9c8f63762e739c51ab54a04f5851 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2015-2017, Intel Corporation
+ * Copyright (c) 2020, 2021, VectorCamp PC
  * Copyright (c) 2021, Arm Limited
  *
  * Redistribution and use in source and binary forms, with or without
index 6a8d3c2ee1461940033878bf06a0df10c074bae7..c839144558fd38696ed36e5adb4aa160f3c958d6 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2015-2017, Intel Corporation
+ * Copyright (c) 2020, 2021, VectorCamp PC
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
@@ -27,9 +28,7 @@
  */
 
 /** \file
- * \brief Shufti: character class acceleration.
- *
- * Utilises the SSSE3 pshufb shuffle instruction
+ * \brief Truffle: character class acceleration.
  */
 
 #include "truffle.h"
index fa18cc2a24112e25134af6e2394045dade73657a..79ef7481a5b4c39e3d40611d5f28bf9fc45b4f3b 100644 (file)
@@ -1,7 +1,6 @@
 /*
  * Copyright (c) 2015-2017, Intel Corporation
  * Copyright (c) 2020-2021, VectorCamp PC
- * Copyright (c) 2021, Arm Limited
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
@@ -30,7 +29,6 @@
 
 /** \file
  * \brief Shufti: character class acceleration.
- *
  */
 
 #ifndef SHUFTI_SIMD_X86_HPP
index 42763e16c90baa905c0510ca6527d1ce1a58bde5..2ec55da219863b31de98bd97d4432bf676e343bc 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2017-2020, Intel Corporation
+ * Copyright (c) 2020-2021, VectorCamp PC
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
index a2f98c99762e907e760a025e96cb056fe3aa91a5..5ef5fbf4daa3433ab32819e62e4e7eba76d0e99d 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2015-2017, Intel Corporation
+ * Copyright (c) 2020-2021, VectorCamp PC
  * Copyright (c) 2021, Arm Limited
  *
  * Redistribution and use in source and binary forms, with or without
index 1ba1a4973ba1aeca611c2a4d92687b878022d10b..66040f83db77df72e30ee8d1b1d19f16803aa4af 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2015-2017, Intel Corporation
+ * Copyright (c) 2020-2021, VectorCamp PC
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
index cc4c50e456d926a5ac6129f83f8de4f33ed99742..7dafcf586604637bdddc81411297579c21342290 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2015-2017, Intel Corporation
+ * Copyright (c) 2020-2021, VectorCamp PC
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
index 052319f6e6d7cc2816028bc1de64dca7485c37db..2485177340e39f9c13c2221d6b6bddd3784f255c 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2015-2020, Intel Corporation
+ * Copyright (c) 2020-2021, VectorCamp PC
  * Copyright (c) 2021, Arm Limited
  *
  * Redistribution and use in source and binary forms, with or without
index 723e4a18239299e5e6c314cd4eb9494dae88da46..e5ff5bc15f718783b3f5ab622ec43a0363814f3d 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2015-2017, Intel Corporation
+ * Copyright (c) 2020-2021, VectorCamp PC
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
index a9a57b6f4f13be58ebaeb79392fb2ee4912c40ae..c1bbdc664874deaef1b1d6a613494e2baea88cd2 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2015-2017, Intel Corporation
+ * Copyright (c) 2020-2021, VectorCamp PC
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
index 8a3b52cf7a94dd51bfd1cf362a2e8ea64fe39d7d..65e7b69ab012ea13f065800d264af533e0b4aba3 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2015-2020, Intel Corporation
+ * Copyright (c) 2020-2021, VectorCamp PC
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
diff --git a/src/util/arch/common/simd_utils.hpp b/src/util/arch/common/simd_utils.hpp
deleted file mode 100644 (file)
index e69de29..0000000
index 8ce852acff458fa3604b1478e6e2eace763c2ae1..5c15ee91ea01dafeb5bf59831ed4e35d3772fb65 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2015-2017, Intel Corporation
+ * Copyright (c) 2020-2021, VectorCamp PC
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
index 9b56fc222fb9c93aaf6b30df9c396ecd08feb1ac..92c297b821edb30a000b70ad59092d4dfc4fd380 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2015-2020, Intel Corporation
+ * Copyright (c) 2020-2021, VectorCamp PC
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
index bc080ba5e4341a0be49fc0d72eab341aa7afa57b..d5ff210cba9ea7819eb7f0d98c0adbafd478375a 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2017-2020, Intel Corporation
+ * Copyright (c) 2020-2021, VectorCamp PC
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
index d5e7d424297540ad101b671a2ad7185e0659b114..61bdbf6ff528d5a33dc42e122b7cb6013d98dd32 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2015-2017, Intel Corporation
+ * Copyright (c) 2020-2021, VectorCamp PC
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
@@ -79,4 +80,4 @@ u32 crc32c_sse42(u32 running_crc, const unsigned char* p_buf,
     return crc;
 }
 
-#endif // UTIL_ARCH_X86_CRC32_H_
\ No newline at end of file
+#endif // UTIL_ARCH_X86_CRC32_H_
index 001cd49f28fdd87c0d5717222b65694367f6bf2d..b6ddc51ed38f5abcd17a25454971679bbae1496f 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2015-2017, Intel Corporation
+ * Copyright (c) 2020-2021, VectorCamp PC
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
index c46ad144baf182e2fa1aa108bf35fd08c186ffec..4787ffa97bf4e7f374ae82145d5d071de2a9b93a 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2015-2017, Intel Corporation
+ * Copyright (c) 2020-2021, VectorCamp PC
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
index d7984a72115a207ee084198b00e4042be93a18a1..c04e8dabb29eccef7189a7af2a585c55ab0efcbc 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2015-2017, Intel Corporation
+ * Copyright (c) 2020-2021, VectorCamp PC
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
index b36d5a385c489814c9c4124c28806080d162a88f..c4a3b97c5a9e751ffe5acc964d8bc40a14a65c16 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2015-2020, Intel Corporation
+ * Copyright (c) 2020-2021, VectorCamp PC
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
index d386981a7d107a227704c7427a07f352b8a5c1ba..d08f979fc1fee4e6849314c9695e08423bedc26b 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2017-2020, Intel Corporation
+ * Copyright (c) 2020-2021, VectorCamp PC
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
index 7dc2eb9a739a6159bfae3ee97a3f03aec5240c62..c7a69d4670c1ce289d00c964fc7c29a7105127ec 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2015-2017, Intel Corporation
+ * Copyright (c) 2020-2021, VectorCamp PC
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
index 729eedb3865989175eb289e37b53df4ce75a0d76..fda5411265aa330152cfd9919d1605a485cc7596 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2015-2017, Intel Corporation
+ * Copyright (c) 2020-2021, VectorCamp PC
  * Copyright (c) 2021, Arm Limited
  *
  * Redistribution and use in source and binary forms, with or without