diff options
author | H. Peter Anvin <[email protected]> | 2016-06-08 12:38:40 -0700 |
---|---|---|
committer | H. Peter Anvin <[email protected]> | 2016-06-08 12:41:20 -0700 |
commit | ff3554b409b82d349f71e9d7082648b7b0a1a5bb (patch) | |
tree | bf0166f5e2be0455efb82ba62c1532baa6e41555 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 18fe58229d80c7f4f138a07e84ba608e1ebd232b (diff) |
x86, asm: define CC_SET() and CC_OUT() macros
The CC_SET() and CC_OUT() macros can be used together to take
advantage of the new __GCC_ASM_FLAG_OUTPUTS__ feature in gcc 6+ while
remaining backwards compatible. CC_SET() generates a SET instruction
on older compilers; CC_OUT() makes sure the output is received in the
correct variable.
Signed-off-by: H. Peter Anvin <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Reviewed-by: Andy Lutomirski <[email protected]>
Reviewed-by: Borislav Petkov <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions