Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    CastError
Message:      Couldn't cast
id: string
messages: list<item: struct<role: string, content: string>>
  child 0, item: struct<role: string, content: string>
      child 0, role: string
      child 1, content: string
source_kind: string
task_type: string
prompt: string
baseline_arm64: string
require_constant_time: bool
arm64_bytes: int64
to
{'id': Value('string'), 'task_type': Value('string'), 'source_kind': Value('string'), 'prompt': Value('string'), 'baseline_arm64': Value('string'), 'arm64_bytes': Value('int64'), 'require_constant_time': Value('bool')}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1835, in _prepare_split_single
                  for key, table in generator:
                                    ^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 623, in wrapped
                  for item in generator(*args, **kwargs):
                              ~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 373, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2394, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2322, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              id: string
              messages: list<item: struct<role: string, content: string>>
                child 0, item: struct<role: string, content: string>
                    child 0, role: string
                    child 1, content: string
              source_kind: string
              task_type: string
              prompt: string
              baseline_arm64: string
              require_constant_time: bool
              arm64_bytes: int64
              to
              {'id': Value('string'), 'task_type': Value('string'), 'source_kind': Value('string'), 'prompt': Value('string'), 'baseline_arm64': Value('string'), 'arm64_bytes': Value('int64'), 'require_constant_time': Value('bool')}
              because column names don't match
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1382, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 958, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1702, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1887, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

