Dataset Viewer
Auto-converted to Parquet Duplicate
conversations
listlengths
2
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "Make this test a bit more robust in preparation to adding more cases.\n\nThe first test (call) is now the only test to use .text, which makes it\nresistant to more tests being added.\n\nllvm-objdump -d already prints the addresses of symbols. We can use that in the\ntests.\n\ng...
gas
chosen
[ { "from": "system", "value": "Make sure we don't clobber cstring()'s ret val.\n\n Because that would be bad.\n" }, { "from": "human", "value": "/*\n * Allocates a C string on the stack, for\n * use within system calls, which is the only\n * place the Myrddin stack should need nul-terminated\n...
gas
chosen
[ { "from": "system", "value": "Add in Linux-style symbol for 'std.cstring'.\n" }, { "from": "human", "value": "/*\n * Allocates a C string on the stack, for\n * use within system calls, which is the only\n * place the Myrddin stack should need nul-terminated\n * strings.\n *\n * This is in assemb...
gas
chosen
[ { "from": "system", "value": "[SystemZ] Address review comments for r219679\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@219691 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "human", "value": "// Make sure SystemZ defaults to using the integrated assembler\n\n// RUN: %clang -...
gas
chosen
[ { "from": "human", "value": "Add testcase that would crash before the previous revert.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@239011 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "gpt", "value": "// RUN: llvm-mc < %s -filetype=obj -triple powerpc64le-pc-linux | \\\n// RUN...
gas
chosen
[ { "from": "system", "value": "[lld] Use -o /dev/null in test when output is not needed.\n\nFeedback nit from rL364998\n\ngit-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@364999 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "human", "value": "# REQUIRES: x86\n# Tests error on archive f...
gas
chosen
[ { "from": "system", "value": "[ELF/LinkerScript] Use correct section name in a test.\n\ngit-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@276642 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "human", "value": "# REQUIRES: x86\n# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %...
gas
chosen
[ { "from": "system", "value": "baremetal: Return 0 in ASM main function for KEIL MCS51 toolchain\n\nChange-Id: I18ade9e8382c539ba1a29268f7101e656793541f\nReviewed-by: Ivan Komissarov <96f14e4d07227e958f51f7d2898113639e9498d9@gmail.com>\n" }, { "from": "human", "value": "PUBLIC main\n\nMAIN_SEG ...
gas
chosen
[ { "from": "system", "value": "Set up argc and argv before calling main.\n" }, { "from": "human", "value": "bits 64\n\nglobal _start\nextern main\nextern exit\n\nsection .text\n_start:\n\txor ebp, ebp\n\tcall main\n\tmov edi, eax\n\tcall exit\n" }, { "from": "gpt", "value": "bits 64\n...
gas
chosen
[ { "from": "human", "value": "Add test that was missing in my previous commit.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@114248 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "gpt", "value": "// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | elf-dump --dump-...
gas
chosen
[ { "from": "human", "value": "[Hexagon] Use llvm-mc instead of llc in an MC testcase\n\nRemember to svn add the new file.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@267435 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "gpt", "value": "# RUN: llvm-mc -arch=hexagon -mcpu=hexag...
gas
chosen
[ { "from": "system", "value": "[test] Fix reproduce-blackslash.s test with NetBSD tar\n\nUnlike GNU tar and libarchive bsdtar, NetBSD 'tar -t' output does not\nuse C-style escapes and instead outputs paths literally. Fix the test\nto account both for escaped and literal backslash output.\n\nDifferential Rev...
gas
chosen
[ { "from": "system", "value": "Use llvm-mc instead of llc. Patch by Jack Carter.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@152242 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "human", "value": "; RUN: llc -filetype=obj -mtriple mips-unknown-linux %s -o - | elf-dump --dump-se...
gas
chosen
[ { "from": "system", "value": "Add some missing assembly stubs\n" }, { "from": "human", "value": "TEXT ·Ui8toi16b(SB), 7, $0\n\tJMP ·ui8toi16b(SB)\n\nTEXT ·Ui8tof32(SB), 7, $0\n\tJMP ·ui8tof32(SB)\n\nTEXT ·I8tof32(SB), 7, $0\n\tJMP ·i8tof32(SB)\n\nTEXT ·Ui8toc64(SB), 7, $0\n\tJMP ·ui8toc64(SB)\n\...
gas
chosen
[ { "from": "system", "value": "Return -ERRNO on error returns from syscalls.\n\n Should probably revisit error handling later, but this is\n a workable bandaid for now.\n" }, { "from": "human", "value": ".globl _std$syscall\n_std$syscall:\n\tpushq %rbp\n\t/*\n\thack: We load 6 args regardle...
gas
chosen
[ { "from": "system", "value": "Test commit - Added a new line\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@206399 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "human", "value": "@ RUN: llvm-mc -triple thumbv7-linux-gnueabi -o - %s | FileCheck %s\n\n\t.syntax unified\n\n\t.ali...
gas
chosen
[ { "from": "human", "value": "Add missing test for r215031\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@215374 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "gpt", "value": "// RUN: not llvm-mc -triple i686-unknown-unknown -x86-asm-syntax=att %s -o /dev/null 2>&1 | FileCheck %s\...
gas
chosen
[ { "from": "human", "value": "[mips] Add a valid test case to check the reason of the recent build-bot failure. NFC\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@313761 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "gpt", "value": "# Check decoding beqz instruction with a negativ...
gas
chosen
[ { "from": "system", "value": "Make this test a bit more strict. NFC.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@305855 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "human", "value": "// RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o /dev/null \\\n// RUN: 2>...
gas
chosen
[ { "from": "system", "value": "Read kernel into correct segment\n" }, { "from": "human", "value": "[BITS 16]\n[ORG 0x7C00]\n\nboot:\n mov ax, cs\n mov ds, ax\n mov es, ax\n mov ax, 0\n mov ss, ax\n mov sp, 0x7C00 ; stack lives at 0x7C00, grows towards 0x500\nreset_drive:\n ...
gas
chosen
[ { "from": "human", "value": "Document a change of behavior in r315552.\n\nWe used to reject this, but we now accept. The output seems\nreasonable, so this is probably an OK extension over bfd/gold.\n\ngit-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@316376 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, ...
gas
chosen
[ { "from": "human", "value": "Add a test that shows that we produce no fixups when computing the difference\nof two symbols in the same fragment.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@122145 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "gpt", "value": "// RUN: llvm-mc -f...
gas
chosen
[ { "from": "system", "value": "[ELF2] Expand test comment a little bit, use reloc name as section name.\n\n\ngit-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@248930 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "human", "value": "# RUN: llvm-mc -filetype=obj -triple=aarch64-unknown-fre...
gas
chosen
[ { "from": "system", "value": "Add asm function of x86_64 'U64_Parse'\n" }, { "from": "human", "value": ".text\n.globl UI_Add, UI_Sub\nUI_Add:\nmovq (%rsi), %rax\naddq %rax, (%rdi)\n0:\nleaq 8(%rdi), %rdi\nleaq 8(%rsi), %rsi\nmovq (%rsi), %rax\nadcq %rax, (%rdi)\ndecq %rdx\njnz 0b\nsetcb %al\nret...
gas
chosen
[ { "from": "human", "value": "Add missing file for last commit.\n" }, { "from": "gpt", "value": "/*\n * Allocates a C string on the stack, for\n * use within system calls, which is the only\n * place the Myrddin stack should need nul-terminated\n * strings.\n *\n * This is in assembly, because fo...
gas
chosen
[ { "from": "system", "value": "Remove duplication of the wait loop.\n" }, { "from": "human", "value": "// Instructions to the linker\n\t.section .init\n\t.globl _start\n\n_start:\n\tldr r0,=0x20200000\n\n\t// Make pin16 an output pin.\n\tmov r1,#1\n\tlsl r1,#18\n\tstr r1,[r0,#4]\n\n\t// Why does ...
gas
chosen
[ { "from": "human", "value": "Add assembly for flushing GDT\n" }, { "from": "gpt", "value": ".global gdt_flush\n.extern gdtp\n\ngdt_flush:\n\tlgdt gdtp # Load the GDT with our '_gp' which is a special pointer\n\tmov %ax, 0x10 # 0x10 is the offset in the GDT to our data segment\n\tmov ...
gas
chosen
[ { "from": "system", "value": "Document how to recreate a binary.\n\ngit-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@268136 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "human", "value": "// REQUIRES: x86\n// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o\n// RUN: llvm...
gas
chosen
[ { "from": "system", "value": "[ELF] Fix issue with test when build path contains '@'\n\n'@' is a valid character in file paths, but the linker script tokenizer treats it\nas a separate token. This was leading to an unexpected test failure, on our local\nbuilds. This patch changes the test to quote the path ...
gas
chosen
[ { "from": "system", "value": "Use ALIGN_TEXT macro for alignment to avoid ambiguity.\n\nPointed out by: bde\n" }, { "from": "human", "value": "#include \"linux_assym.h\"\t\t\t/* system definitions */\n#include <machine/asmacros.h>\t\t/* miscellaneous asm macros */\n\n#include <i386/linux/linux_s...
gas
chosen
[ { "from": "human", "value": "[ELF] Test case for correct input section order, when sections are listed in linker script\n\ngit-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@276630 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "gpt", "value": "# REQUIRES: x86\n# RUN: llvm-mc -filetype=o...
gas
chosen
[ { "from": "human", "value": "Add a test demonstrating DWARF parse failures are not causing lld to exit non-zero\n\nThis bug was/is masking other issues - committing this to demonstrate\nthe problem/track fixing it.\n\ngit-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@368220 91177308-0d34-0410-b5e6-96231b...
gas
chosen
[ { "from": "human", "value": "[LLD] Add test missed from r341206. NFC.\n\ngit-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@341207 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "gpt", "value": "// REQUIRES: x86\n// RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux\n// RUN: n...
gas
chosen
[ { "from": "system", "value": "Fix the test case that places intermediate in source directory.\n\nThis causes \"permission denied\" error in some controlled test environment where source tree is read-only.\n\nDifferential Revision: https://reviews.llvm.org/D47839\n\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d6...
gas
chosen
[ { "from": "system", "value": "[X86] Fix some tests that didn't assert anything\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@283322 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "human", "value": "// RUN: not llvm-mc -triple i686-unknown-unknown -x86-asm-syntax=att %s -o /dev/nu...
gas
chosen
[ { "from": "system", "value": "Update test to take into account for r251271.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@251272 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "human", "value": "! RUN: llvm-mc %s -arch=sparc -show-encoding | FileCheck %s\n\n ! CHECK: mov...
gas
chosen
[ { "from": "system", "value": "Fix bad function calling from startup code.\n" }, { "from": "human", "value": "////////////////////////////////////////////////////////////////////////////////////////////////\n///\n/// @file\n/// @author Kuba Sejdak\n/// @date 16.07.2016\n///\n/// @copyri...
gas
chosen
[ { "from": "system", "value": "Replace \".align 2\" with \"ALIGN_TEXT\" as per recent discussion re: the linux\nemulator.\n\nSuggested by:\tbde\n" }, { "from": "human", "value": "#include \"svr4_assym.h\"\t\t\t/* system definitions */\n#include <machine/asmacros.h>\t\t/* miscellaneous asm macros ...
gas
chosen
[ { "from": "system", "value": "Document how to recreate a binary.\n\ngit-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@268134 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "human", "value": "// RUN: llvm-mc -filetype=obj -triple=i686-unknown-linux %s -o %t.o\n// RUN: echo .global __prog...
gas
chosen
[ { "from": "system", "value": "Add initial implementation of reading from drive\n" }, { "from": "human", "value": "[BITS 16]\n[ORG 0x7C00]\n\nboot:\n mov ax, 0\n mov ds, ax\n mov es, ax\n mov ss, ax\n mov sp, 0x7C00 ; stack lives at 0x1500, grows towards 0x500\n jmp kmain\n...
gas
chosen
[ { "from": "system", "value": "Disable this test for now, we don't check for super classes when matching yet.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@78531 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "human", "value": "// RUN: llvm-mc -triple i386-unknown-unknown %s -o ...
gas
chosen
[ { "from": "human", "value": "Test that we handle empty archives.\n\nThis was failing before 249709.\n\ngit-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@249710 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "gpt", "value": "// RUN: llvm-ar rc %t.a\n// RUN: llvm-mc -filetype=obj -triple=...
gas
chosen
[ { "from": "human", "value": "[MIPS] Add test case to check calculation of GOT pages in case of using a linker script. NFC\n\ngit-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@318691 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "gpt", "value": "# Check calculation of MIPS GOT page addr...
gas
chosen
[ { "from": "system", "value": "Add a triple to the test.\n\nSorry for forgetting it the first time.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@257705 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "human", "value": "// RUN: not llvm-mc %s -o %t.o -filetype=obj 2>&1 | FileCheck ...
gas
chosen
[ { "from": "human", "value": "[mips] Add missing test case from r332227\n\nI did not commit this test from D46689.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@332241 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "gpt", "value": "# RUN: llvm-mc %s -triple=mipsel -show-encoding...
gas
chosen
[ { "from": "human", "value": "[sw] Add OTBN app file to run RSA-3072 verification operations.\n\nSigned-off-by: Jade Philipoom <23b156e860ef6ab36b055884a79031aa7723874a@google.com>\n" }, { "from": "gpt", "value": "/* Copyright lowRISC contributors. */\n/* Licensed under the Apache License, Versio...
gas
chosen
[ { "from": "system", "value": "[ELF] Fix a couple of typos in a test.\n\ngit-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@308916 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "human", "value": "// REQUIRES: x86\n\n// This file contains two functions. They are themselves identical,\n// ...
gas
chosen
[ { "from": "system", "value": "arm: Add missing symbols for newlib.\n" }, { "from": "human", "value": "////////////////////////////////////////////////////////////////////////////////////////////////\n///\n/// @file\n/// @author Kuba Sejdak\n/// @date 16.07.2016\n///\n/// @copyright Th...
gas
chosen
[ { "from": "system", "value": "Fix mixed tabs and spaces.\n" }, { "from": "human", "value": "/*\n * Allocates a C string on the stack, for\n * use within system calls, which is the only\n * place the Myrddin stack should need nul-terminated\n * strings.\n *\n * This is in assembly, because for ef...
gas
chosen
[ { "from": "system", "value": "Disable test added in r351916.\n\nIt doesn't pass on Windows:\nhttp://lab.llvm.org:8011/builders/clang-x64-windows-msvc/builds/3627\n\nFAIL: lld :: ELF/stdout.s (1521 of 1966)\n******************** TEST 'lld :: ELF/stdout.s' FAILED ********************\nScript:\n--\n: 'RUN: at ...
gas
chosen
[ { "from": "human", "value": "Test DWARFv5 with gdb-index and low_pc/high_pc on the CU (rather than ranges)\n\nThere was a bug in LLVM's libDebugInfo where it did not porpagate the\nsection index through the range query built from low_pc/high_pc. Hard to\ntest in LLVM, so I'm adding a test here.\n\ngit-svn-i...
gas
chosen
[ { "from": "system", "value": "Fix test, nop is not always 1 byte\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@335353 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "human", "value": "# RUN: llvm-mc -dwarf-version 5 %s -filetype=obj -o - | llvm-dwarfdump -debug-line - | FileCheck...
gas
chosen
[ { "from": "human", "value": "Add a testcase for symbol resolution with -r.\n\ngit-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@266429 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "gpt", "value": "// RUN: llvm-mc -filetype=obj %s -o %t.o -triple=x86_64-pc-linux\n// RUN: ld.lld %t.o %t...
gas
chosen
[ { "from": "human", "value": "Test for ELF .size directive.\n\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@108607 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "gpt", "value": "# RUN: llvm-mc -triple i386-pc-linux-gnu %s | FileCheck %s\n\na:\n\tret\n.Lt:\n# CHECK: .size\ta, .L...
gas
chosen
[ { "from": "human", "value": "Add a testcase for r207627.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@207697 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "gpt", "value": "// RUN: llvm-mc -filetype=obj -triple arm64_be %s | llvm-readobj -section-data -sections | FileCheck %s\n\...
gas
chosen
[ { "from": "human", "value": "Test for microMIPS trap instructions.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@194258 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "gpt", "value": "# RUN: llvm-mc %s -triple=mipsel -show-encoding -mattr=micromips \\\n# RUN: | FileCheck -check-p...
gas
chosen
[ { "from": "system", "value": "Test that -e <symbol> works\n\n\ngit-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@255347 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "human", "value": "# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1\n# RUN: not ld.lld %t1 -o %t2\n# ...
gas
chosen
[ { "from": "system", "value": "[ELF][MIPS] Mark the test as required MIPS target support. NFC\n\ngit-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@324468 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "human", "value": "# MIPS BFD linker puts _gp_disp symbol into DSO files and assigns ze...
gas
chosen
[ { "from": "human", "value": "[llvm-mca][x86] Add RDSEED instruction resource tests for GLM\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@348624 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "gpt", "value": "# NOTE: Assertions have been autogenerated by utils/update_mca_test_chec...
gas
chosen
[ { "from": "human", "value": "[AArch64] Include test for out of range LD_PREL_LO19.\n\ngit-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@313846 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "gpt", "value": "# REQUIRES: aarch64\n\n# RUN: llvm-mc -filetype=obj -triple=aarch64-linux-none %...
gas
chosen
[ { "from": "system", "value": "[MC/ELF] Make the relaxation test more interesting.\n\nAdd a case where we can't relax.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@267308 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "human", "value": "// RUN: llvm-mc -filetype=obj -relax-relo...
gas
chosen
[ { "from": "human", "value": "[JIT] Add small-code model test for ELF.\n\nThe coverage is almost non-existent, hopefully more will come after this.\n\nDifferential Revision:\thttp://reviews.llvm.org/D16096\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@258087 91177308-0d34-0410-b5e6-96231b3b80d8\n...
gas
chosen
[ { "from": "human", "value": "Add untested syscall code for plan9.\n" }, { "from": "gpt", "value": ".globl sys$syscall\nsys$syscall:\n\t/*\n Ugly: Kernel is caller-save, Myrddin\n is callee-save. We need to preserve\n registers before entering the kernel.\n\n However, ...
gas
chosen
[ { "from": "human", "value": "Add a test that would have found the issue in r224935.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@225385 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "gpt", "value": "; RUN: llvm-mc -triple arm64-apple-darwin10 %s -filetype=obj -o - | llvm-readob...
gas
chosen
[ { "from": "system", "value": "Use the new name for syscall opcode on riscv.\n" }, { "from": "human", "value": ".globl _start\n.section .rodata\nmsg:\t.ascii \"ok\\n\"\n.text\n_start:\n\tli a0, 1\n\tlui a1, %hi(msg)\n\taddi a1, a1, %lo(msg)\n\tli a2, 3\n\tli a7, 64\n\tscall\t\t\t# syscall: w...
gas
chosen
[ { "from": "human", "value": "Add tests for cp10/cp11 on ARMv5/6\n\nTests for ARMv7/8 are already on diagnostics.s\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@214872 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "gpt", "value": "# Special test to make sure we don't error on VFP...
gas
chosen
[ { "from": "system", "value": "Add support for games using MBC5 memory mapper\n" }, { "from": "human", "value": ".EMPTYFILL $FF\n\n.CARTRIDGETYPE 3\n.RAMSIZE 3\n.COMPUTECHECKSUM\n.COMPUTECOMPLEMENTCHECK\n\n\n\n.DEFINE ram_access_toggle $0000\n.DEFINE ram_bank_select $4000\n\n.DEFINE vram_save $A0...
gas
chosen
[ { "from": "system", "value": "[ELF] Add BYTE expression to test case for non-contiguous relro [NFC]\n\nAs well as location counter expressions. The data generating expressions\nsuch as BYTE can generate a non-zero sized OutputSection that will report\n0 until assignAddresses() is called. Add an example to t...
gas
chosen
[ { "from": "system", "value": "Add a triple to this test -- it has to be an ELF platform...\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@170374 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "human", "value": "// RUN: llvm-mc -g -fdebug-compilation-dir=/test/comp/dir %s -filetype...
gas
chosen
[ { "from": "system", "value": "Add 'not' in front of a command that is expected to fail.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@185659 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "human", "value": "@ RUN: llvm-mc -triple armv7 -show-encoding < %s | FileCheck %s\n\n@ VCVT...
gas
chosen
[ { "from": "system", "value": "[elf2] Remove unused flag in test.\n\ngit-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@249204 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "human", "value": "// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t\n// RUN: lld -flavor gnu2 %t -sha...
gas
chosen
[ { "from": "system", "value": "Document how a binary file was created.\n\ngit-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@266819 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "human", "value": "// RUN: ld.lld %p/Inputs/gotpcrelx.o -o %t.so -shared\n// RUN: llvm-readobj -s -r %t.so | F...
gas
chosen
[ { "from": "system", "value": "Fix stack misalignment for Linux binaries caused by `linux_sigcode' not being\na multiple of 4 bytes in size. This solves the recent SIGBUS errors for\nglibc2.1 configurations.\n\nExplained by: bde\n" }, { "from": "human", "value": "#include \"linux_assym.h\"\t\t\t/...
gas
chosen
[ { "from": "system", "value": "[ELF] Update test case due to llvm r365618\n\ngit-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@365619 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "human", "value": "# REQUIRES: mips\n# Check R_MIPS_GOT16 relocation against merge section.\n\n# RUN: llvm-...
gas
chosen
[ { "from": "system", "value": "Fix register clobbering in outb/inb\n" }, { "from": "human", "value": "; vim: ft=nasm\nglobal outb\noutb:\n mov al, [esp + 8]\n mov dx, [esp + 4]\n out dx, al\n ret\n\nglobal inb\ninb:\n mov dx, [esp + 4]\n in al, dx\n\nglobal io_wait\nio_wait:\n ...
gas
chosen
[ { "from": "system", "value": "Remove segmentation setup from gdt_set\n" }, { "from": "human", "value": "GLOBAL gdt_set\n\ngdt_set:\n MOV EAX, [ESP + 4]\n LGDT [EAX]\n\n MOV EAX, 0x10\n\n ; set up data segment selectors with kernel space data selector\n MOV DS, EAX\n MOV ES, EAX...
gas
chosen
[ { "from": "human", "value": "Add start symbol for OSX.\n" }, { "from": "gpt", "value": ".globl start\nstart:\n /* turn args into a slice */\n /* TODO */\n /* enter the main program */\n call\t_main\n /* exit */\n movq\t%rax,%rdi\n movq\t$60,%rax\n syscall\n\n" } ]
gas
chosen
[ { "from": "system", "value": "Implement reading char from command line\n" }, { "from": "human", "value": "_F9read_char:\npush rbp\nmov rbp, rsp\n\n;TODO\n\nleave\nret\n" }, { "from": "gpt", "value": "_F9read_char:\npush rbp\nmov rbp, rsp\nsub rsp, 8\n\npush rcx\npush rdi\npush rsi\np...
gas
chosen
[ { "from": "human", "value": "[mips] Add RuntimeDyld tests for currently supported O32 relocations.\n\nReviewers: petarj, vkalintiris\n\nReviewed By: vkalintiris\n\nSubscribers: vkalintiris, llvm-commits\n\nDifferential Revision: http://reviews.llvm.org/D10126\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab1303...
gas
chosen
[ { "from": "human", "value": "[ELF][MIPS] Add test case to check some microMIPS R6 relocations. NFC\n\ngit-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@331995 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "gpt", "value": "# REQUIRES: mips\n\n# Check handling of microMIPS R6 relocations...
gas
chosen
[ { "from": "system", "value": "Remove XFAIL:win32 from a test which does not fail on win32.\n\nThis test uses a regexp so that it matches both Unix output and\nWindows output.\n\ngit-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@257817 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "human", ...
gas
chosen
[ { "from": "human", "value": "Add missing darwin asm file for xattr support\n\nSigned-off-by: Stephen J Day <63efd86fa22882ae89b6027b22a36e4db1f4214d@docker.com>\n" }, { "from": "gpt", "value": "// Copyright 2014 The Go Authors. All rights reserved.\n// Use of this source code is governed by a B...
gas
chosen
[ { "from": "human", "value": "Add a test that would have found the issue with r225644.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@226035 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "gpt", "value": "; RUN: llvm-mc -triple arm64-apple-darwin10 %s -filetype=obj -o - | llvm-read...
gas
chosen
[ { "from": "human", "value": "Add this test back, the check pattern was too strict.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@77662 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "gpt", "value": "// FIXME: Switch back to FileCheck once we print actual instructions\n\n// RUN:...
gas
chosen
[ { "from": "human", "value": "Add a test that .align directives on capable processors use long NOPs.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@176490 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "gpt", "value": "# RUN: llvm-mc -filetype=obj -arch=x86 -mcpu=i686 %s | llvm-o...
gas
chosen
[ { "from": "human", "value": "[llvm-mca] Add another test for partial register stalls.\n\nThis test checks that a physical register is correctly allocated for the partial\nwrite to register BX.\nThe ADD instruction has to wait for the write to RBX (and BX) before being\nexecuted.\n\n\ngit-svn-id: 0ff597fd157...
gas
chosen
[ { "from": "human", "value": "Add a test for R_386_PC16 range checking.\n\ngit-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@305040 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "gpt", "value": "// RUN: llvm-mc %s -o %t.o -triple i386-pc-linux-code16 -filetype=obj\n\n// RUN: echo \".glo...
gas
chosen
[ { "from": "system", "value": "Fix this test to not write to the source tree, and instead to write to\na temporary file. This fixes the test in cases where the source tree is\nmounted read-only.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@211975 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { ...
gas
chosen
[ { "from": "system", "value": "Remove contents of amd64 settls since e never call it\n" }, { "from": "human", "value": "// Copyright 2013 The Go Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\n//\n// System...
gas
chosen
[ { "from": "system", "value": "Check test conditions more precisely. NFC\n\ngit-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@322014 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "human", "value": "# Check that we do not keep STT_FILE symbols in the symbol table\n\n# RUN: llvm-mc -filet...
gas
chosen
[ { "from": "system", "value": "[ELF] Set -o because current directory may not be writable during a test\n\ngit-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@335992 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "human", "value": "// REQUIRES: x86\n\n// RUN: llvm-mc -filetype=obj -triple=...
gas
chosen
[ { "from": "system", "value": "Add missing newline at EOF.\n\nThis fixes a warning on the Mac OS X build.\n\ngit-svn-id: 4c4cc70b1ef44ba2b7963015e681894188cea27e@244863 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "human", "value": "//===-- HasAVX.s ---------------------------------------...
gas
chosen
[ { "from": "system", "value": "Fix string length in 64-bit mode\n\n\"Load Halfword Immediate\" leaves higher register bits untouched, and\nthat caused extra output beyond \"ok\" on s390x architecture.\n\nThis patch fixes the issue by loading an immediate into all 64 bits.\n" }, { "from": "human", ...
gas
chosen
[ { "from": "human", "value": "Add a test case for r156840, a fix to llvm-objdump when disassembling using\n-macho to disassemble the last symbol to the end of the section.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@156850 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "gpt", ...
gas
chosen
[ { "from": "system", "value": "Add a test showing that we can gc parts of .eh_frame.\n\ngit-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@267884 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "human", "value": "# REQUIRES: x86\n\n# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux ...
gas
chosen
[ { "from": "human", "value": "Add a test documenting how we handle addends on Elf_Rela.\n\ngit-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@288477 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "gpt", "value": "// REQUIRES: x86\n// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -...
gas
chosen
[ { "from": "system", "value": "Add not to a command that is expected to fail.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@187203 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "human", "value": "// RUN: %clang -### -c -integrated-as %s 2>&1 | FileCheck %s\n\n// REQUIRES: clang-d...
gas
chosen
[ { "from": "system", "value": "Fix reset ram include in template\n" }, { "from": "human", "value": "; md5 XXXXXXXXXXXXXXXXXXXXXX\n\n.INCLUDE \"includes/init.s\"\n.ROMBANKS zzzzzzzzzz\n.BACKGROUND \"aaaaaaaaaaaaaaaaaaa\"\n.INCLUDE \"includes/header.s\"\n\n\n;**********\n;* config *\n;**********\n\...
gas
chosen
[ { "from": "human", "value": "Add an interesting case where we were already producing the correct result.\n\ngit-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@250544 91177308-0d34-0410-b5e6-96231b3b80d8\n" }, { "from": "gpt", "value": "// REQUIRES: x86\n// RUN: llvm-mc -filetype=obj -triple=x8...
gas
chosen
[ { "from": "system", "value": "Update CSH logo to look better\n" }, { "from": "human", "value": "%include \"functions.s\"\n%include \"memory.s\"\n%include \"forth.s\"\n\nkmain:\n mov dx, hw\n push dx\n call print_line\n\n mov dx, logo1\n push dx\n call print_line\n mov dx, lo...
gas
chosen
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
7