1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/test/MC/X86
Jian Cai c97feb8b52 [MC] Recalculate fragment offsets after relaxation
Summary:
The current relaxation implementation is not correctly adjusting the
size and offsets of fragements in one section based on changes in size
of another if the layout order of the two happened to be such that the
former was visited before the later. Therefore, we need to invalidate
the fragments in all sections after each iteration of relaxation, and
possibly further relax some of them in the next ieration. This fixes
PR#45190.

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D76114
2020-03-17 14:48:05 -07:00
..
AlignedBundling [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
Inputs [NFC][X86] Simplify test cases for branch align 2020-03-16 16:30:29 +08:00
3DNow.s
2011-09-06-NoNewline.s
abs8.s
address-size.s
AES-32.s
AES-64.s
align-branch-32-work.s [NFC][X86] Simplify test cases for branch align 2020-03-16 16:30:29 +08:00
align-branch-64-align.s [NFC][X86] Simplify test cases for branch align 2020-03-16 16:30:29 +08:00
align-branch-64-basic.s [NFC][X86] Simplify test cases for branch align 2020-03-16 16:30:29 +08:00
align-branch-64-bundle.s [NFC][X86] Simplify test cases for branch align 2020-03-16 16:30:29 +08:00
align-branch-64-fused.s [NFC][X86] Simplify test cases for branch align 2020-03-16 16:30:29 +08:00
align-branch-64-general.s [NFC][X86] Simplify test cases for branch align 2020-03-16 16:30:29 +08:00
align-branch-64-hardcode.s [X86] Disable nop padding before instruction following hardcode 2020-03-17 09:45:12 +08:00
align-branch-64-mixed.s [NFC][X86] Simplify test cases for branch align 2020-03-16 16:30:29 +08:00
align-branch-64-necessary.s [NFC][X86] Simplify test cases for branch align 2020-03-16 16:30:29 +08:00
align-branch-64-negative.s [X86] Reduce the number of emitted fragments due to branch align 2020-03-12 15:37:35 +08:00
align-branch-64-prefix.s [X86] Disable nop padding before instruction following a prefix 2020-03-14 13:15:30 +08:00
align-branch-64-relax-all.s [NFC][X86] Simplify test cases for branch align 2020-03-16 16:30:29 +08:00
align-branch-64-section-size.s [NFC][X86] Simplify test cases for branch align 2020-03-16 16:30:29 +08:00
align-branch-64-single.s [NFC][X86] Simplify test cases for branch align 2020-03-16 16:30:29 +08:00
align-branch-64-system.s [BranchAlign] Fix bug w/nop padding for SS manipulation 2020-03-02 14:40:25 -08:00
align-branch-boundary-default.s [NFC][X86] Simplify test cases for branch align 2020-03-16 16:30:29 +08:00
align-branch-variant-symbol.s [NFC][X86] Simplify test cases for branch align 2020-03-16 16:30:29 +08:00
align-via-padding.s Support prefix padding for alignment purposes (Relaxable instructions only) 2020-03-15 19:53:41 -07:00
align-via-relaxation.s Support prefix padding for alignment purposes (Relaxable instructions only) 2020-03-15 19:53:41 -07:00
avx512_bf16_vl-encoding.s [X86] Move files to correct directories after D60552 2019-05-06 09:24:36 +00:00
avx512_bf16-encoding.s [X86] Move files to correct directories after D60552 2019-05-06 09:24:36 +00:00
avx512-encodings.s [X86] Remove the suffix on vcvt[u]si2ss/sd register variants in assembly printing. 2019-05-06 21:39:51 +00:00
avx512-err.s
avx512bitalg-encoding.s
avx512bw-encoding.s
avx512gfni-encoding.s
avx512ifma-encoding.s
avx512ifmavl-encoding.s
avx512vaes-encoding.s
avx512vbmi2-encoding.s
avx512vbmi2vl-encoding.s
avx512vbmi-encoding.s
avx512vl_bitalg-encoding.s
avx512vl_gfni-encoding.s
avx512vl_vaes-encoding.s
avx512vl_vnni-encoding.s
avx512vl-encoding.s
avx512vlvpclmul.s
avx512vnni-encoding.s
avx512vp2intersectvl-att.s [X86] Add VP2INTERSECT instructions 2019-05-31 02:50:41 +00:00
avx512vp2intersectvl-intel.s [X86] Add VP2INTERSECT instructions 2019-05-31 02:50:41 +00:00
avx512vpclmul.s
avx5124fmaps-encoding.s
avx5124vnniw-encoding.s
AVX2-32.s
AVX2-64.s
AVX512F_512-32.s
AVX512F_512-64.s
AVX512F_SCALAR-32.s [X86] Add support for {vex2}, {vex3}, and {evex} to the assembler to match gas. Use {evex} to improve the one our 32-bit AVX512 tests. 2019-04-09 18:45:15 +00:00
AVX512F_SCALAR-64.s [X86] Remove the suffix on vcvt[u]si2ss/sd register variants in assembly printing. 2019-05-06 21:39:51 +00:00
avx_vaes-encoding.s
AVX-32.s [X86] Add support for {vex2}, {vex3}, and {evex} to the assembler to match gas. Use {evex} to improve the one our 32-bit AVX512 tests. 2019-04-09 18:45:15 +00:00
AVX-64.s [X86] Remove the suffix on vcvt[u]si2ss/sd register variants in assembly printing. 2019-05-06 21:39:51 +00:00
AVXAES-32.s
AVXAES-64.s
BMI1-32.s
BMI1-64.s
BMI2-32.s
BMI2-64.s
CET-32.s
CET-64.s
cet-encoding.s
cfi_def_cfa-crash.s [llvm-readobj][MachO] Fix section type printing 2019-08-15 07:22:04 +00:00
cfi-open-within-another-crash.s
cfi-scope-errors.s
cfi-scope-unclosed.s
check-end-of-data-region.s Revert "Revert "Reland "[Support] make report_fatal_error abort instead of exit""" 2020-02-13 10:16:06 -08:00
CLFLUSHOPT-32.s
CLFLUSHOPT-64.s
CLFSH-32.s
CLFSH-64.s
CLWB-32.s
CLWB-64.s
CLZERO-32.s
CLZERO-64.s
code16-32-64.s [llvm-objdump] -d: print 00000000 <foo>: instead of 00000000 foo: 2020-03-05 18:05:28 -08:00
code16gcc.s
compact-unwind.s [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
crlf.test
data-prefix16.s [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
data-prefix32.s [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
data-prefix64.s [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
data-prefix-fail.s
disassemble-zeroes.s [llvm-objdump] -d: print 00000000 <foo>: instead of 00000000 foo: 2020-03-05 18:05:28 -08:00
dwarf-size-field-overflow.test Reduce the number of iterations in testcase. (NFC) 2019-11-21 08:32:55 -08:00
encoder-fail.s Revert "Revert "Reland "[Support] make report_fatal_error abort instead of exit""" 2020-02-13 10:16:06 -08:00
error-reloc.s
eval-fill.s [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
expand-var.s [llvm-readobj] Change -t to --symbols in tests. NFC 2019-05-01 09:28:24 +00:00
F16C-32.s
F16C-64.s
faultmap-section-parsing.s [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
fde-reloc.s
fixup-cpu-mode.s
FMA-32.s
FMA-64.s
fp-setup-macho.s [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
FXSAVE64-64.s
FXSAVE-32.s
FXSAVE-64.s
gather.s
gfni-encoding.s
gnux32-dwarf-gen.s
hex-immediates.s
i386-darwin-frame-register.ll
I86-32.s [X86] Add coverage for 16-bit and 64-bit versions of bsf/bsr/bt/btc/btr/bts in the assembly tests that are supposed to provide full coverage. Add coverage for cwtl/cltq/cwtd/cqto as well. 2019-03-18 22:06:19 +00:00
I86-64.s [X86] Add coverage for 16-bit and 64-bit versions of bsf/bsr/bt/btc/btr/bts in the assembly tests that are supposed to provide full coverage. Add coverage for cwtl/cltq/cwtd/cqto as well. 2019-03-18 22:06:19 +00:00
I186-32.s
I186-64.s
I286-32.s
I286-64.s
I386-32.s [X86] Add coverage for 16-bit and 64-bit versions of bsf/bsr/bt/btc/btr/bts in the assembly tests that are supposed to provide full coverage. Add coverage for cwtl/cltq/cwtd/cqto as well. 2019-03-18 22:06:19 +00:00
I386-64.s [X86] Add coverage for 16-bit and 64-bit versions of bsf/bsr/bt/btc/btr/bts in the assembly tests that are supposed to provide full coverage. Add coverage for cwtl/cltq/cwtd/cqto as well. 2019-03-18 22:06:19 +00:00
I486-32.s
I486-64.s
imm-comments.s
index-operations.s
inline-asm-obj.ll
intel-syntax-2.s
intel-syntax-32.s
intel-syntax-ambiguous.s
intel-syntax-avx512_bf16_vl.s [X86] Move files to correct directories after D60552 2019-05-06 09:24:36 +00:00
intel-syntax-avx512_bf16.s [X86] Move files to correct directories after D60552 2019-05-06 09:24:36 +00:00
intel-syntax-avx512-error.s
intel-syntax-avx512.s
intel-syntax-bitwise-ops.s
intel-syntax-directional-label.s
intel-syntax-encoding.s
intel-syntax-error.s
intel-syntax-hex.s
intel-syntax-invalid-basereg.s
intel-syntax-invalid-scale.s
intel-syntax-print.ll
intel-syntax-ptr-sized.s
intel-syntax-unsized-memory.s
intel-syntax-var-offset.ll
intel-syntax-x86-64-avx512_bf16_vl.s [X86] Move files to correct directories after D60552 2019-05-06 09:24:36 +00:00
intel-syntax-x86-64-avx512_bf16.s [X86] Move files to correct directories after D60552 2019-05-06 09:24:36 +00:00
intel-syntax-x86-64-avx512f_vl.s [X86] Remove some intel syntax aliases on (v)cvtpd2(u)dq, (v)cvtpd2ps, (v)cvt(u)qq2ps. Add 'x' and'y' suffix aliases to masked version of the same in att syntax. 2019-04-29 06:13:41 +00:00
intel-syntax-x86-64-avx.s [X86] Remove some intel syntax aliases on (v)cvtpd2(u)dq, (v)cvtpd2ps, (v)cvt(u)qq2ps. Add 'x' and'y' suffix aliases to masked version of the same in att syntax. 2019-04-29 06:13:41 +00:00
intel-syntax-x86-avx512dq_vl.s [X86] Allow assembly parser to accept x/y/z suffixes on non-memory vfpclassps/pd and on memory forms in intel syntax 2019-05-03 16:15:15 +00:00
intel-syntax-x86-avx512vbmi_vl.s
intel-syntax.s [X86][AsmParser] Ignore "short" even harder in Intel syntax ASM. 2019-05-16 23:27:07 +00:00
invalid_opcode.s
invalid-sleb.s Revert "Revert "Reland "[Support] make report_fatal_error abort instead of exit""" 2020-02-13 10:16:06 -08:00
INVPCID-32.s
INVPCID-64.s
large-bss.s [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
line-table-sections.s
lit.local.cfg
LWP-32.s
LWP-64.s
lwp-x86_64.s
lwp.s
macho-reloc-errors-x86_64.s
macho-reloc-errors-x86.s
macho-uleb.s
MMX-32.s
MMX-64.s
mpx-encodings.s
no-elf-compact-unwind.s [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
padlock.s
PKU-32.s
PKU-64.s
POPCNT-32.s
POPCNT-64.s
PPRO-32.s
PPRO-64.s
pr22004.s
pr22028.s
pr27884.s
pr28547.s
pr32530.s [X86][AsmParser] re-introduce 'offset' operator 2019-12-30 14:35:26 -05:00
pr37425.s
pr38826.s
PREFETCH-32.s
PREFETCH-64.s
prefix-padding-32.s [Tests] Add test coverage for prefix selection logic 2020-03-16 17:27:44 -07:00
prefix-padding-64.s [Tests] Add test coverage for prefix selection logic 2020-03-16 17:27:44 -07:00
RDPMC-32.s
RDPMC-64.s
RDRAND-32.s
RDRAND-64.s
RDSEED-32.s
RDSEED-64.s
RDTSCP-32.s
RDTSCP-64.s
RDWRFSGS-64.s
relax-insn.s
relax-offset.s [MC] Recalculate fragment offsets after relaxation 2020-03-17 14:48:05 -07:00
reloc-bss.s Revert "Revert "Reland "[Support] make report_fatal_error abort instead of exit""" 2020-02-13 10:16:06 -08:00
reloc-directive-elf-32.s [X86] Support .reloc *, R_{386,X86_64}_NONE, * 2019-05-17 03:25:39 +00:00
reloc-directive-elf-64.s [X86] Support .reloc *, R_{386,X86_64}_NONE, * 2019-05-17 03:25:39 +00:00
reloc-directive.s [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
reloc-macho.s
reloc-undef-global.s
ret.s
return-column.s [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
RTM.s
SHA-32.s
SHA-64.s
shuffle-comments.s
signed-coff-pcrel.s
space-err.s
SSE2-32.s
SSE2-64.s [X86] Remove the suffix on vcvt[u]si2ss/sd register variants in assembly printing. 2019-05-06 21:39:51 +00:00
SSE3-32.s
SSE3-64.s
SSE4a-32.s
SSE4a-64.s
SSE41-32.s
SSE41-64.s
SSE42-32.s
SSE42-64.s
SSE_PREFETCH-32.s
SSE_PREFETCH-64.s
SSE-32.s
SSE-64.s [X86] Remove the suffix on vcvt[u]si2ss/sd register variants in assembly printing. 2019-05-06 21:39:51 +00:00
SSEMXCSR-32.s
SSEMXCSR-64.s
SSSE3-32.s
SSSE3-64.s
stackmap-nops.ll [X86] Adjust nop emission by compiler to consider target decode limitations 2020-01-11 08:45:17 -08:00
stdcall.s Allow '@' to appear in x86 mingw symbols 2019-08-29 21:15:02 +00:00
SVM-32.s
SVM-64.s
tlsdesc-32.s [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
tlsdesc-64.s [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
unused_reg_var_assign.s
validate-inst-att.s
validate-inst-intel.s
variant-diagnostics.s
VMFUNC-32.s
VMFUNC-64.s
vpclmulqdq.s
VTX-32.s
VTX-64.s
x86_64-asm-match.s
x86_64-avx-clmul-encoding.s
x86_64-avx-encoding.s [X86] Remove the suffix on vcvt[u]si2ss/sd register variants in assembly printing. 2019-05-06 21:39:51 +00:00
x86_64-bmi-encoding.s
x86_64-encoding.s
x86_64-fma3-encoding.s
x86_64-fma4-encoding.s
x86_64-hle-encoding.s
x86_64-imm-widths.s
x86_64-rand-encoding.s
x86_64-rtm-encoding.s
x86_64-signed-reloc.s
x86_64-sse4a.s
x86_64-tbm-encoding.s
x86_64-xop-encoding.s
x86_directives.s
x86_errors.s [X86] Improve the diagnostic for larger than 4-bit immediate for vpermil2pd/ps. Only allow MCConstantExprs. 2019-08-10 04:28:52 +00:00
x86_long_nop.s [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
x86_nop.s
x86_operands.s X86AsmParser: Do not process a non-existent token 2019-03-26 03:12:41 +00:00
x86-16.s [X86] Add ENQCMD instructions 2019-05-30 03:59:16 +00:00
x86-32-avx512_vp2intersect-intel.s [X86] Add VP2INTERSECT instructions 2019-05-31 02:50:41 +00:00
x86-32-avx512vp2intersect-att.s [X86] Add VP2INTERSECT instructions 2019-05-31 02:50:41 +00:00
x86-32-avx.s [X86] Remove the _alt forms of (V)CMP instructions. Use a combination of custom printing and custom parsing to achieve the same result and more 2019-03-18 17:59:59 +00:00
x86-32-coverage.s [X86] Allow any 8-bit immediate to be used with bt/btc/btr/bts memory aliases. 2019-08-07 06:17:58 +00:00
x86-32-fma3.s
x86-32-ms-inline-asm.s
x86-32.s [X86] Remove the _alt forms of (V)CMP instructions. Use a combination of custom printing and custom parsing to achieve the same result and more 2019-03-18 17:59:59 +00:00
x86-64-avx512_bf16_vl-encoding.s [X86] Move files to correct directories after D60552 2019-05-06 09:24:36 +00:00
x86-64-avx512_bf16-encoding.s [X86] Move files to correct directories after D60552 2019-05-06 09:24:36 +00:00
x86-64-avx512_vp2intersect-intel.s [X86] Add VP2INTERSECT instructions 2019-05-31 02:50:41 +00:00
x86-64-avx512bw_vl.s
x86-64-avx512bw.s
x86-64-avx512cd_vl.s
x86-64-avx512cd.s
x86-64-avx512dq_vl.s [X86] Allow assembly parser to accept x/y/z suffixes on non-memory vfpclassps/pd and on memory forms in intel syntax 2019-05-03 16:15:15 +00:00
x86-64-avx512dq.s [X86] Allow assembly parser to accept x/y/z suffixes on non-memory vfpclassps/pd and on memory forms in intel syntax 2019-05-03 16:15:15 +00:00
x86-64-avx512f_vl.s [X86] Remove some intel syntax aliases on (v)cvtpd2(u)dq, (v)cvtpd2ps, (v)cvt(u)qq2ps. Add 'x' and'y' suffix aliases to masked version of the same in att syntax. 2019-04-29 06:13:41 +00:00
x86-64-avx512pf.s [X86] Teach X86MCodeEmitter to properly encode zmm16-zmm31 as index register to vgatherpf/vscatterpf. 2019-10-14 23:48:24 +00:00
x86-64-avx512vp2intersect-att.s [X86] Add VP2INTERSECT instructions 2019-05-31 02:50:41 +00:00
x86-64-avx512vp2intersectvl-att.s [X86] Add VP2INTERSECT instructions 2019-05-31 02:50:41 +00:00
x86-64-avx512vp2intersectvl-intel.s [X86] Add VP2INTERSECT instructions 2019-05-31 02:50:41 +00:00
x86-64-avx512vpopcntdq.s
x86-64.s [X86] Add ENQCMD instructions 2019-05-30 03:59:16 +00:00
x86-branch-relaxation.s [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
x86-evenDirective.s [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
x86-GCC-inline-asm-Y-constraints.ll
x86-itanium.ll
x86-jcxz-loop-fixup.s [X86][MC] no error diagnostic for out-of-range jrcxz/jecxz/jcxz 2019-11-26 14:32:17 +03:00
x86-target-directives.s
x86-windows-itanium-libcalls.ll
X86_64-pku.s
X87-32.s
X87-64.s
XOP-32.s
XOP-64.s
XSAVE-32.s
XSAVE-64.s
XSAVEC-32.s
XSAVEC-64.s
XSAVEOPT-32.s
XSAVEOPT-64.s
XSAVES-32.s
XSAVES-64.s