<commit_before># NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
# RUN: llvm-mca -march=aarch64 -mcpu=cortex-a57 -resource-pressure=false < %s | FileCheck %s

  add	x0, x1, x2, lsl #3

# CHECK:      Iterations:        100
# CHECK-NEXT: Instructions:      100
# CHECK-NEXT: Total Cycles:      104
# CHECK-NEXT: Total uOps:        100

# CHECK:      Dispatch Width:    3
# CHECK-NEXT: uOps Per Cycle:    0.96
# CHECK-NEXT: IPC:               0.96
# CHECK-NEXT: Block RThroughput: 1.0

# CHECK:      Instruction Info:
# CHECK-NEXT: [1]: #uOps
# CHECK-NEXT: [2]: Latency
# CHECK-NEXT: [3]: RThroughput
# CHECK-NEXT: [4]: MayLoad
# CHECK-NEXT: [5]: MayStore
# CHECK-NEXT: [6]: HasSideEffects (U)

# CHECK:      [1]    [2]    [3]    [4]    [5]    [6]    Instructions:
# CHECK-NEXT:  1      2     1.00                        add	x0, x1, x2, lsl #3<commit_msg>[llvm-mca] Improve test (NFC)<commit_after># NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
# RUN: llvm-mca -march=aarch64 -mcpu=cortex-a57 -resource-pressure=false < %s | FileCheck %s

  add	w0, w1, w2, lsl #0
  sub	x3, x4, x5, lsl #1
  adds	x6, x7, x8, lsr #2
  subs	x9, x10, x11, asr #3

# CHECK:      Iterations:        100
# CHECK-NEXT: Instructions:      400
# CHECK-NEXT: Total Cycles:      304
# CHECK-NEXT: Total uOps:        400

# CHECK:      Dispatch Width:    3
# CHECK-NEXT: uOps Per Cycle:    1.32
# CHECK-NEXT: IPC:               1.32
# CHECK-NEXT: Block RThroughput: 3.0

# CHECK:      Instruction Info:
# CHECK-NEXT: [1]: #uOps
# CHECK-NEXT: [2]: Latency
# CHECK-NEXT: [3]: RThroughput
# CHECK-NEXT: [4]: MayLoad
# CHECK-NEXT: [5]: MayStore
# CHECK-NEXT: [6]: HasSideEffects (U)

# CHECK:      [1]    [2]    [3]    [4]    [5]    [6]    Instructions:
# CHECK-NEXT:  1      1     0.50                        add	w0, w1, w2
# CHECK-NEXT:  1      2     1.00                        sub	x3, x4, x5, lsl #1
# CHECK-NEXT:  1      2     1.00                        adds	x6, x7, x8, lsr #2
# CHECK-NEXT:  1      2     1.00                        subs	x9, x10, x11, asr #3
{'fraction_non_alphanumeric': 0.13745210727969348, 'fraction_numerical': 0.06800766283524905, 'mean_word_length': 2.067547723935389, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5392791', 'n_tokens_mistral': 873, 'n_tokens_neox': 813, 'n_words': 232}