├── .gitattributes ├── .gitignore ├── Makefile ├── README.md ├── app ├── .keep ├── extensions │ ├── .keep │ └── chacha │ │ ├── chacha.S │ │ ├── chacha_armv6-32.inc │ │ ├── chacha_avx-32.inc │ │ ├── chacha_avx-64.inc │ │ ├── chacha_avx2-32.inc │ │ ├── chacha_avx2-64.inc │ │ ├── chacha_constants_x86.inc │ │ ├── chacha_neon-32.inc │ │ ├── chacha_ref.inc │ │ ├── chacha_sse2-32.inc │ │ ├── chacha_sse2-64.inc │ │ ├── chacha_ssse3-32.inc │ │ ├── chacha_ssse3-64.inc │ │ ├── chacha_x86-32.inc │ │ ├── chacha_x86-64.inc │ │ ├── chacha_xop-32.inc │ │ ├── chacha_xop-64.inc │ │ └── impl.c ├── include │ ├── .keep │ └── chacha.h ├── project.def └── project.ver ├── configure ├── framework ├── bench.c ├── driver │ ├── arm │ │ ├── cpucycles_impl.inc │ │ ├── cpuid_flags.inc │ │ ├── cpuid_impl.inc │ │ ├── cpuid_impl_linux.inc │ │ ├── cpuid_impl_msvc.inc │ │ ├── cpuid_impl_netbsd.inc │ │ └── gcc.inc │ ├── cpucycles.c │ ├── cpuid.c │ ├── gcc_driver.inc │ ├── generic │ │ ├── cpucycles_impl.inc │ │ ├── cpuid_flags.inc │ │ └── cpuid_impl.inc │ ├── x86 │ │ ├── cpucycles_impl.inc │ │ ├── cpuid_flags.inc │ │ ├── cpuid_impl.inc │ │ ├── driver.S │ │ ├── gcc.inc │ │ └── yasm.inc │ └── yasm_driver.inc ├── fuzz.c ├── include │ ├── bench.h │ ├── cpucycles.h │ ├── cpuid.h │ └── fuzz.h ├── main_shared.c └── main_util.c ├── genvs.php ├── vs2010 ├── asmopt.h ├── asmopt_internal.h ├── chacha.sln ├── chacha_dll.vcxproj ├── chacha_dll.vcxproj.filters ├── chacha_lib.vcxproj ├── chacha_lib.vcxproj.filters ├── chacha_util.vcxproj ├── chacha_util.vcxproj.filters └── util_implementations.h ├── vs2012 ├── asmopt.h ├── asmopt_internal.h ├── chacha.sln ├── chacha_dll.vcxproj ├── chacha_dll.vcxproj.filters ├── chacha_lib.vcxproj ├── chacha_lib.vcxproj.filters ├── chacha_util.vcxproj ├── chacha_util.vcxproj.filters └── util_implementations.h └── vs2013 ├── asmopt.h ├── asmopt_internal.h ├── chacha.sln ├── chacha_dll.vcxproj ├── chacha_dll.vcxproj.filters ├── chacha_lib.vcxproj ├── chacha_lib.vcxproj.filters ├── chacha_util.vcxproj ├── chacha_util.vcxproj.filters └── util_implementations.h /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/.gitignore -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/README.md -------------------------------------------------------------------------------- /app/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/extensions/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/extensions/chacha/chacha.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/app/extensions/chacha/chacha.S -------------------------------------------------------------------------------- /app/extensions/chacha/chacha_armv6-32.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/app/extensions/chacha/chacha_armv6-32.inc -------------------------------------------------------------------------------- /app/extensions/chacha/chacha_avx-32.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/app/extensions/chacha/chacha_avx-32.inc -------------------------------------------------------------------------------- /app/extensions/chacha/chacha_avx-64.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/app/extensions/chacha/chacha_avx-64.inc -------------------------------------------------------------------------------- /app/extensions/chacha/chacha_avx2-32.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/app/extensions/chacha/chacha_avx2-32.inc -------------------------------------------------------------------------------- /app/extensions/chacha/chacha_avx2-64.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/app/extensions/chacha/chacha_avx2-64.inc -------------------------------------------------------------------------------- /app/extensions/chacha/chacha_constants_x86.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/app/extensions/chacha/chacha_constants_x86.inc -------------------------------------------------------------------------------- /app/extensions/chacha/chacha_neon-32.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/app/extensions/chacha/chacha_neon-32.inc -------------------------------------------------------------------------------- /app/extensions/chacha/chacha_ref.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/app/extensions/chacha/chacha_ref.inc -------------------------------------------------------------------------------- /app/extensions/chacha/chacha_sse2-32.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/app/extensions/chacha/chacha_sse2-32.inc -------------------------------------------------------------------------------- /app/extensions/chacha/chacha_sse2-64.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/app/extensions/chacha/chacha_sse2-64.inc -------------------------------------------------------------------------------- /app/extensions/chacha/chacha_ssse3-32.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/app/extensions/chacha/chacha_ssse3-32.inc -------------------------------------------------------------------------------- /app/extensions/chacha/chacha_ssse3-64.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/app/extensions/chacha/chacha_ssse3-64.inc -------------------------------------------------------------------------------- /app/extensions/chacha/chacha_x86-32.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/app/extensions/chacha/chacha_x86-32.inc -------------------------------------------------------------------------------- /app/extensions/chacha/chacha_x86-64.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/app/extensions/chacha/chacha_x86-64.inc -------------------------------------------------------------------------------- /app/extensions/chacha/chacha_xop-32.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/app/extensions/chacha/chacha_xop-32.inc -------------------------------------------------------------------------------- /app/extensions/chacha/chacha_xop-64.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/app/extensions/chacha/chacha_xop-64.inc -------------------------------------------------------------------------------- /app/extensions/chacha/impl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/app/extensions/chacha/impl.c -------------------------------------------------------------------------------- /app/include/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/include/chacha.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/app/include/chacha.h -------------------------------------------------------------------------------- /app/project.def: -------------------------------------------------------------------------------- 1 | chacha 2 | -------------------------------------------------------------------------------- /app/project.ver: -------------------------------------------------------------------------------- 1 | 1.0.0 2 | -------------------------------------------------------------------------------- /configure: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/configure -------------------------------------------------------------------------------- /framework/bench.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/framework/bench.c -------------------------------------------------------------------------------- /framework/driver/arm/cpucycles_impl.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/framework/driver/arm/cpucycles_impl.inc -------------------------------------------------------------------------------- /framework/driver/arm/cpuid_flags.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/framework/driver/arm/cpuid_flags.inc -------------------------------------------------------------------------------- /framework/driver/arm/cpuid_impl.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/framework/driver/arm/cpuid_impl.inc -------------------------------------------------------------------------------- /framework/driver/arm/cpuid_impl_linux.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/framework/driver/arm/cpuid_impl_linux.inc -------------------------------------------------------------------------------- /framework/driver/arm/cpuid_impl_msvc.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/framework/driver/arm/cpuid_impl_msvc.inc -------------------------------------------------------------------------------- /framework/driver/arm/cpuid_impl_netbsd.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/framework/driver/arm/cpuid_impl_netbsd.inc -------------------------------------------------------------------------------- /framework/driver/arm/gcc.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/framework/driver/arm/gcc.inc -------------------------------------------------------------------------------- /framework/driver/cpucycles.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/framework/driver/cpucycles.c -------------------------------------------------------------------------------- /framework/driver/cpuid.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/framework/driver/cpuid.c -------------------------------------------------------------------------------- /framework/driver/gcc_driver.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/framework/driver/gcc_driver.inc -------------------------------------------------------------------------------- /framework/driver/generic/cpucycles_impl.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/framework/driver/generic/cpucycles_impl.inc -------------------------------------------------------------------------------- /framework/driver/generic/cpuid_flags.inc: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /framework/driver/generic/cpuid_impl.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/framework/driver/generic/cpuid_impl.inc -------------------------------------------------------------------------------- /framework/driver/x86/cpucycles_impl.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/framework/driver/x86/cpucycles_impl.inc -------------------------------------------------------------------------------- /framework/driver/x86/cpuid_flags.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/framework/driver/x86/cpuid_flags.inc -------------------------------------------------------------------------------- /framework/driver/x86/cpuid_impl.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/framework/driver/x86/cpuid_impl.inc -------------------------------------------------------------------------------- /framework/driver/x86/driver.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/framework/driver/x86/driver.S -------------------------------------------------------------------------------- /framework/driver/x86/gcc.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/framework/driver/x86/gcc.inc -------------------------------------------------------------------------------- /framework/driver/x86/yasm.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/framework/driver/x86/yasm.inc -------------------------------------------------------------------------------- /framework/driver/yasm_driver.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/framework/driver/yasm_driver.inc -------------------------------------------------------------------------------- /framework/fuzz.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/framework/fuzz.c -------------------------------------------------------------------------------- /framework/include/bench.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/framework/include/bench.h -------------------------------------------------------------------------------- /framework/include/cpucycles.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/framework/include/cpucycles.h -------------------------------------------------------------------------------- /framework/include/cpuid.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/framework/include/cpuid.h -------------------------------------------------------------------------------- /framework/include/fuzz.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/framework/include/fuzz.h -------------------------------------------------------------------------------- /framework/main_shared.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/framework/main_shared.c -------------------------------------------------------------------------------- /framework/main_util.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/framework/main_util.c -------------------------------------------------------------------------------- /genvs.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/genvs.php -------------------------------------------------------------------------------- /vs2010/asmopt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/vs2010/asmopt.h -------------------------------------------------------------------------------- /vs2010/asmopt_internal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/vs2010/asmopt_internal.h -------------------------------------------------------------------------------- /vs2010/chacha.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/vs2010/chacha.sln -------------------------------------------------------------------------------- /vs2010/chacha_dll.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/vs2010/chacha_dll.vcxproj -------------------------------------------------------------------------------- /vs2010/chacha_dll.vcxproj.filters: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/vs2010/chacha_dll.vcxproj.filters -------------------------------------------------------------------------------- /vs2010/chacha_lib.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/vs2010/chacha_lib.vcxproj -------------------------------------------------------------------------------- /vs2010/chacha_lib.vcxproj.filters: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/vs2010/chacha_lib.vcxproj.filters -------------------------------------------------------------------------------- /vs2010/chacha_util.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/vs2010/chacha_util.vcxproj -------------------------------------------------------------------------------- /vs2010/chacha_util.vcxproj.filters: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/vs2010/chacha_util.vcxproj.filters -------------------------------------------------------------------------------- /vs2010/util_implementations.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/vs2010/util_implementations.h -------------------------------------------------------------------------------- /vs2012/asmopt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/vs2012/asmopt.h -------------------------------------------------------------------------------- /vs2012/asmopt_internal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/vs2012/asmopt_internal.h -------------------------------------------------------------------------------- /vs2012/chacha.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/vs2012/chacha.sln -------------------------------------------------------------------------------- /vs2012/chacha_dll.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/vs2012/chacha_dll.vcxproj -------------------------------------------------------------------------------- /vs2012/chacha_dll.vcxproj.filters: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/vs2012/chacha_dll.vcxproj.filters -------------------------------------------------------------------------------- /vs2012/chacha_lib.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/vs2012/chacha_lib.vcxproj -------------------------------------------------------------------------------- /vs2012/chacha_lib.vcxproj.filters: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/vs2012/chacha_lib.vcxproj.filters -------------------------------------------------------------------------------- /vs2012/chacha_util.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/vs2012/chacha_util.vcxproj -------------------------------------------------------------------------------- /vs2012/chacha_util.vcxproj.filters: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/vs2012/chacha_util.vcxproj.filters -------------------------------------------------------------------------------- /vs2012/util_implementations.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/vs2012/util_implementations.h -------------------------------------------------------------------------------- /vs2013/asmopt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/vs2013/asmopt.h -------------------------------------------------------------------------------- /vs2013/asmopt_internal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/vs2013/asmopt_internal.h -------------------------------------------------------------------------------- /vs2013/chacha.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/vs2013/chacha.sln -------------------------------------------------------------------------------- /vs2013/chacha_dll.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/vs2013/chacha_dll.vcxproj -------------------------------------------------------------------------------- /vs2013/chacha_dll.vcxproj.filters: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/vs2013/chacha_dll.vcxproj.filters -------------------------------------------------------------------------------- /vs2013/chacha_lib.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/vs2013/chacha_lib.vcxproj -------------------------------------------------------------------------------- /vs2013/chacha_lib.vcxproj.filters: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/vs2013/chacha_lib.vcxproj.filters -------------------------------------------------------------------------------- /vs2013/chacha_util.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/vs2013/chacha_util.vcxproj -------------------------------------------------------------------------------- /vs2013/chacha_util.vcxproj.filters: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/vs2013/chacha_util.vcxproj.filters -------------------------------------------------------------------------------- /vs2013/util_implementations.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/floodyberry/chacha-opt/HEAD/vs2013/util_implementations.h --------------------------------------------------------------------------------