X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=buildtools%2Fbinutils-avx512-check.py;h=a0847a23d677aaa93b6aa3eeb2c86f4827214a60;hb=dfb0708e1a675fc7b2dd161e50397730507d5cff;hp=57392ecdc8989469bd15eead0337590d11a17207;hpb=7be78d027918dbc846e502780faf94d5acdf5f75;p=dpdk.git diff --git a/buildtools/binutils-avx512-check.py b/buildtools/binutils-avx512-check.py index 57392ecdc8..a0847a23d6 100644 --- a/buildtools/binutils-avx512-check.py +++ b/buildtools/binutils-avx512-check.py @@ -15,7 +15,7 @@ with tempfile.NamedTemporaryFile() as obj: src = '__asm__("vpgatherqq {}");'.format(gather_params).encode('utf-8') subprocess.run(cc + ['-c', '-xc', '-o', obj.name, '-'], input=src, check=True) asm = subprocess.run([objdump, '-d', '--no-show-raw-insn', obj.name], - capture_output=True, check=True).stdout.decode('utf-8') + stdout=subprocess.PIPE, check=True).stdout.decode('utf-8') if gather_params not in asm: print('vpgatherqq displacement error with as') sys.exit(1)