# git rev-parse -q --verify f801360e700f3f7a4c89b889696e91972f137351^{commit} f801360e700f3f7a4c89b889696e91972f137351 already have revision, skipping fetch # git checkout -q -f -B kisskb f801360e700f3f7a4c89b889696e91972f137351 # git clean -qxdf # < git log -1 # commit f801360e700f3f7a4c89b889696e91972f137351 # Author: Nicholas Piggin # Date: Fri Sep 13 22:07:01 2019 +1000 # # powerpc/64s: system call support for scv/rfscv instructions # # Add support for the scv instruction on POWER9 and later CPUs. # # For now this implements the zeroth scv vector 'scv 0', as identical # to 'sc' system calls, with the exception that lr is not preserved, and # it is 64-bit only. There may yet be changes made to this ABI, so it's # for testing only. # # rfscv is implemented to return from scv type system calls. It can not # be used to return from sc system calls because those are defined to # preserve lr. # # In a comparison of getpid syscall, the test program had scv taking # about 3 more cycles in user mode (92 vs 89 for sc), due to lr handling. # Total cycles taken for a getpid system call on POWER9 are improved from # 436 to 345 (26.3% faster), mostly due to reducing mtmsr and mtspr. # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 f801360e700f3f7a4c89b889696e91972f137351 # < make -s -j 160 ARCH=x86_64 O=/kisskb/build/npiggin_x86_64-allnoconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- allnoconfig # < make -s -j 160 ARCH=x86_64 O=/kisskb/build/npiggin_x86_64-allnoconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 160 ARCH=x86_64 O=/kisskb/build/npiggin_x86_64-allnoconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig # make -s -j 160 ARCH=x86_64 O=/kisskb/build/npiggin_x86_64-allnoconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- Completed OK # rm -rf /kisskb/build/npiggin_x86_64-allnoconfig_x86_64-gcc8 # Build took: 0:00:14.504009