task_name stringlengths 8 10 | source_code stringlengths 58 1.86k | compiler_asm stringlengths 667 8.62k | object_asm stringlengths 699 26.2k | shared_asm stringlengths 3.94k 27.4k | program_asm stringlengths 5.61k 28.8k | compiler_pic_asm stringlengths 667 8.62k | pic_object_asm stringlengths 703 26.2k |
|---|---|---|---|---|---|---|---|
problem17 | #include <stdio.h>
#include <string.h>
#include <ctype.h>
int func0(const char *str) {
int count = 0;
int char_map[256] = {0};
int index;
for (index = 0; str[index]; index++) {
char ch = tolower((unsigned char)str[index]);
if (char_map[ch] == 0 && isalpha((unsigned char)ch)) {
... | .file "source.c"
.option pic
.attribute arch, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0"
.attribute unaligned_access, 0
.attribute stack_align, 16
.text
.align 1
.globl func0
.type func0, @function
func0:
.LFB0:
.cfi_startproc
addi sp,sp,-1088
.cfi_def_cfa_offset 1088
sd ra,1080(sp)
sd s0,10... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_riscv64_linux_reloc/O0/000_problem17/code.o: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <func0>:
0: bc010113 addi sp,sp,-1088
4: 42113c23 sd ra,1080(sp)
... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_riscv64_linux_reloc/O0/000_problem17/code.so: file format elf64-littleriscv
Disassembly of section .plt:
0000000000000580 <.plt>:
580: 00002397 auipc t2,0x2
584: 41c30333 sub t1,t1,t3
588: a703... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_riscv64_linux_reloc/O0/000_problem17/code.program: file format elf64-littleriscv
Disassembly of section .plt:
00000000000006b0 <.plt>:
6b0: 00002397 auipc t2,0x2
6b4: 41c30333 sub t1,t1,t3
6b8:... | .file "source.c"
.option pic
.attribute arch, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0"
.attribute unaligned_access, 0
.attribute stack_align, 16
.text
.align 1
.globl func0
.type func0, @function
func0:
.LFB0:
.cfi_startproc
addi sp,sp,-1088
.cfi_def_cfa_offset 1088
sd ra,1080(sp)
sd s0,10... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_riscv64_linux_reloc/O0/000_problem17/code.pic.o: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <func0>:
0: bc010113 addi sp,sp,-1088
4: 42113c23 sd ra,1080(sp)... |
problem81 | #include <string.h>
#include <stdbool.h>
bool func0(const char* s) {
if (strlen(s) < 3) return false;
for (int i = 2; i < strlen(s); i++)
if (s[i] == s[i-1] || s[i] == s[i-2]) return false;
return true;
} | .file "source.c"
.option pic
.attribute arch, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0"
.attribute unaligned_access, 0
.attribute stack_align, 16
.text
.align 1
.globl func0
.type func0, @function
func0:
.LFB0:
.cfi_startproc
addi sp,sp,-64
.cfi_def_cfa_offset 64
sd ra,56(sp)
sd s0,48(sp)
... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_riscv64_linux_reloc/O0/001_problem81/code.o: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <func0>:
0: 7139 addi sp,sp,-64
2: fc06 sd ra,56(sp)
... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_riscv64_linux_reloc/O0/001_problem81/code.so: file format elf64-littleriscv
Disassembly of section .plt:
0000000000000440 <.plt>:
440: 00002397 auipc t2,0x2
444: 41c30333 sub t1,t1,t3
448: bb03... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_riscv64_linux_reloc/O0/001_problem81/code.program: file format elf64-littleriscv
Disassembly of section .plt:
0000000000000570 <.plt>:
570: 00002397 auipc t2,0x2
574: 41c30333 sub t1,t1,t3
578:... | .file "source.c"
.option pic
.attribute arch, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0"
.attribute unaligned_access, 0
.attribute stack_align, 16
.text
.align 1
.globl func0
.type func0, @function
func0:
.LFB0:
.cfi_startproc
addi sp,sp,-64
.cfi_def_cfa_offset 64
sd ra,56(sp)
sd s0,48(sp)
... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_riscv64_linux_reloc/O0/001_problem81/code.pic.o: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <func0>:
0: 7139 addi sp,sp,-64
2: fc06 sd ra,56(sp)... |
problem118 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
char **func0(const char *s, int n, int *returnSize) {
const char *vowels = "aeiouAEIOU";
char **out = NULL;
int numc = 0, word_count = 0, begin = 0;
size_t length = strlen(s);
char *current = (char *)malloc(length + 1);
... | .file "source.c"
.option pic
.attribute arch, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0"
.attribute unaligned_access, 0
.attribute stack_align, 16
.text
.section .rodata
.align 3
.LC0:
.string "aeiouAEIOU"
.text
.align 1
.globl func0
.type func0, @function
func0:
.LFB6:
.cfi_startproc
addi ... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_riscv64_linux_reloc/O0/002_problem118/code.o: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <func0>:
0: 7159 addi sp,sp,-112
2: f486 sd ra,104(sp)
... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_riscv64_linux_reloc/O0/002_problem118/code.so: file format elf64-littleriscv
Disassembly of section .plt:
00000000000005a0 <.plt>:
5a0: 00002397 auipc t2,0x2
5a4: 41c30333 sub t1,t1,t3
5a8: a50... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_riscv64_linux_reloc/O0/002_problem118/code.program: file format elf64-littleriscv
Disassembly of section .plt:
00000000000006d0 <.plt>:
6d0: 00002397 auipc t2,0x2
6d4: 41c30333 sub t1,t1,t3
6d8... | .file "source.c"
.option pic
.attribute arch, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0"
.attribute unaligned_access, 0
.attribute stack_align, 16
.text
.section .rodata
.align 3
.LC0:
.string "aeiouAEIOU"
.text
.align 1
.globl func0
.type func0, @function
func0:
.LFB6:
.cfi_startproc
addi ... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_riscv64_linux_reloc/O0/002_problem118/code.pic.o: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <func0>:
0: 7159 addi sp,sp,-112
2: f486 sd ra,104(... |
problem41 | #include <stdio.h>
#include <stdbool.h>
bool func0(int *l, int size) {
for (int i = 0; i < size; i++)
for (int j = i + 1; j < size; j++)
for (int k = j + 1; k < size; k++)
if (l[i] + l[j] + l[k] == 0) return true;
return false;
} | .file "source.c"
.option pic
.attribute arch, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0"
.attribute unaligned_access, 0
.attribute stack_align, 16
.text
.align 1
.globl func0
.type func0, @function
func0:
.LFB0:
.cfi_startproc
addi sp,sp,-48
.cfi_def_cfa_offset 48
sd s0,40(sp)
.cfi_offset 8,... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_riscv64_linux_reloc/O0/003_problem41/code.o: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <func0>:
0: 7179 addi sp,sp,-48
2: f422 sd s0,40(sp)
... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_riscv64_linux_reloc/O0/003_problem41/code.so: file format elf64-littleriscv
Disassembly of section .text:
00000000000003c0 <deregister_tm_clones>:
3c0: 1141 addi sp,sp,-16
3c2: e422 ... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_riscv64_linux_reloc/O0/003_problem41/code.program: file format elf64-littleriscv
Disassembly of section .plt:
0000000000000540 <.plt>:
540: 00002397 auipc t2,0x2
544: 41c30333 sub t1,t1,t3
548:... | .file "source.c"
.option pic
.attribute arch, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0"
.attribute unaligned_access, 0
.attribute stack_align, 16
.text
.align 1
.globl func0
.type func0, @function
func0:
.LFB0:
.cfi_startproc
addi sp,sp,-48
.cfi_def_cfa_offset 48
sd s0,40(sp)
.cfi_offset 8,... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_riscv64_linux_reloc/O0/003_problem41/code.pic.o: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <func0>:
0: 7179 addi sp,sp,-48
2: f422 sd s0,40(sp)... |
problem15 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
char **func0(const char *str, int *count) {
int len = strlen(str);
char **out = malloc(len * sizeof(char *));
char *current = malloc(len + 1);
current[0] = '\0';
for (int i = 0; i < len; ++i) {
size_t current_len = strlen(curr... | .file "source.c"
.option pic
.attribute arch, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0"
.attribute unaligned_access, 0
.attribute stack_align, 16
.text
.align 1
.globl func0
.type func0, @function
func0:
.LFB6:
.cfi_startproc
addi sp,sp,-80
.cfi_def_cfa_offset 80
sd ra,72(sp)
sd s0,64(sp)
... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_riscv64_linux_reloc/O0/004_problem15/code.o: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <func0>:
0: 715d addi sp,sp,-80
2: e486 sd ra,72(sp)
... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_riscv64_linux_reloc/O0/004_problem15/code.so: file format elf64-littleriscv
Disassembly of section .plt:
0000000000000520 <.plt>:
520: 00002397 auipc t2,0x2
524: 41c30333 sub t1,t1,t3
528: ad03... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_riscv64_linux_reloc/O0/004_problem15/code.program: file format elf64-littleriscv
Disassembly of section .plt:
0000000000000660 <.plt>:
660: 00002397 auipc t2,0x2
664: 41c30333 sub t1,t1,t3
668:... | .file "source.c"
.option pic
.attribute arch, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0"
.attribute unaligned_access, 0
.attribute stack_align, 16
.text
.align 1
.globl func0
.type func0, @function
func0:
.LFB6:
.cfi_startproc
addi sp,sp,-80
.cfi_def_cfa_offset 80
sd ra,72(sp)
sd s0,64(sp)
... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_riscv64_linux_reloc/O0/004_problem15/code.pic.o: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <func0>:
0: 715d addi sp,sp,-80
2: e486 sd ra,72(sp)... |
problem9 | "#include <stdio.h>\n\nvoid func0(int *numbers, int size, int *result) {\n int sum = 0, product =(...TRUNCATED) | "\t.file\t\"source.c\"\n\t.option pic\n\t.attribute arch, \"rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_r(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_r(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_r(...TRUNCATED) | "\t.file\t\"source.c\"\n\t.option pic\n\t.attribute arch, \"rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_r(...TRUNCATED) |
problem65 | "#include <stdio.h>\n#include <string.h>\n#include <ctype.h>\n\nint func0(const char *s) {\n cons(...TRUNCATED) | "\t.file\t\"source.c\"\n\t.option pic\n\t.attribute arch, \"rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_r(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_r(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_r(...TRUNCATED) | "\t.file\t\"source.c\"\n\t.option pic\n\t.attribute arch, \"rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_r(...TRUNCATED) |
problem57 | "#include <stdio.h>\n#include <stdbool.h>\n#include <string.h>\n\nbool func0(const char *brackets) {(...TRUNCATED) | "\t.file\t\"source.c\"\n\t.option pic\n\t.attribute arch, \"rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_r(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_r(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_r(...TRUNCATED) | "\t.file\t\"source.c\"\n\t.option pic\n\t.attribute arch, \"rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_r(...TRUNCATED) |
problem33 | "#include <stdio.h>\n#include <math.h>\n\ndouble func0(const double *xs, int size) {\n double ans(...TRUNCATED) | "\t.file\t\"source.c\"\n\t.option pic\n\t.attribute arch, \"rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_r(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_r(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_r(...TRUNCATED) | "\t.file\t\"source.c\"\n\t.option pic\n\t.attribute arch, \"rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_r(...TRUNCATED) |
problem48 | "#include <stdio.h>\n#include <math.h>\n#include <stdlib.h>\n\nfloat func0(float *l, int size) {\n (...TRUNCATED) | "\t.file\t\"source.c\"\n\t.option pic\n\t.attribute arch, \"rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_r(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_r(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_r(...TRUNCATED) | "\t.file\t\"source.c\"\n\t.option pic\n\t.attribute arch, \"rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_r(...TRUNCATED) |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 78