id
string
task_type
string
source_kind
string
prompt
string
baseline_arm64
string
arm64_bytes
int64
require_constant_time
bool
univ_00001__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp cmpl $0x2, %edi ja 0x32 <_fn_1+0x12> movb $0x1, %al jne 0x34 <_fn_1+0x14> cmpl $0x3, %esi jbe 0x36 <_fn_1+0x16> xorl %eax, %eax popq %rbp retq setne %cl testl %edx, %edx sete %al orb %cl, %al jmp 0...
52800028 71000c3f 7a400844 1a9f17e9 71000c3f 1a8983e9 7100081f 1a891108 1a8883e0 d65f03c0
40
true
univ_00001__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Treat the low 32 bits of x0, x1, and x2 as unsigned 32-bit integers (major, minor, patch), ignoring x3..x5 and the upper 32 bits of x0..x2, and return 1 as a 64-bit unsigned integer if the tuple (major, minor, patch) is lexicographically less than or equ...
52800028 71000c3f 7a400844 1a9f17e9 71000c3f 1a8983e9 7100081f 1a891108 1a8883e0 d65f03c0
40
true
univ_00003__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp movb $0x1, %al cmpl $0xb3, %edi jle 0xa3 <_fn_3+0x33> leal -0xb4(%rdi), %ecx cmpl $0x36, %ecx ja 0x99 <_fn_3+0x29> movabsq $0x60008000000003, %rdx ## imm = 0x60008000000003 btq %rcx, %rdx jb 0xc2 <...
aa0003e8 52800020 7102cd1f 540001cd 5102d109 7100d93f 54000108 5280002a 9ac92149 d280006a f2c0100a f2e00c0a ea0a013f 540001e1 71056d1f 540001a0 1400000d 7100f51f 54000108 2a0803e9 5280002a 9ac92149 d2a0240a f2e4000a ea0a013f 54000061 71029d1f 54000041 d65f03c0 52800000 d65f03c0
124
false
univ_00003__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Return 1 (as a 64-bit unsigned integer) if the lower 32 bits of x0 equal any of the ten values {21, 24, 61, 167, 180, 181, 219, 233, 234, 347} (in hex: 0x15, 0x18, 0x3d, 0xa7, 0xb4, 0xb5, 0xdb, 0xe9, 0xea, 0x15b), and return 0 otherwise; ignore x1..x5 an...
aa0003e8 52800020 7102cd1f 540001cd 5102d109 7100d93f 54000108 5280002a 9ac92149 d280006a f2c0100a f2e00c0a ea0a013f 540001e1 71056d1f 540001a0 1400000d 7100f51f 54000108 2a0803e9 5280002a 9ac92149 d2a0240a f2e4000a ea0a013f 54000061 71029d1f 54000041 d65f03c0 52800000 d65f03c0
124
false
univ_00004__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp testl %esi, %esi js 0x106 <_fn_4+0x36> movl $0x1, %eax cmpl $0x1f, %edx jl 0xfc <_fn_4+0x2c> movl $0x1, %eax movl %edx, %ecx shrl $0x7, %ecx incl %eax cmpl $0x7f, %edx movl %ecx, %edx ja 0xf0 <_fn_...
37f801a1 52800028 71007c5f 540000cb 53077c49 11000508 7101fc5f aa0903e2 54ffff88 7100081f 540000a1 11000d08 1400000c 12800000 d65f03c0 11000508 7102003f 540000eb aa0103e9 53087d2a 11000508 7103fd3f aa0a03e9 54ffff88 52007829 0b01010a 6b09011f 5a9fb140 d65f03c0
116
false
univ_00005__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp leaq 0x10(%rdi), %rax popq %rbp retq ```
91004000 d65f03c0
8
true
univ_00005__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Return the 64-bit unsigned sum of x0 and 16 (modulo 2^64), ignoring all other arguments.
91004000 d65f03c0
8
true
univ_00006__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp leal -0x41(%rdi), %ecx leal 0x20(%rdi), %eax cmpl $0x1a, %ecx cmovael %edi, %eax popq %rbp retq ```
51010408 11008009 7100691f 1a803120 d65f03c0
20
true
univ_00006__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Convert an ASCII uppercase letter in the low 32 bits of x0 ('A'..'Z', i.e. 0x41..0x5a) to lowercase by adding 0x20; otherwise leave the low 32 bits of x0 unchanged, and return the 32-bit result zero-extended to 64 bits.
51010408 11008009 7100691f 1a803120 d65f03c0
20
true
univ_00008__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp leaq (%rsi,%rsi,2), %rax leaq (%rdi,%rax,8), %rax addq $0x30, %rax popq %rbp retq ```
52800308 9b080028 9100c100 d65f03c0
16
true
univ_00008__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Compute the 64-bit unsigned integer expression x0 + 24 * x1 + 48 (wrapping modulo 2^64) and return it.
52800308 9b080028 9100c100 d65f03c0
16
true
univ_00009__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp shlq $0x4, %rsi leaq (%rdi,%rsi), %rax addq $0x40, %rax popq %rbp retq ```
8b011008 91010100 d65f03c0
12
true
univ_00009__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Compute the 64-bit unsigned sum of x0, x1 shifted left by 4 bits (multiplied by 16), and 64 (0x40), wrapping modulo 2^64.
8b011008 91010100 d65f03c0
12
true
univ_00010__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp leaq -0x30(%rdi), %rax popq %rbp retq ```
d100c000 d65f03c0
8
true
univ_00010__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Return the 64-bit unsigned integer result of subtracting 48 (0x30) from x0 modulo 2^64, ignoring x1 through x5.
d100c000 d65f03c0
8
true
univ_00011__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp movq %rdi, %rax movl $0x1, %edx popq %rbp retq ```
52800021 d65f03c0
8
true
univ_00011__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Return the full 64-bit unsigned integer input x0 unchanged, ignoring inputs x1 through x5.
52800021 d65f03c0
8
true
univ_00012__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp movq %rdi, %rax movl $0x2, %edx popq %rbp retq ```
52800041 d65f03c0
8
true
univ_00012__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Return the 64-bit unsigned integer x0 unchanged, ignoring all other arguments x1 through x5.
52800041 d65f03c0
8
true
univ_00013__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp cmpl $0x8, %edi jb 0x223 <_fn_13+0x23> xorl %eax, %eax cmpl $0x8, %edi movl $0x9db, %ecx ## imm = 0x9DB cmovnel %eax, %ecx cmpl $0x10, %edi movl $0xa0b, %eax ## imm = 0xA0B cm...
7100201f 540000e3 52813b68 1a9f0108 52814169 7100401f 1a880120 d65f03c0 52807208 52807049 52806e4a 7100041f 1a9f014a 7100101f 1a8a0108 7100081f 1a880128 528200c9 5281fe2a 5281fc6b 7100041f 1a9f016b 7100101f 1a8b0129 7100081f 1a890149 7100005f 1a890108 528226e9 5282266a 5282262b 7100041f 1a9f016b 7100101f 1a8b0129 71000...
160
false
univ_00014__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp cmpl $0x8, %edi jb 0x2c3 <_fn_14+0x23> xorl %eax, %eax cmpl $0x8, %edi movl $0xe0a, %ecx ## imm = 0xE0A cmovnel %eax, %ecx cmpl $0x10, %edi movl $0xe3a, %eax ## imm = 0xE3A cm...
7100201f 540000e3 5281c148 1a9f0108 5281c749 7100401f 1a880120 d65f03c0 5280f668 5280f5e9 5280f3ea 7100041f 1a9f014a 7100101f 1a8a0108 7100081f 1a880128 52821949 5282188a 528216eb 7100041f 1a9f016b 7100101f 1a8b0129 7100081f 1a890149 7100005f 1a890108 52822a89 52822a4a 52822a0b 7100041f 1a9f016b 7100101f 1a8b0129 71000...
160
false
univ_00015__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp movb $0x1, %al cmpl $0x14, %edi ja 0x357 <_fn_15+0x17> movl $0x140d00, %ecx ## imm = 0x140D00 btl %edi, %ecx jae 0x357 <_fn_15+0x17> popq %rbp retq cmpl $0x5c, %edi je 0x355 <_fn_15+0x15> x...
aa0003e8 52800020 7100511f 540000e8 1ac82009 5281a00a 72a0028a 6a0a013f 54000040 d65f03c0 7101711f 1a9f0000 d65f03c0
52
false
univ_00015__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Return 1 (zero-extended to 64 bits) if the low 32 bits of x0 equal any of 8, 10, 11, 18, 20, or 92, and 0 otherwise; ignore x1 through x5.
aa0003e8 52800020 7100511f 540000e8 1ac82009 5281a00a 72a0028a 6a0a013f 54000040 d65f03c0 7101711f 1a9f0000 d65f03c0
52
false
univ_00016__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp movb $0x1, %al cmpl $0x97, %edi jle 0x3a1 <_fn_16+0x41> leal -0x98(%rdi), %ecx cmpl $0x1b, %ecx jbe 0x3bf <_fn_16+0x5f> leal -0xf8(%rdi), %ecx cmpl $0x35, %ecx ja 0x394 <_fn_16+0x34> movabsq $0x380...
aa0003e8 52800020 71025d1f 5400024d 51026109 71006d3f 540003a9 5103e109 7100d53f 54000108 5280002a 9ac92149 d280022a f2a0080a f2e0070a ea0a013f 54000321 51051d08 71000d1f 540002c3 1400000d 5100e509 7100453f 540000e8 5280002a 1ac92149 528ac4ea 72a0004a 6a0a013f 54000181 51000908 7100091f 54000123 52800000 d65f03c0 52800...
168
false
univ_00017__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp movl $0xcfd0, %eax ## imm = 0xCFD0 btl %edi, %eax setb %al popq %rbp retq ```
5299fa08 1ac02508 12000100 d65f03c0
16
true
univ_00017__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Extract bit (x0 & 31) from the 32-bit constant 0xcfd0 (53200), returning 1 if that bit is set and 0 otherwise as a zero-extended uint64_t.
5299fa08 1ac02508 12000100 d65f03c0
16
true
univ_00018__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp testl %edi, %edi je 0x41a <_fn_18+0x2a> xorl %esi, %esi cmpl $0x3fffffff, %edi ## imm = 0x3FFFFFFF ja 0x41e <_fn_18+0x2e> xorl %esi, %esi leal (,%rdi,4), %ecx addl $0x2, %esi cmpl $0x10000000...
340002e0 531e7c08 35000108 aa0003e9 531e7520 11000908 531c7d2a aa0003e9 34ffff8a 14000002 52800008 72005c1f 53187c09 1a890529 121e192a 7104013f 1a8a3129 5280030a 4b08014a 71006108 1ac82528 1aca2129 1a898100 d65f03c0
96
false
univ_00019__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp xorl %eax, %eax cmpb $0x2, %dil setae %al addl %eax, %eax cmpb $0x1, %dil movl $0x80000000, %ecx ## imm = 0x80000000 cmovnel %eax, %ecx movl %edi, %eax andb $-0x2, %al leal 0x4(%rcx), %edx cm...
12001c08 52b00009 7100051f 1a9f97ea 531f794a 1a8a0129 121f180a 321e012b 7100095f 1a890169 3203012a 71000d1f 1a890148 51003009 12001d29 7100253f 1a9f27ea 2a0a0108 3216010a 71000d3f 1a883148 51001409 12001d29 121e140a 7100215f 7a431920 321c010a 1a883148 321b010a 71000d3f 1a883140 d65f03c0
128
true
univ_00019__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Map the low 8-bit unsigned integer k = x0 & 0xff to a 32-bit ELF section flags bitmask (zero-extended to uint64): start with 0x80000000 if k == 1, 0x2 if k >= 2, or 0 if k == 0; then bitwise-OR in 0x4 if k in [2, 3], 0x20000000 if k == 3, 0x10 if k in [5...
12001c08 52b00009 7100051f 1a9f97ea 531f794a 1a8a0129 121f180a 321e012b 7100095f 1a890169 3203012a 71000d1f 1a890148 51003009 12001d29 7100253f 1a9f27ea 2a0a0108 3216010a 71000d3f 1a883148 51001409 12001d29 121e140a 7100215f 7a431920 321c010a 1a883148 321b010a 71000d3f 1a883140 d65f03c0
128
true
univ_00020__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp testb %dil, %dil je 0x4f9 <_fn_20+0x19> movzbl %dil, %eax cmpl $0x1, %eax jne 0x500 <_fn_20+0x20> movl $0x2000800, %eax ## imm = 0x2000800 jmp 0x4fe <_fn_20+0x1e> movl $0x2000000, %eax ...
72001c08 540000c0 7100051f 540000c1 52810000 72a04000 d65f03c0 52a04000 d65f03c0 121f1808 7100091f 540000e1 52800408 72ac0008 320f0109 71008c3f 1a880120 d65f03c0 52800808 72b80008 51003c09 12001d29 1101010a 5100300b 12001d6b 5280080c 72a8000c 121e140d 12001c0e 7100257f 1a9f310f 710051df 1a8f018e 710021bf 1a8e018e 71001...
168
false
univ_00022__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp leal 0x26(%rdi), %ecx cmpl $0xd, %edi movl $0xffffffff, %eax ## imm = 0xFFFFFFFF cmovbl %ecx, %eax popq %rbp retq ```
11009808 7100341f 5a9f3100 d65f03c0
16
true
univ_00022__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Take the low 32 bits of x0 as an unsigned 32-bit integer a; if a < 13, return a + 38 zero-extended to 64 bits, otherwise return 0xFFFFFFFF zero-extended to 64 bits (ignoring x1..x5).
11009808 7100341f 5a9f3100 d65f03c0
16
true
univ_00023__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp leal -0x26(%rdi), %eax popq %rbp retq ```
51009800 d65f03c0
8
true
univ_00023__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Truncate x0 to an unsigned 32-bit integer, subtract 38 (0x26) modulo 2^32, and return the result zero-extended to 64 bits (ignoring x1 through x5).
51009800 d65f03c0
8
true
univ_00027__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp cmpl $0x11, %edi movl $0x11, %eax cmovbl %edi, %eax popq %rbp retq ```
52800228 7100441f 1a883000 d65f03c0
16
true
univ_00027__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Clamp the lower 32-bit unsigned value of x0 to a maximum of 17 (0x11), returning the 32-bit result zero-extended to uint64_t.
52800228 7100441f 1a883000 d65f03c0
16
true
univ_00028__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp movl $0x284d, %eax ## imm = 0x284D cmpl $0x2704, %edi ## imm = 0x2704 jg 0x7ab <_fn_28+0x2b> cmpl $0x2658, %edi ## imm = 0x2658 jle 0x7c5 <_fn_28+0x45> cmpl $0x26ba, %...
aa0003e8 528509a0 5284e089 6b09011f 5400016c 5284cb09 6b09011f 5400024d 5284d749 6b09011f 5400038c 5284cb29 6b09011f 54000420 14000024 5284ffc9 6b09011f 5400020d 528504e9 6b09011f 540002ec 5284ffe9 6b09011f 54000101 14000018 5284c429 6b09011f 540002a0 5284c609 6b09011f 54000181 52850060 d65f03c0 5284e0a9 6b09011f 54000...
216
false
univ_00029__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp addb $-0x50, %dil movzbl %dil, %eax movabsq $0x173c1ef8e9e, %rcx ## imm = 0x173C1EF8E9E btq %rax, %rcx setb %al popq %rbp retq ```
51014008 d291d3c9 f2b83de9 f2c02e69 9ac82528 12000100 d65f03c0
28
true
univ_00029__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Computes the bit at index ((x0 - 0x50) & 63) of the 64-bit constant bitmask 0x173c1ef8e9e, ignoring inputs x1 through x5. Returns the extracted bit (0 or 1) as a 64-bit unsigned integer.
51014008 d291d3c9 f2b83de9 f2c02e69 9ac82528 12000100 d65f03c0
28
true
univ_00031__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp movl %edi, %eax andl $0x10, %eax shrl $0x4, %eax cmpq $0x3, %rsi setb %cl orb %cl, %al movl %edi, %edx andl $0x20, %edx shrl $0x5, %edx orb %cl, %dl movl %edi, %ecx andl $0xf, %ecx movl %edi, %esi ...
d3441008 f1000c3f 1a9f2508 d3451409 1a9f2529 53067c0a 12000c0b 5308240c 5280080d 7100011f 1a9f11a8 5280100d 7100013f 1a9f11a9 2a0c116b 3318054b 2a080168 2a090100 d65f03c0
76
true
univ_00031__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Decode and repack the lower 10 bits of uint64_t x0 into a 10-bit unsigned integer (zero-extended to 64 bits) using unsigned 64-bit threshold x1 < 3: place x0[3:0] in bits 0..3, x0[9:8] in bits 4..5, (x1 < 3 ? 1 : x0[4]) in bit 6, (x1 < 3 ? 1 : x0[5]) in ...
d3441008 f1000c3f 1a9f2508 d3451409 1a9f2529 53067c0a 12000c0b 5308240c 5280080d 7100011f 1a9f11a8 5280100d 7100013f 1a9f11a9 2a0c116b 3318054b 2a080168 2a090100 d65f03c0
76
true
univ_00033__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp movl $0xcc, %eax leal -0x159(%rdi), %ecx cmpl $0x8, %ecx jbe 0x935 <_fn_33+0x35> addl $0xfffffe5b, %edi ## imm = 0xFFFFFE5B movl $0x1f, %ecx btl %edi, %ecx jb 0x94e <_fn_33+0x4e> movl $0x60, ...
aa0003e8 52801980 51056509 7100213f 540000a9 51069508 52800029 1ac82128 14000003 52800028 1ac92108 7200111f 54000040 d65f03c0 721b051f 54000060 52801940 d65f03c0 52801960 17fffffa
80
false
univ_00033__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Given the low 32 bits u = (uint32_t)x0 of x0 (ignoring x1..x5), compute shift = (u - 0x159u) if (u - 0x159u) <= 8u (unsigned 32-bit), otherwise shift = (u - 0x1a5u) & 31u; return 204 if shift <= 4, 202 if shift is 5 or 6, and 203 otherwise, zero-extended...
aa0003e8 52801980 51056509 7100213f 540000a9 51069508 52800029 1ac82128 14000003 52800028 1ac92108 7200111f 54000040 d65f03c0 721b051f 54000060 52801940 d65f03c0 52801960 17fffffa
80
false
univ_00034__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp cmpl $0xeec, %edi ## imm = 0xEEC jg 0x985 <_fn_34+0x35> cmpl $0xb0f, %edi ## imm = 0xB0F jle 0x9a9 <_fn_34+0x59> xorl %eax, %eax cmpl $0xb10, %edi ## imm = 0xB10 je...
52807248 128200e9 0b090009 528200ea 1282196b 0b0b000b 5282196c 5281dd0d 5281dd4e 7100043f 1a8d01cd 7100097f 1a8d318b 7100093f 1a8b3149 5281612a 5281616b 7100043f 1a8a016a 528161ab 528161ec 1a8b018b 5281dc8c 5281dccd 7100043f 1a8c01ac 712c481f 1a8c016b 712c401f 1a8b014a 5280f6ab 710e541f 1a8b0108 712c3c1f 1a88c148 713bb...
152
true
univ_00035__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp movq %rsi, %rax notq %rdi testq %rdi, %rsi jne 0xa55 <_fn_35+0x65> movq %rax, %rcx rolq $0x20, %rcx orq %rax, %rcx testq %rdi, %rcx jne 0xa55 <_fn_35+0x65> movq %rcx, %rdx rolq $0x10, %rdx orq %rcx...
ea20003f 54000261 aac18028 ea20011f 54000201 aac8c109 aa0803e1 ea20013f 54000181 aac9e128 aa0903e1 ea20011f 54000101 aac8f109 aa0803e1 ea20013f 54000081 aac9f928 ea20011f 9a890101 aa0103e0 d65f03c0
88
false
univ_00035__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Given 64-bit unsigned integers x0 and x1 (ignoring x2..x5), return x1 immediately if (x1 & ~x0) != 0; otherwise, starting from cur = x1, iteratively set next = cur | rotl64(cur, s) for s in 32, 16, 8, 4, 2, stopping and returning cur as soon as (next & ~...
ea20003f 54000261 aac18028 ea20011f 54000201 aac8c109 aa0803e1 ea20013f 54000181 aac9e128 aa0903e1 ea20011f 54000101 aac8f109 aa0803e1 ea20013f 54000081 aac9f928 ea20011f 9a890101 aa0103e0 d65f03c0
88
false
univ_00036__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp movl %edi, %eax cmpl $0x7f, %edi jle 0xa85 <_fn_36+0x25> addl $-0x80, %eax movabsq $0x1ff0f1f7e7f, %rcx ## imm = 0x1FF0F1F7E7F btq %rax, %rcx jae 0xa8f <_fn_36+0x2f> movl $0x4, %eax popq %rbp re...
7101fc1f 5400018d 51020008 52800029 9ac82128 d28fcfe9 f2a1e3e9 f2c03fe9 ea09011f 52800088 52800049 1a891100 d65f03c0 52800048 52800089 7100081f 1a890108 7100041f 1a880000 d65f03c0
80
false
univ_00036__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Treat the low 32 bits of x0 as a signed 32-bit integer w0: if w0 <= 127, return 1 when w0 == 1, 2 when w0 == 2, and 4 otherwise; if w0 > 127, test bit ((w0 - 128) & 63) of the 64-bit mask 0x1ff0f1f7e7f and return 4 if that bit is set or 2 if it is clear,...
7101fc1f 5400018d 51020008 52800029 9ac82128 d28fcfe9 f2a1e3e9 f2c03fe9 ea09011f 52800088 52800049 1a891100 d65f03c0 52800048 52800089 7100081f 1a890108 7100041f 1a880000 d65f03c0
80
false
univ_00037__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp movl %esi, %eax andl $-0x2, %eax cmpl $0x4, %eax je 0xace <_fn_37+0x2e> cmpl $0xc, %eax je 0xace <_fn_37+0x2e> xorl %eax, %eax cmpl $0x29, %esi ja 0xacc <_fn_37+0x2c> movl %esi, %ecx movabsq $0x200...
121f7828 7100111f 540002a0 7100311f 54000260 2a0103e8 52800029 9ac82128 d2a00069 f2c04009 5280002a 529eeeeb 72a3ffcb 9ac0256b 1200016b 7100881f 1a8b814a ea09011f 1a9f1148 7100a43f 1a8883e8 aa0803e0 d65f03c0 52800028 7100881f 54ffff88 2a0003e9 5280002a 9ac92149 d281110a f2bc002a f2c000ea ea0a013f 54fffc81 17fffff3
140
false
univ_00038__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp cmpl $0x10, %esi je 0xb0e <_fn_38+0xe> cmpl $0x24, %esi jne 0xb35 <_fn_38+0x35> movsbl %dil, %ecx leal -0x30(%rcx), %eax cmpl $0xa, %eax jb 0xb48 <_fn_38+0x48> leal -0x41(%rcx), %edx addl $-0xb, %e...
aa0003e8 7100403f 54000060 7100903f 540001a1 5100c100 7100281f 540001a3 5101050a 51002c29 6b09015f 54000149 5101850a 6b09015f 54000129 52800141 14000002 5100c100 6b01001f 5a9f3000 d65f03c0 5100dd00 d65f03c0 51015d00 d65f03c0
100
false
univ_00038__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Convert the 32-bit character code in the low 32 bits of x0 to its numeric digit value in the 32-bit unsigned base given by the low 32 bits of x1, returning the zero-extended 32-bit result or 0xFFFFFFFF if invalid. When the base is 16 or 36, accept ASCII ...
aa0003e8 7100403f 54000060 7100903f 540001a1 5100c100 7100281f 540001a3 5101050a 51002c29 6b09015f 54000149 5101850a 6b09015f 54000129 52800141 14000002 5100c100 6b01001f 5a9f3000 d65f03c0 5100dd00 d65f03c0 51015d00 d65f03c0
100
false
univ_00041__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp movb $0x1, %al leal -0x23(%rdi), %ecx cmpl $0x2c, %ecx ja 0xbf0 <_fn_41+0x20> movabsq $0x190000000009, %rdx ## imm = 0x190000000009 btq %rcx, %rdx jae 0xbf0 <_fn_41+0x20> popq %rbp retq cmpl $0x5...
aa0003e8 52800020 51008d09 7100b13f 54000108 5280002a 9ac92149 d280012a f2c3200a ea0a013f 54000040 d65f03c0 7100151f 1a9f0000 d65f03c0
60
false
univ_00041__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Given uint64_t inputs x0..x5, extract the lower 32 bits of x0 as an unsigned 32-bit integer and return 1 (as a zero-extended 64-bit uint64_t) if it equals any of {5, 35, 38, 75, 78, 79}, and 0 otherwise.
aa0003e8 52800020 51008d09 7100b13f 54000108 5280002a 9ac92149 d280012a f2c3200a ea0a013f 54000040 d65f03c0 7100151f 1a9f0000 d65f03c0
60
false
univ_00042__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp leaq 0x50(%rdi), %rax popq %rbp retq ```
91014000 d65f03c0
8
true
univ_00042__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Return the 64-bit unsigned sum of x0 and 80 (0x50), computed modulo 2^64, ignoring x1 through x5.
91014000 d65f03c0
8
true
univ_00043__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp leaq 0x28(%rdi), %rax popq %rbp retq ```
9100a000 d65f03c0
8
true
univ_00043__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Return the 64-bit unsigned sum of x0 and 40 (0x28), wrapping modulo 2^64 and ignoring x1 through x5.
9100a000 d65f03c0
8
true
univ_00045__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp movq %rdx, %rax movq %rcx, %rdx popq %rbp retq ```
aa0303e1 aa0203e0 d65f03c0
12
true
univ_00045__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Return the third 64-bit unsigned integer argument x2 unmodified, ignoring all other arguments.
aa0303e1 aa0203e0 d65f03c0
12
true
univ_00046__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp movq %r9, %rdx movq %r8, %rax popq %rbp retq ```
aa0503e1 aa0403e0 d65f03c0
12
true
univ_00046__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Return the fifth 64-bit unsigned integer argument x4 unchanged, ignoring all other arguments x0, x1, x2, x3, and x5.
aa0503e1 aa0403e0 d65f03c0
12
true
univ_00047__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp movq %rcx, %rax popq %rbp retq ```
aa0303e0 d65f03c0
8
true
univ_00047__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Return the full 64-bit fourth argument x3 unchanged, ignoring all other arguments.
aa0303e0 d65f03c0
8
true
univ_00048__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp movq %rdi, %rax cmpl $-0x1, %esi je 0xc89 <_fn_48+0x29> movl %esi, %edx testq %rax, %rax jns 0xcad <_fn_48+0x4d> leal 0x3(%rdx), %ecx cmpl $0xee6b2800, %ecx ## imm = 0xEE6B2800 jb 0xcab <_fn_...
52993fe8 72a77348 92f00009 937ffc0a d240f94b 2a2a03ea 8a08014a f100001f 9a8b0129 9a8a0108 11000c2a 5285000b 72bdcd6b 529b006c 72a2328c 0b0c002c 6b0b015f 1a8c314a 9a80340b f241001f 1a8a002a 9a8b000b 53027d4a 3100043f 9a8b0120 9a8a0101 d65f03c0
108
true
univ_00048__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Interpret x0 as a signed 64-bit integer and let lo be the low 32 bits of x1 (ignoring x2..x5). If lo == 0xffffffff, return 0x8000000000000000 when x0 < 0 (bit 63 set) and 0x7fffffffffffffff otherwise; else if x0 < 0 and ((lo + 3) mod 2^32) >= 0xee6b2800 ...
52993fe8 72a77348 92f00009 937ffc0a d240f94b 2a2a03ea 8a08014a f100001f 9a8b0129 9a8a0108 11000c2a 5285000b 72bdcd6b 529b006c 72a2328c 0b0c002c 6b0b015f 1a8c314a 9a80340b f241001f 1a8a002a 9a8b000b 53027d4a 3100043f 9a8b0120 9a8a0101 d65f03c0
108
true
univ_00051__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp movq %rdi, %rax andq $-0x100, %rax je 0xd37 <_fn_51+0x17> cmpq $-0x100, %rax jne 0xd40 <_fn_51+0x20> movb $0x1, %al testb %dil, %dil je 0xd44 <_fn_51+0x24> popq %rbp retq xorl %eax, %eax jmp 0xd3e ...
f278dc08 54000060 b104011f 54000181 f100001f 1a9f17e8 13003c09 6b20813f 1a9f17e9 f2781c1f 1a890108 f2401c1f 52800029 1a881120 d65f03c0 52800000 d65f03c0
68
false
univ_00052__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp movabsq $-0x100000000, %rax ## imm = 0xFFFFFFFF00000000 movq %rdi, %rcx andq %rax, %rcx je 0xd7b <_fn_52+0x1b> cmpq %rax, %rcx jne 0xd8b <_fn_52+0x2b> testb %dil, %dil je 0xd8f <_fn_52+0x2f> mo...
f2607c08 54000080 b2607fe9 eb09011f 54000181 f100001f 1a9f17e8 6b20a01f 1a9f17e9 f2781c1f 1a890108 6b20801f 1a9f17e9 f2401c1f 1a890100 d65f03c0 52800000 d65f03c0
72
false
univ_00052__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Return 1 (as a 64-bit unsigned integer) if the upper 32 bits of x0 are either all 0s or all 1s and x0 satisfies the AArch64 SVE 32-bit CPY immediate encoding rules—specifically: if the low byte (x0 & 0xff) is nonzero, the low 32 bits of x0 equal their si...
f2607c08 54000080 b2607fe9 eb09011f 54000181 f100001f 1a9f17e8 6b20a01f 1a9f17e9 f2781c1f 1a890108 6b20801f 1a9f17e9 f2401c1f 1a890100 d65f03c0 52800000 d65f03c0
72
false
univ_00053__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp movq %rdi, %rax andq $-0x10000, %rax ## imm = 0xFFFF0000 je 0xdc7 <_fn_53+0x17> cmpq $-0x10000, %rax ## imm = 0xFFFF0000 jne 0xdda <_fn_53+0x2a> testb %dil, %dil je 0xdde <_fn_53+0x...
f270bc08 54000060 b140411f 54000141 f2781c1f fa400804 1a9f17e8 13001c09 6b20a13f 1a9f17e9 f2401c1f 1a890100 d65f03c0 52800000 d65f03c0
60
false
univ_00053__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Given a 64-bit unsigned integer x0 (ignoring x1..x5), return 1 (as a zero-extended 64-bit integer) if the upper 48 bits of x0 are either all 0s or all 1s and either: (a) the low 8 bits of x0 are 0 and (x0 == 0 or bits 8..15 of x0 are nonzero), or (b) the...
f270bc08 54000060 b140411f 54000141 f2781c1f fa400804 1a9f17e8 13001c09 6b20a13f 1a9f17e9 f2401c1f 1a890100 d65f03c0 52800000 d65f03c0
60
false
univ_00054__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp leaq 0x1(%rdi), %rax cmpq $0x2, %rax jb 0xead <_fn_54+0xad> cmpl $0x40, %esi je 0xe3b <_fn_54+0x3b> movq %rdi, %rax movl %esi, %ecx shrq %cl, %rax testq %rax, %rax jne 0xead <_fn_54+0xad> movl %esi...
91000408 f100091f 54000503 7101003f 54000100 9ac12408 b5000488 4b0103e8 92800009 9ac82528 eb00011f 540003e0 92800008 53017c29 9ac9210a 9ac9240b ca00016b 121f782c ea2a016a 1a8c0121 f100015f 7a420820 54fffee8 4b0103e8 92800009 9ac82528 ea000109 54000100 d100052a aa090149 9100052a ea09015f 54000061 52800020 d65f03c0 ea200...
176
false
univ_00055__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp movabsq $0x100000000000000, %rax ## imm = 0x100000000000000 addq %rdi, %rax shrq $0x39, %rax jne 0xf7b <_fn_55+0xbb> movabsq $0xff000000000000, %rcx ## imm = 0xFF000000000000 movq %rdi, %rax andq %...
d2e02008 8b080008 d379fd08 b5000488 92501c08 d2e01fe9 eb09011f 54000040 b50003e8 92581c08 d2dfe009 eb09011f 54000040 b5000348 92601c08 d2c01fe9 eb09011f 54000040 b50002a8 72081c08 54000080 52bfe009 6b09011f 54000201 92701c08 f17fc11f 54000040 b5000188 12181c08 529fe009 6b09011f 54000040 350000e8 92401c08 f100011f 52801...
164
false
univ_00058__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp movq %rdi, %rax shrq $0x38, %rax setne %cl movq %rdi, %rax shrq $0x30, %rax testb %al, %al setne %sil movq %rdi, %rax shrq $0x28, %rax testb %al, %al setne %al movq %rdi, %rdx shrq $0x20, %rdx test...
d378fc08 f100011f 1a9f07e8 f2501c1f 1a9f07e9 f2581c1f 1a9f07ea f2601c1f 1a9f07eb f2681c1f 1a9f07ec f2701c1f 1a9f07ed f2781c1f 1a9f07ee f2401c1f 1a9f07ef 531e7529 2a080d28 2a0a0508 2a0b0108 531f7989 2a080928 2a0d0108 531f79c9 2a080928 2a0f0108 12001d00 d65f03c0
116
true
univ_00058__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Return an 8-bit bitmask zero-extended to 64 bits where bit i (for i in 0..7) is 1 if byte i of x0 (bits 8*i through 8*i+7) is non-zero, and 0 otherwise.
d378fc08 f100011f 1a9f07e8 f2501c1f 1a9f07e9 f2581c1f 1a9f07ea f2601c1f 1a9f07eb f2681c1f 1a9f07ec f2701c1f 1a9f07ed f2781c1f 1a9f07ee f2401c1f 1a9f07ef 531e7529 2a080d28 2a0a0508 2a0b0108 531f7989 2a080928 2a0d0108 531f79c9 2a080928 2a0f0108 12001d00 d65f03c0
116
true
univ_00059__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp movq %rsi, %rax popq %rbp retq ```
aa0103e0 d65f03c0
8
true
univ_00059__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Return the second 64-bit unsigned integer argument x1 unchanged, ignoring all other arguments.
aa0103e0 d65f03c0
8
true
univ_00061__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp leaq 0xa8(%rdi), %rax popq %rbp retq ```
9102a000 d65f03c0
8
true
univ_00061__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Return the 64-bit unsigned sum of x0 and 168 (0xa8), wrapping modulo 2^64, ignoring x1 through x5.
9102a000 d65f03c0
8
true
univ_00063__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp andl $0x3, %ecx shll $0x2, %edi shll $0x4, %edx shll $0x8, %r8d leal (%rdi,%rsi,8), %eax orl %edx, %eax orl %ecx, %eax orl %r8d, %eax popq %rbp retq ```
52800088 7100001f 1a9f1108 52800109 7100003f 1a9f1129 5280020a 7100005f 1a9f114a 5280200b 7100009f 1a9f116b 2a080128 2a0a0108 33000468 2a0b0100 d65f03c0
68
true
univ_00063__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Compute a 32-bit bitmask zero-extended to uint64_t by bitwise-ORing the low 2 bits of x3 ((uint32_t)x3 & 3) with 0x4 if (uint32_t)x0 != 0, 0x8 if (uint32_t)x1 != 0, 0x10 if (uint32_t)x2 != 0, and 0x100 if (uint32_t)x4 != 0 (ignoring x5 and the upper 32 b...
52800088 7100001f 1a9f1108 52800109 7100003f 1a9f1129 5280020a 7100005f 1a9f114a 5280200b 7100009f 1a9f116b 2a080128 2a0a0108 33000468 2a0b0100 d65f03c0
68
true
univ_00065__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp testq %rdi, %rdi je 0x132c <_fn_65+0x4c> decq %rdi movq %rdi, %rax shrq %rax orq %rdi, %rax movq %rax, %rcx shrq $0x2, %rcx orq %rax, %rcx movq %rcx, %rax shrq $0x4, %rax orq %rcx, %rax movq %rax, ...
b4000120 d1000408 aa480508 aa480908 aa481108 aa482108 aa484108 aa488108 91000500 d65f03c0
40
false
univ_00065__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Given a 64-bit unsigned integer x0, return the smallest power of 2 greater than or equal to x0 (wrapping modulo 2^64 to 0 if x0 > 2^63), or 0 if x0 is 0.
b4000120 d1000408 aa480508 aa480908 aa481108 aa482108 aa484108 aa488108 91000500 d65f03c0
40
false
univ_00066__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp movq %rdx, %rax popq %rbp retq ```
aa0203e0 d65f03c0
8
true
univ_00066__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Return the third 64-bit unsigned integer argument `x2` unchanged, ignoring all other arguments.
aa0203e0 d65f03c0
8
true
univ_00067__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp movb $0x1, %al leal -0x2e(%rsi), %ecx cmpl $0x17, %ecx ja 0x135a <_fn_67+0x1a> movl $0xcc1e7f, %edx ## imm = 0xCC1E7F btl %ecx, %edx jae 0x135a <_fn_67+0x1a> popq %rbp retq leal -0x73(%rsi)...
52800020 5100b828 71005d1f 540000e8 1ac82008 5283cfe9 72a01989 6a09011f 54000040 d65f03c0 5101cc28 7100491f 540000e8 52800029 1ac82128 5281f9e9 72a00089 6a09011f 54fffee1 7103043f 1a9f0000 d65f03c0
88
false
univ_00067__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Let w1 be the lower 32 bits of x1 (as uint32_t), ignoring x0 and x2..x5. Return 1 (as a zero-extended uint64_t) if either (w1 - 0x2e) <= 0x17 and bit (w1 - 0x2e) of 0x00cc1e7f is 1, or (w1 - 0x73) <= 0x12 and bit (w1 - 0x73) of 0x00040fcf is 1, or w1 == ...
52800020 5100b828 71005d1f 540000e8 1ac82008 5283cfe9 72a01989 6a09011f 54000040 d65f03c0 5101cc28 7100491f 540000e8 52800029 1ac82128 5281f9e9 72a00089 6a09011f 54fffee1 7103043f 1a9f0000 d65f03c0
88
false
univ_00068__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp testq %rdi, %rdi je 0x13df <_fn_68+0x5f> bsrq %rdi, %rcx movswl %si, %edx addl %ecx, %edx movl $0x1, %eax shlq %cl, %rax cmpq %rdi, %rax je 0x13db <_fn_68+0x5b> xorq $0x3f, %rcx movb $0x3e, %al sub...
b40002c0 dac01008 52001509 0b01012a 5280002b 9ac92169 528007cb 4b080168 5280002b 9ac82168 ea00011f 1a8a0548 d2c0002b da8b156b aa080168 eb00013f 9a8a1108 d360fd09 7100013f 1a9fd7e9 4b090100 d65f03c0 52b00008 17fffffa
96
false
univ_00069__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp leal 0x1(%rsi), %eax cmpl $0x4e1f00c, %esi ## imm = 0x4E1F00C jg 0x1411 <_fn_69+0x21> cmpl $0xfa1e0ff3, %esi ## imm = 0xFA1E0FF3 je 0x1423 <_fn_69+0x33> cmpl $0xfb1e0ff3, %esi ##...
11000420 529e0188 72a09c28 6b08003f 5400010c 5281fe68 72bf43c8 6b08003f 54000180 5281fe68 72bf63c8 14000007 529e01a8 72a09c28 6b08003f 540000a0 529e01a8 72a0bc28 6b08003f 54000041 d65f03c0 aa0103e0 17fffffe
92
false
univ_00069__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Inspect the low 32 bits of x1: if (uint32_t)x1 equals 0xfa1e0ff3, 0xfb1e0ff3, 0x04e1f00d, or 0x05e1f00d, return (uint32_t)x1 + 1 zero-extended to 64 bits; otherwise return the full 64-bit value x1 unchanged (ignoring x0 and x2..x5).
11000420 529e0188 72a09c28 6b08003f 5400010c 5281fe68 72bf43c8 6b08003f 54000180 5281fe68 72bf63c8 14000007 529e01a8 72a09c28 6b08003f 540000a0 529e01a8 72a0bc28 6b08003f 54000041 d65f03c0 aa0103e0 17fffffe
92
false
univ_00070__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp movb $0x1, %al cmpl $0x4c, %edi jg 0x145a <_fn_70+0x2a> leal -0xb(%rdi), %ecx cmpl $0x3f, %ecx ja 0x1453 <_fn_70+0x23> movabsq $-0x57dfcfe77f7fbff9, %rdx ## imm = 0xA820301880804007 btq %rcx, %rdx ...
aa0003e8 52800020 7101311f 540001ec 51002d09 7100fd3f 54000128 5280002a 9ac92149 d28800ea f2b0100a f2c6030a f2f5040a ea0a013f 540001c1 7100091f 54000180 14000012 51013509 7100e53f 54000128 5280002a 9ac92149 d28003ea f2c0020a f2e078ca ea0a013f 54000040 d65f03c0 52842229 6b09011f 54ffffa0 52842269 6b09011f 54ffff40 52800...
148
false
univ_00072__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp cmpl $0x2, %edi sete %al popq %rbp retq ```
7100081f 1a9f17e0 d65f03c0
12
true
univ_00072__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Compare the lower 32 bits of x0 against 2, returning 1 (zero-extended to 64 bits) if (uint32_t)x0 == 2 and 0 otherwise; ignore x1 through x5.
7100081f 1a9f17e0 d65f03c0
12
true
univ_00074__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp cmpl $0x3, %edi sete %al popq %rbp retq ```
71000c1f 1a9f17e0 d65f03c0
12
true
univ_00074__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Return 1 as a 64-bit unsigned integer if the lower 32 bits of x0 equal 3, and 0 otherwise.
71000c1f 1a9f17e0 d65f03c0
12
true
univ_00075__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp xorl %eax, %eax movq %rdi, %rcx shrq $0x7, %rcx incl %eax cmpq $0x7f, %rdi movq %rcx, %rdi ja 0x14f9 <_fn_75+0x9> popq %rbp retq ```
52800008 d347fc09 11000508 f101fc1f aa0903e0 54ffff88 aa0803e0 d65f03c0
32
false
univ_00075__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Compute the number of bytes required to encode the 64-bit unsigned integer x0 in unsigned LEB128 (ULEB128) format, returning the count (between 1 and 10 inclusive) as a zero-extended 32-bit unsigned integer in x0.
52800008 d347fc09 11000508 f101fc1f aa0903e0 54ffff88 aa0803e0 d65f03c0
32
false
univ_00076__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp leaq 0x30(%rdi), %rax popq %rbp retq ```
9100c000 d65f03c0
8
true
univ_00076__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Add 48 (0x30) to the 64-bit unsigned integer x0 with 64-bit wrapping arithmetic and return the result, ignoring x1 through x5.
9100c000 d65f03c0
8
true
univ_00079__x86
x86_to_arm64
apple_universal_macho
Translate the following x86_64 pure-register leaf function into minimal ARM64 u32_words: ```asm pushq %rbp movq %rsp, %rbp movl %edi, %ecx movl %edx, %edx incq %rcx movq %rcx, %rax subq %rdx, %rax movl %esi, %edx subq %rdx, %rcx movq %rcx, %rdx popq %rbp retq ```
2a0003e8 91000508 cb224100 cb214101 d65f03c0
20
true
univ_00079__spec
spec_to_arm64
apple_universal_macho
Compile the following specification into minimal ARM64 u32_words: Zero-extend the low 32 bits of x0 and x2 to 64-bit unsigned integers, add 1 to the zero-extended x0, and subtract the zero-extended x2 using 64-bit unsigned modular arithmetic, returning the 64-bit result.
2a0003e8 91000508 cb224100 cb214101 d65f03c0
20
true
End of preview.

No dataset card yet

Downloads last month
-