repo_id
stringlengths 5
115
| size
int64 590
5.01M
| file_path
stringlengths 4
212
| content
stringlengths 590
5.01M
|
|---|---|---|---|
stsp/binutils-ia16
| 10,762
|
gdb/testsuite/gdb.dwarf2/trace-crash.S
|
/* This file was created using Clang -g -S from this source
code:
int func(int p) {
int x = p + 3;
return x;
}
int main() { return func(3); }
See http://sourceware.org/bugzilla/show_bug.cgi?id=14999
*/
.file "trace-crash.c"
.file 1 "trace-crash.c"
.text
.globl func
.align 16, 0x90
.type func,@function
func: # @func
.cfi_startproc
.Lfunc_begin0:
.loc 1 1 0 # trace-crash.c:1:0
# BB#0: # %entry
movl %edi, -4(%rsp)
.loc 1 2 0 prologue_end # trace-crash.c:2:0
.Ltmp0:
movl -4(%rsp), %edi
addl $3, %edi
movl %edi, -8(%rsp)
.loc 1 3 0 # trace-crash.c:3:0
movl -8(%rsp), %eax
ret
.Ltmp1:
.Ltmp2:
.size func, .Ltmp2-func
.Lfunc_end0:
.cfi_endproc
.globl main
.align 16, 0x90
.type main,@function
main: # @main
.cfi_startproc
.Lfunc_begin1:
.loc 1 6 0 # trace-crash.c:6:0
# BB#0: # %entry
pushq %rbp
.Ltmp5:
.cfi_def_cfa_offset 16
.Ltmp6:
.cfi_offset %rbp, -16
movq %rsp, %rbp
.Ltmp7:
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $3, %edi
movl $0, -4(%rbp)
.loc 1 6 0 prologue_end # trace-crash.c:6:0
.Ltmp8:
callq func
addq $16, %rsp
popq %rbp
ret
.Ltmp9:
.Ltmp10:
.size main, .Ltmp10-main
.Lfunc_end1:
.cfi_endproc
.Ltext_end:
.data
.Ldata_end:
.text
.Lsection_end1:
.section .debug_info,"",@progbits
.Lsection_info:
.section .debug_abbrev,"",@progbits
.Lsection_abbrev:
.section .debug_aranges,"",@progbits
.section .debug_macinfo,"",@progbits
.section .debug_line,"",@progbits
.Lsection_line:
.section .debug_loc,"",@progbits
.section .debug_pubtypes,"",@progbits
.section .debug_str,"MS",@progbits,1
.Linfo_string:
.section .debug_ranges,"",@progbits
.Ldebug_range:
.section .debug_loc,"",@progbits
.Lsection_debug_loc:
.text
.Ltext_begin:
.data
.section .debug_info,"",@progbits
.L.debug_info_begin0:
.long 147 # Length of Compilation Unit Info
.short 2 # DWARF version number
.long .L.debug_abbrev_begin # Offset Into Abbrev. Section
.byte 8 # Address Size (in bytes)
.byte 1 # Abbrev [1] 0xb:0x8c DW_TAG_compile_unit
.long .Linfo_string0 # DW_AT_producer
.short 12 # DW_AT_language
.long .Linfo_string1 # DW_AT_name
.quad 0 # DW_AT_low_pc
.long .Lsection_line # DW_AT_stmt_list
.long .Linfo_string2 # DW_AT_comp_dir
.byte 2 # Abbrev [2] 0x26:0x4c DW_TAG_subprogram
.long .Linfo_string3 # DW_AT_name
.byte 1 # DW_AT_decl_file
.byte 1 # DW_AT_decl_line
# DW_AT_prototyped
.long 114 # DW_AT_type
# DW_AT_external
.quad .Lfunc_begin0 # DW_AT_low_pc
.quad .Lfunc_end0 # DW_AT_high_pc
.byte 1 # DW_AT_frame_base
.byte 87
# DW_AT_APPLE_omit_frame_ptr
.byte 3 # Abbrev [3] 0x43:0xe DW_TAG_formal_parameter
.long .Linfo_string6 # DW_AT_name
.byte 1 # DW_AT_decl_file
.byte 1 # DW_AT_decl_line
.long 114 # DW_AT_type
.byte 2 # DW_AT_location
.byte 145
.byte 124
.byte 4 # Abbrev [4] 0x51:0x20 DW_TAG_lexical_block
.quad .Ltmp0 # DW_AT_low_pc
.quad .Ltmp1 # DW_AT_high_pc
.byte 5 # Abbrev [5] 0x62:0xe DW_TAG_variable
.long .Linfo_string7 # DW_AT_name
.byte 1 # DW_AT_decl_file
.byte 2 # DW_AT_decl_line
.long 114 # DW_AT_type
.byte 2 # DW_AT_location
.byte 145
.byte 120
.byte 0 # End Of Children Mark
.byte 0 # End Of Children Mark
.byte 6 # Abbrev [6] 0x72:0x7 DW_TAG_base_type
.long .Linfo_string4 # DW_AT_name
.byte 5 # DW_AT_encoding
.byte 4 # DW_AT_byte_size
.byte 7 # Abbrev [7] 0x79:0x1d DW_TAG_subprogram
.long .Linfo_string5 # DW_AT_name
.byte 1 # DW_AT_decl_file
.byte 6 # DW_AT_decl_line
.long 114 # DW_AT_type
# DW_AT_external
.quad .Lfunc_begin1 # DW_AT_low_pc
.quad .Lfunc_end1 # DW_AT_high_pc
.byte 1 # DW_AT_frame_base
.byte 86
.byte 0 # End Of Children Mark
.L.debug_info_end0:
.section .debug_abbrev,"",@progbits
.L.debug_abbrev_begin:
.byte 1 # Abbreviation Code
.byte 17 # DW_TAG_compile_unit
.byte 1 # DW_CHILDREN_yes
.byte 37 # DW_AT_producer
.byte 14 # DW_FORM_strp
.byte 19 # DW_AT_language
.byte 5 # DW_FORM_data2
.byte 3 # DW_AT_name
.byte 14 # DW_FORM_strp
.byte 17 # DW_AT_low_pc
.byte 1 # DW_FORM_addr
.byte 16 # DW_AT_stmt_list
.byte 6 # DW_FORM_data4
.byte 27 # DW_AT_comp_dir
.byte 14 # DW_FORM_strp
.byte 0 # EOM(1)
.byte 0 # EOM(2)
.byte 2 # Abbreviation Code
.byte 46 # DW_TAG_subprogram
.byte 1 # DW_CHILDREN_yes
.byte 3 # DW_AT_name
.byte 14 # DW_FORM_strp
.byte 58 # DW_AT_decl_file
.byte 11 # DW_FORM_data1
.byte 59 # DW_AT_decl_line
.byte 11 # DW_FORM_data1
.byte 39 # DW_AT_prototyped
.byte 25 # DW_FORM_flag_present
.byte 73 # DW_AT_type
.byte 19 # DW_FORM_ref4
.byte 63 # DW_AT_external
.byte 25 # DW_FORM_flag_present
.byte 17 # DW_AT_low_pc
.byte 1 # DW_FORM_addr
.byte 18 # DW_AT_high_pc
.byte 1 # DW_FORM_addr
.byte 64 # DW_AT_frame_base
.byte 10 # DW_FORM_block1
.ascii "\347\177" # DW_AT_APPLE_omit_frame_ptr
.byte 25 # DW_FORM_flag_present
.byte 0 # EOM(1)
.byte 0 # EOM(2)
.byte 3 # Abbreviation Code
.byte 5 # DW_TAG_formal_parameter
.byte 0 # DW_CHILDREN_no
.byte 3 # DW_AT_name
.byte 14 # DW_FORM_strp
.byte 58 # DW_AT_decl_file
.byte 11 # DW_FORM_data1
.byte 59 # DW_AT_decl_line
.byte 11 # DW_FORM_data1
.byte 73 # DW_AT_type
.byte 19 # DW_FORM_ref4
.byte 2 # DW_AT_location
.byte 10 # DW_FORM_block1
.byte 0 # EOM(1)
.byte 0 # EOM(2)
.byte 4 # Abbreviation Code
.byte 11 # DW_TAG_lexical_block
.byte 1 # DW_CHILDREN_yes
.byte 17 # DW_AT_low_pc
.byte 1 # DW_FORM_addr
.byte 18 # DW_AT_high_pc
.byte 1 # DW_FORM_addr
.byte 0 # EOM(1)
.byte 0 # EOM(2)
.byte 5 # Abbreviation Code
.byte 52 # DW_TAG_variable
.byte 0 # DW_CHILDREN_no
.byte 3 # DW_AT_name
.byte 14 # DW_FORM_strp
.byte 58 # DW_AT_decl_file
.byte 11 # DW_FORM_data1
.byte 59 # DW_AT_decl_line
.byte 11 # DW_FORM_data1
.byte 73 # DW_AT_type
.byte 19 # DW_FORM_ref4
.byte 2 # DW_AT_location
.byte 10 # DW_FORM_block1
.byte 0 # EOM(1)
.byte 0 # EOM(2)
.byte 6 # Abbreviation Code
.byte 36 # DW_TAG_base_type
.byte 0 # DW_CHILDREN_no
.byte 3 # DW_AT_name
.byte 14 # DW_FORM_strp
.byte 62 # DW_AT_encoding
.byte 11 # DW_FORM_data1
.byte 11 # DW_AT_byte_size
.byte 11 # DW_FORM_data1
.byte 0 # EOM(1)
.byte 0 # EOM(2)
.byte 7 # Abbreviation Code
.byte 46 # DW_TAG_subprogram
.byte 0 # DW_CHILDREN_no
.byte 3 # DW_AT_name
.byte 14 # DW_FORM_strp
.byte 58 # DW_AT_decl_file
.byte 11 # DW_FORM_data1
.byte 59 # DW_AT_decl_line
.byte 11 # DW_FORM_data1
.byte 73 # DW_AT_type
.byte 19 # DW_FORM_ref4
.byte 63 # DW_AT_external
.byte 25 # DW_FORM_flag_present
.byte 17 # DW_AT_low_pc
.byte 1 # DW_FORM_addr
.byte 18 # DW_AT_high_pc
.byte 1 # DW_FORM_addr
.byte 64 # DW_AT_frame_base
.byte 10 # DW_FORM_block1
.byte 0 # EOM(1)
.byte 0 # EOM(2)
.byte 0 # EOM(3)
.L.debug_abbrev_end:
.section .debug_aranges,"",@progbits
.section .debug_ranges,"",@progbits
.section .debug_macinfo,"",@progbits
.section .debug_str,"MS",@progbits,1
.Linfo_string0:
.asciz "clang version 3.3 "
.Linfo_string1:
.asciz "trace-crash.c"
.Linfo_string2:
.asciz "/tmp"
.Linfo_string3:
.asciz "func"
.Linfo_string4:
.asciz "int"
.Linfo_string5:
.asciz "main"
.Linfo_string6:
.asciz "p"
.Linfo_string7:
.asciz "x"
.section ".note.GNU-stack","",@progbits
|
stsp/binutils-ia16
| 7,468
|
gdb/testsuite/gdb.dwarf2/watch-notconst2.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2010-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This source file was generated from watch-notconst2.c using the following
command line:
gcc -m32 -dA -S -g -O2 watch-notconst2.c -o watch-notconst2.S
*/
.file "watch-notconst2.c"
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.section .debug_line,"",@progbits
.Ldebug_line0:
.text
.Ltext0:
.cfi_sections .debug_frame
.p2align 4,,15
.globl f
.type f, @function
f:
.LFB0:
.file 1 "watch-notconst2.c"
# watch-notconst2.c:30
.loc 1 30 0
.cfi_startproc
.LVL0:
# basic block 2
pushl %ebp
.cfi_def_cfa_offset 8
movl %esp, %ebp
.cfi_offset 5, -8
.cfi_def_cfa_register 5
pushl %ebx
subl $20, %esp
# watch-notconst2.c:30
.loc 1 30 0
movl 8(%ebp), %ebx
.cfi_offset 3, -12
# watch-notconst2.c:32
.loc 1 32 0
movl $2, (%esp)
call g
.LVL1:
# watch-notconst2.c:34
.loc 1 34 0
movl %ebx, 8(%ebp)
# watch-notconst2.c:35
.loc 1 35 0
addl $20, %esp
popl %ebx
.cfi_restore 3
popl %ebp
.cfi_restore 5
.cfi_def_cfa 4, 4
.LVL2:
# watch-notconst2.c:34
.loc 1 34 0
jmp g
.cfi_endproc
.LFE0:
.size f, .-f
.Letext0:
.section .debug_loc,"",@progbits
.Ldebug_loc0:
.LLST0:
.long .LVL0-.Ltext0 # Location list begin address (*.LLST0)
.long .LVL1-.Ltext0 # Location list end address (*.LLST0)
.value 0x2 # Location expression size
.byte 0x35 # DW_OP_lit5
.byte 0x9f # DW_OP_stack_value
.long .LVL1-.Ltext0 # Location list begin address (*.LLST0)
.long .LVL2-.Ltext0 # Location list end address (*.LLST0)
.value 0x1 # Location expression size
.byte 0x53 # DW_OP_reg3
.long 0x0 # Location list terminator begin (*.LLST0)
.long 0x0 # Location list terminator end (*.LLST0)
.section .debug_info
.long 0x5c # Length of Compilation Unit Info
.value 0x3 # DWARF version number
.long .Ldebug_abbrev0 # Offset Into Abbrev. Section
.byte 0x4 # Pointer Size (in bytes)
.uleb128 0x1 # (DIE (0xb) DW_TAG_compile_unit)
.long .LASF0 # DW_AT_producer: "GNU C 4.4.3 20100127 (Red Hat 4.4.3-4)"
.byte 0x1 # DW_AT_language
.long .LASF1 # DW_AT_name: "watch-notconst2.c"
.long .LASF2 # DW_AT_comp_dir: ""
.long .Ltext0 # DW_AT_low_pc
.long .Letext0 # DW_AT_high_pc
.long .Ldebug_line0 # DW_AT_stmt_list
.uleb128 0x2 # (DIE (0x25) DW_TAG_subprogram)
.byte 0x1 # DW_AT_external
.ascii "f\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (watch-notconst2.c)
.byte 0x1d # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.long 0x58 # DW_AT_type
.long .LFB0 # DW_AT_low_pc
.long .LFE0 # DW_AT_high_pc
.byte 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
.long 0x58 # DW_AT_sibling
.uleb128 0x3 # (DIE (0x3e) DW_TAG_formal_parameter)
.ascii "i\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (watch-notconst2.c)
.byte 0x1d # DW_AT_decl_line
.long 0x58 # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.uleb128 0x4 # (DIE (0x4a) DW_TAG_variable)
.ascii "x\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (watch-notconst2.c)
.byte 0x1f # DW_AT_decl_line
.long 0x58 # DW_AT_type
.long .LLST0 # DW_AT_location
.byte 0x0 # end of children of DIE 0x25
.uleb128 0x5 # (DIE (0x58) DW_TAG_base_type)
.byte 0x4 # DW_AT_byte_size
.byte 0x5 # DW_AT_encoding
.ascii "int\0" # DW_AT_name
.byte 0x0 # end of children of DIE 0xb
.section .debug_abbrev
.uleb128 0x1 # (abbrev code)
.uleb128 0x11 # (TAG: DW_TAG_compile_unit)
.byte 0x1 # DW_children_yes
.uleb128 0x25 # (DW_AT_producer)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x13 # (DW_AT_language)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x1b # (DW_AT_comp_dir)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x10 # (DW_AT_stmt_list)
.uleb128 0x6 # (DW_FORM_data4)
.byte 0x0
.byte 0x0
.uleb128 0x2 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x27 # (DW_AT_prototyped)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0xa # (DW_FORM_block1)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0x0
.byte 0x0
.uleb128 0x3 # (abbrev code)
.uleb128 0x5 # (TAG: DW_TAG_formal_parameter)
.byte 0x0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0xa # (DW_FORM_block1)
.byte 0x0
.byte 0x0
.uleb128 0x4 # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0x0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x6 # (DW_FORM_data4)
.byte 0x0
.byte 0x0
.uleb128 0x5 # (abbrev code)
.uleb128 0x24 # (TAG: DW_TAG_base_type)
.byte 0x0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3e # (DW_AT_encoding)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.byte 0x0
.byte 0x0
.byte 0x0
.section .debug_pubnames,"",@progbits
.long 0x14 # Length of Public Names Info
.value 0x2 # DWARF Version
.long .Ldebug_info0 # Offset of Compilation Unit Info
.long 0x60 # Compilation Unit Length
.long 0x25 # DIE offset
.ascii "f\0" # external name
.long 0x0
.section .debug_aranges,"",@progbits
.long 0x1c # Length of Address Ranges Info
.value 0x2 # DWARF Version
.long .Ldebug_info0 # Offset of Compilation Unit Info
.byte 0x4 # Size of Address
.byte 0x0 # Size of Segment Descriptor
.value 0x0 # Pad to 8 byte boundary
.value 0x0
.long .Ltext0 # Address
.long .Letext0-.Ltext0 # Length
.long 0x0
.long 0x0
.section .debug_str,"MS",@progbits,1
.LASF1:
.string "watch-notconst2.c"
.LASF2:
.string ""
.LASF0:
.string "GNU C 4.4.3 20100127 (Red Hat 4.4.3-4)"
.ident "GCC: (GNU) 4.4.3 20100127 (Red Hat 4.4.3-4)"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 15,163
|
gdb/testsuite/gdb.dwarf2/fission-loclists-pie.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2013-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
This file was created by doing:
gcc -O1 -gdwarf-4 -gsplit-debug -fPIE -S -dA fission-loclists-pie.c
and then massaging the output.
fission-loclists-pie.c:
__attribute__((noinline)) int
init (int *b)
{
return 0;
}
int
main (int argc, char *argv[])
{
return init (&argc);
}
*/
.file "fission-loclists-pie.c"
.text
.Ltext0:
.globl init
.type init, @function
init:
.LFB0:
.file 1 "testsuite/gdb.dwarf2/fission-loclists-pie.c"
# testsuite/gdb.dwarf2/fission-loclists-pie.c:22
.loc 1 22 0
.cfi_startproc
.LVL0:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (FALLTHRU)
# testsuite/gdb.dwarf2/fission-loclists-pie.c:24
.loc 1 24 0
movl $0, %eax
# SUCC: EXIT [100.0%]
ret
.cfi_endproc
.LFE0:
.size init, .-init
.globl main
.type main, @function
main:
.LFB1:
# testsuite/gdb.dwarf2/fission-loclists-pie.c:28
.loc 1 28 0
.cfi_startproc
.LVL1:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (FALLTHRU)
subq $8, %rsp
.cfi_def_cfa_offset 16
# testsuite/gdb.dwarf2/fission-loclists-pie.c:29
.loc 1 29 0
leaq 4(%rsp), %rdi
.LVL2:
call init
.LVL3:
# testsuite/gdb.dwarf2/fission-loclists-pie.c:30
.loc 1 30 0
addq $8, %rsp
.cfi_def_cfa_offset 8
# SUCC: EXIT [100.0%]
ret
.cfi_endproc
.LFE1:
.size main, .-main
.Letext0:
.section .debug_addr,"",@progbits
.Ldebug_addr0:
.quad .LVL1 # 0x0
.quad .LVL2 # 0x1
.quad .LVL3 # 0x2
.quad .LFB0 # 0x3
.quad .LFB1 # 0x4
.quad .LVL3-1 # 0x5
.section .debug_info.dwo,"e",@progbits
.Ldebug_info0:
.long 0x91 # Length of Compilation Unit Info
.value 0x4 # DWARF version number
.long .Ldebug_abbrev0 # Offset Into Abbrev. Section
.byte 0x8 # Pointer Size (in bytes)
.uleb128 0x1 # (DIE (0xb) DW_TAG_compile_unit)
.uleb128 0x4 # DW_AT_producer: "GNU C 4.9.x -m64 -mtune=generic -march=x86-64 -gdwarf-4 -gsplit-dwarf -O1 -fPIE"
.byte 0x1 # DW_AT_language
.uleb128 0x6 # DW_AT_name: "testsuite/gdb.dwarf2/fission-loclists-pie.c"
.byte 0xed # DW_AT_GNU_dwo_id
.byte 0x50
.byte 0xa4
.byte 0xe0
.byte 0xc9
.byte 0xf8
.byte 0xd3
.byte 0xf0
.uleb128 0x2 # (DIE (0x17) DW_TAG_subprogram)
# DW_AT_external
.uleb128 0x5 # DW_AT_name: "init"
.byte 0x1 # DW_AT_decl_file (testsuite/gdb.dwarf2/fission-loclists-pie.c)
.byte 0x15 # DW_AT_decl_line
# DW_AT_prototyped
.long 0x3a # DW_AT_type
.uleb128 0x3 # DW_AT_low_pc
.quad .LFE0-.LFB0 # DW_AT_high_pc
.uleb128 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
# DW_AT_GNU_all_call_sites
.long 0x3a # DW_AT_sibling
.uleb128 0x3 # (DIE (0x2e) DW_TAG_formal_parameter)
.ascii "b\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (testsuite/gdb.dwarf2/fission-loclists-pie.c)
.byte 0x15 # DW_AT_decl_line
.long 0x41 # DW_AT_type
.uleb128 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0 # end of children of DIE 0x17
.uleb128 0x4 # (DIE (0x3a) DW_TAG_base_type)
.byte 0x4 # DW_AT_byte_size
.byte 0x5 # DW_AT_encoding
.ascii "int\0" # DW_AT_name
.uleb128 0x5 # (DIE (0x41) DW_TAG_pointer_type)
.byte 0x8 # DW_AT_byte_size
.long 0x3a # DW_AT_type
.uleb128 0x2 # (DIE (0x47) DW_TAG_subprogram)
# DW_AT_external
.uleb128 0x2 # DW_AT_name: "main"
.byte 0x1 # DW_AT_decl_file (testsuite/gdb.dwarf2/fission-loclists-pie.c)
.byte 0x1b # DW_AT_decl_line
# DW_AT_prototyped
.long 0x3a # DW_AT_type
.uleb128 0x4 # DW_AT_low_pc
.quad .LFE1-.LFB1 # DW_AT_high_pc
.uleb128 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
# DW_AT_GNU_all_call_sites
.long 0x84 # DW_AT_sibling
.uleb128 0x6 # (DIE (0x5e) DW_TAG_formal_parameter)
.uleb128 0x1 # DW_AT_name: "argc"
.byte 0x1 # DW_AT_decl_file (testsuite/gdb.dwarf2/fission-loclists-pie.c)
.byte 0x1b # DW_AT_decl_line
.long 0x3a # DW_AT_type
.long .LLST0-.Ldebug_loc0 # DW_AT_location
.uleb128 0x6 # (DIE (0x6a) DW_TAG_formal_parameter)
.uleb128 0 # DW_AT_name: "argv"
.byte 0x1 # DW_AT_decl_file (testsuite/gdb.dwarf2/fission-loclists-pie.c)
.byte 0x1b # DW_AT_decl_line
.long 0x84 # DW_AT_type
.long .LLST1-.Ldebug_loc0 # DW_AT_location
.uleb128 0x7 # (DIE (0x76) DW_TAG_GNU_call_site)
.uleb128 0x2 # DW_AT_low_pc
.long 0x17 # DW_AT_abstract_origin
.uleb128 0x8 # (DIE (0x7c) DW_TAG_GNU_call_site_parameter)
.uleb128 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.uleb128 0x2 # DW_AT_GNU_call_site_value
.byte 0x91 # DW_OP_fbreg
.sleb128 -12
.byte 0 # end of children of DIE 0x76
.byte 0 # end of children of DIE 0x47
.uleb128 0x5 # (DIE (0x84) DW_TAG_pointer_type)
.byte 0x8 # DW_AT_byte_size
.long 0x8a # DW_AT_type
.uleb128 0x5 # (DIE (0x8a) DW_TAG_pointer_type)
.byte 0x8 # DW_AT_byte_size
.long 0x90 # DW_AT_type
.uleb128 0x9 # (DIE (0x90) DW_TAG_base_type)
.byte 0x1 # DW_AT_byte_size
.byte 0x6 # DW_AT_encoding
.uleb128 0x3 # DW_AT_name: "char"
.byte 0 # end of children of DIE 0xb
.section .debug_info,"",@progbits
.Lskeleton_debug_info0:
.long 0x30 # Length of Compilation Unit Info
.value 0x4 # DWARF version number
.long .Lskeleton_debug_abbrev0 # Offset Into Abbrev. Section
.byte 0x8 # Pointer Size (in bytes)
.uleb128 0x1 # (DIE (0) DW_TAG_compile_unit)
.quad .Ltext0 # DW_AT_low_pc
.quad .Letext0-.Ltext0 # DW_AT_high_pc
.long .Ldebug_line0 # DW_AT_stmt_list
.long .LASF0 # DW_AT_GNU_dwo_name: "fission-loclists-pie.dwo"
.long .LASF1 # DW_AT_comp_dir: "/tmp/19999/obj64/gdb/testsuite"
# DW_AT_GNU_pubnames
.long .Ldebug_addr0 # DW_AT_GNU_addr_base
.byte 0xed # DW_AT_GNU_dwo_id
.byte 0x50
.byte 0xa4
.byte 0xe0
.byte 0xc9
.byte 0xf8
.byte 0xd3
.byte 0xf0
.section .debug_abbrev,"",@progbits
.Lskeleton_debug_abbrev0:
.uleb128 0x1 # (abbrev code)
.uleb128 0x11 # (TAG: DW_TAG_compile_unit)
.byte 0 # DW_children_no
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x7 # (DW_FORM_data8)
.uleb128 0x10 # (DW_AT_stmt_list)
.uleb128 0x17 # (DW_FORM_sec_offset)
.uleb128 0x2130 # (DW_AT_GNU_dwo_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x1b # (DW_AT_comp_dir)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x2134 # (DW_AT_GNU_pubnames)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x2133 # (DW_AT_GNU_addr_base)
.uleb128 0x17 # (DW_FORM_sec_offset)
.uleb128 0x2131 # (DW_AT_GNU_dwo_id)
.uleb128 0x7 # (DW_FORM_data8)
.byte 0
.byte 0
.byte 0 # end of skeleton .debug_abbrev
.section .debug_abbrev.dwo,"e",@progbits
.Ldebug_abbrev0:
.uleb128 0x1 # (abbrev code)
.uleb128 0x11 # (TAG: DW_TAG_compile_unit)
.byte 0x1 # DW_children_yes
.uleb128 0x25 # (DW_AT_producer)
.uleb128 0x1f02 # (DW_FORM_GNU_str_index)
.uleb128 0x13 # (DW_AT_language)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x1f02 # (DW_FORM_GNU_str_index)
.uleb128 0x2131 # (DW_AT_GNU_dwo_id)
.uleb128 0x7 # (DW_FORM_data8)
.byte 0
.byte 0
.uleb128 0x2 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x1f02 # (DW_FORM_GNU_str_index)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x27 # (DW_AT_prototyped)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1f01 # (DW_FORM_GNU_addr_index)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x7 # (DW_FORM_data8)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x3 # (abbrev code)
.uleb128 0x5 # (TAG: DW_TAG_formal_parameter)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.uleb128 0x4 # (abbrev code)
.uleb128 0x24 # (TAG: DW_TAG_base_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3e # (DW_AT_encoding)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.byte 0
.byte 0
.uleb128 0x5 # (abbrev code)
.uleb128 0xf # (TAG: DW_TAG_pointer_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x6 # (abbrev code)
.uleb128 0x5 # (TAG: DW_TAG_formal_parameter)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x1f02 # (DW_FORM_GNU_str_index)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x17 # (DW_FORM_sec_offset)
.byte 0
.byte 0
.uleb128 0x7 # (abbrev code)
.uleb128 0x4109 # (TAG: DW_TAG_GNU_call_site)
.byte 0x1 # DW_children_yes
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1f01 # (DW_FORM_GNU_addr_index)
.uleb128 0x31 # (DW_AT_abstract_origin)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x8 # (abbrev code)
.uleb128 0x410a # (TAG: DW_TAG_GNU_call_site_parameter)
.byte 0 # DW_children_no
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x2111 # (DW_AT_GNU_call_site_value)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.uleb128 0x9 # (abbrev code)
.uleb128 0x24 # (TAG: DW_TAG_base_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3e # (DW_AT_encoding)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x1f02 # (DW_FORM_GNU_str_index)
.byte 0
.byte 0
.byte 0
.section .debug_loc.dwo,"e",@progbits
.Ldebug_loc0:
.LLST0:
.byte 0x3 # Location list start/length entry (*.LLST0)
.uleb128 0 # Location list range start index (*.LVL1)
.long .LVL2-.LVL1 # Location list range length (*.LLST0)
.value 0x1 # Location expression size
.byte 0x55 # DW_OP_reg5
.byte 0x3 # Location list start/length entry (*.LLST0)
.uleb128 0x1 # Location list range start index (*.LVL2)
.long .LFE1-.LVL2 # Location list range length (*.LLST0)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x55 # DW_OP_reg5
.byte 0x9f # DW_OP_stack_value
.byte 0 # Location list terminator (*.LLST0)
.LLST1:
.byte 0x3 # Location list start/length entry (*.LLST1)
.uleb128 0 # Location list range start index (*.LVL1)
.long .LVL3-1-.LVL1 # Location list range length (*.LLST1)
.value 0x1 # Location expression size
.byte 0x54 # DW_OP_reg4
.byte 0x3 # Location list start/length entry (*.LLST1)
.uleb128 0x5 # Location list range start index (*.LVL3-1)
.long .LFE1-.LVL3-1 # Location list range length (*.LLST1)
.value 0x4 # Location expression size
.byte 0xf3 # DW_OP_GNU_entry_value
.uleb128 0x1
.byte 0x54 # DW_OP_reg4
.byte 0x9f # DW_OP_stack_value
.byte 0 # Location list terminator (*.LLST1)
.section .debug_gnu_pubnames,"",@progbits
.long 0x22 # Pub Info Length
.value 0x2 # DWARF Version
.long .Lskeleton_debug_info0 # Offset of Compilation Unit Info
.long 0x95 # Compilation Unit Length
.long 0x17 # DIE offset
.byte 0x30 # GDB-index flags
.ascii "init\0" # external name
.long 0x47 # DIE offset
.byte 0x30 # GDB-index flags
.ascii "main\0" # external name
.long 0
.section .debug_gnu_pubtypes,"",@progbits
.long 0x21 # Pub Info Length
.value 0x2 # DWARF Version
.long .Lskeleton_debug_info0 # Offset of Compilation Unit Info
.long 0x95 # Compilation Unit Length
.long 0x3a # DIE offset
.byte 0x90 # GDB-index flags
.ascii "int\0" # external name
.long 0x90 # DIE offset
.byte 0x90 # GDB-index flags
.ascii "char\0" # external name
.long 0
.section .debug_aranges,"",@progbits
.long 0x2c # Length of Address Ranges Info
.value 0x2 # DWARF Version
.long .Lskeleton_debug_info0 # Offset of Compilation Unit Info
.byte 0x8 # Size of Address
.byte 0 # Size of Segment Descriptor
.value 0 # Pad to 16 byte boundary
.value 0
.quad .Ltext0 # Address
.quad .Letext0-.Ltext0 # Length
.quad 0
.quad 0
.section .debug_line,"",@progbits
.Ldebug_line0:
.section .debug_line.dwo,"e",@progbits
.Lskeleton_debug_line0:
.long .LELT0-.LSLT0 # Length of Source Line Info
.LSLT0:
.value 0x4 # DWARF Version
.long .LELTP0-.LASLTP0 # Prolog Length
.LASLTP0:
.byte 0x1 # Minimum Instruction Length
.byte 0x1 # Maximum Operations Per Instruction
.byte 0x1 # Default is_stmt_start flag
.byte 0xf6 # Line Base Value (Special Opcodes)
.byte 0xf2 # Line Range Value (Special Opcodes)
.byte 0xd # Special Opcode Base
.byte 0 # opcode: 0x1 has 0 args
.byte 0x1 # opcode: 0x2 has 1 args
.byte 0x1 # opcode: 0x3 has 1 args
.byte 0x1 # opcode: 0x4 has 1 args
.byte 0x1 # opcode: 0x5 has 1 args
.byte 0 # opcode: 0x6 has 0 args
.byte 0 # opcode: 0x7 has 0 args
.byte 0 # opcode: 0x8 has 0 args
.byte 0x1 # opcode: 0x9 has 1 args
.byte 0 # opcode: 0xa has 0 args
.byte 0 # opcode: 0xb has 0 args
.byte 0x1 # opcode: 0xc has 1 args
.ascii "testsuite/gdb.dwarf2\0" # Directory Entry: 0x1
.byte 0 # End directory table
.ascii "fission-loclists-pie.c\0" # File Entry: 0x1
.uleb128 0x1
.uleb128 0
.uleb128 0
.byte 0 # End file name table
.LELTP0:
.LELT0:
.section .debug_str,"MS",@progbits,1
.LASF1:
.string "/tmp/19999/obj64/gdb/testsuite"
.LASF0:
.string DWO
.section .debug_str_offsets.dwo,"e",@progbits
.long 0 # indexed string 0x0: argv
.long 0x5 # indexed string 0x1: argc
.long 0xa # indexed string 0x2: main
.long 0xf # indexed string 0x3: char
.long 0x14 # indexed string 0x4: GNU C 4.9.x -m64 -mtune=generic -march=x86-64 -gdwarf-4 -gsplit-dwarf -O1 -fPIE
.long 0x64 # indexed string 0x5: init
.long 0x69 # indexed string 0x6: testsuite/gdb.dwarf2/fission-loclists-pie.c
.section .debug_str.dwo,"e",@progbits
.string "argv"
.string "argc"
.string "main"
.string "char"
.string "GNU C 4.9.x -m64 -mtune=generic -march=x86-64 -gdwarf-4 -gsplit-dwarf -O1 -fPIE"
.string "init"
.string "testsuite/gdb.dwarf2/fission-loclists-pie.c"
.ident "GCC: 4.9.x"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 9,022
|
gdb/testsuite/gdb.dwarf2/dw2-reg-undefined.S
|
/*
Copyright 2013-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* The FDE entry for "stop_frame" in the .debug_frame section has
been hand modified to mark a set of registers as undefined.
Otherwise this file is as generated by gcc 4.7.2 for x86_64. */
.file "dw2-reg-undefined.c"
.text
.Ltext0:
.globl stop_frame
.type stop_frame, @function
stop_frame:
.LFB0:
.file 1 "dw2-reg-undefined.c"
.loc 1 19 0
pushq %rbp
.LCFI0:
movq %rsp, %rbp
.LCFI1:
.loc 1 22 0
popq %rbp
.LCFI2:
ret
.LFE0:
.size stop_frame, .-stop_frame
.globl first_frame
.type first_frame, @function
first_frame:
.LFB1:
.loc 1 26 0
pushq %rbp
.LCFI3:
movq %rsp, %rbp
.LCFI4:
.loc 1 27 0
movl $0, %eax
call stop_frame
.loc 1 28 0
popq %rbp
.LCFI5:
ret
.LFE1:
.size first_frame, .-first_frame
.globl main
.type main, @function
main:
.LFB2:
.loc 1 32 0
pushq %rbp
.LCFI6:
movq %rsp, %rbp
.LCFI7:
.loc 1 33 0
movl $0, %eax
call first_frame
.loc 1 35 0
movl $0, %eax
.loc 1 36 0
popq %rbp
.LCFI8:
ret
.LFE2:
.size main, .-main
.section .debug_frame,"",@progbits
.Lframe0:
.long .LECIE0-.LSCIE0
.LSCIE0:
.long 0xffffffff
.byte 0x1
.string ""
.uleb128 0x1
.sleb128 -8
.byte 0x10
.byte 0xc
.uleb128 0x7
.uleb128 0x8
.byte 0x90
.uleb128 0x1
.align 8
.LECIE0:
/* This FDE entry, for stop_frame was modified to mark
registers 0 -> 6 as being undefined. */
.LSFDE0:
.long .LEFDE0-.LASFDE0
.LASFDE0:
.long .Lframe0
.quad .LFB0
.quad .LFE0-.LFB0
/* START OF NEW CONTENT. */
.byte 0x7 /* DW_CFA_undefined */
.uleb128 0x0 /* ULEB128 register */
.byte 0x7 /* DW_CFA_undefined */
.uleb128 0x1 /* ULEB128 register */
.byte 0x7 /* DW_CFA_undefined */
.uleb128 0x2 /* ULEB128 register */
.byte 0x7 /* DW_CFA_undefined */
.uleb128 0x3 /* ULEB128 register */
.byte 0x7 /* DW_CFA_undefined */
.uleb128 0x4 /* ULEB128 register */
.byte 0x7 /* DW_CFA_undefined */
.uleb128 0x5 /* ULEB128 register */
.byte 0x7 /* DW_CFA_undefined */
.uleb128 0x6 /* ULEB128 register */
.byte 0x7 /* DW_CFA_undefined */
.uleb128 0x7 /* ULEB128 register */
/* END OF NEW CONTENT. */
.byte 0x4
.long .LCFI0-.LFB0
.byte 0xe
.uleb128 0x10
.byte 0x86
.uleb128 0x2
.byte 0x4
.long .LCFI1-.LCFI0
.byte 0xd
.uleb128 0x6
.byte 0x4
.long .LCFI2-.LCFI1
.byte 0xc
.uleb128 0x7
.uleb128 0x8
.align 8
.LEFDE0:
.LSFDE2:
.long .LEFDE2-.LASFDE2
.LASFDE2:
.long .Lframe0
.quad .LFB1
.quad .LFE1-.LFB1
.byte 0x4
.long .LCFI3-.LFB1
.byte 0xe
.uleb128 0x10
.byte 0x86
.uleb128 0x2
.byte 0x4
.long .LCFI4-.LCFI3
.byte 0xd
.uleb128 0x6
.byte 0x4
.long .LCFI5-.LCFI4
.byte 0xc
.uleb128 0x7
.uleb128 0x8
.align 8
.LEFDE2:
.LSFDE4:
.long .LEFDE4-.LASFDE4
.LASFDE4:
.long .Lframe0
.quad .LFB2
.quad .LFE2-.LFB2
.byte 0x4
.long .LCFI6-.LFB2
.byte 0xe
.uleb128 0x10
.byte 0x86
.uleb128 0x2
.byte 0x4
.long .LCFI7-.LCFI6
.byte 0xd
.uleb128 0x6
.byte 0x4
.long .LCFI8-.LCFI7
.byte 0xc
.uleb128 0x7
.uleb128 0x8
.align 8
.LEFDE4:
.section .eh_frame,"a",@progbits
.Lframe1:
.long .LECIE1-.LSCIE1
.LSCIE1:
.long 0
.byte 0x1
.string "zR"
.uleb128 0x1
.sleb128 -8
.byte 0x10
.uleb128 0x1
.byte 0x3
.byte 0xc
.uleb128 0x7
.uleb128 0x8
.byte 0x90
.uleb128 0x1
.align 8
.LECIE1:
.LSFDE7:
.long .LEFDE7-.LASFDE7
.LASFDE7:
.long .LASFDE7-.Lframe1
.long .LFB0
.long .LFE0-.LFB0
.uleb128 0
.byte 0x4
.long .LCFI0-.LFB0
.byte 0xe
.uleb128 0x10
.byte 0x86
.uleb128 0x2
.byte 0x4
.long .LCFI1-.LCFI0
.byte 0xd
.uleb128 0x6
.byte 0x4
.long .LCFI2-.LCFI1
.byte 0xc
.uleb128 0x7
.uleb128 0x8
.align 8
.LEFDE7:
.LSFDE9:
.long .LEFDE9-.LASFDE9
.LASFDE9:
.long .LASFDE9-.Lframe1
.long .LFB1
.long .LFE1-.LFB1
.uleb128 0
.byte 0x4
.long .LCFI3-.LFB1
.byte 0xe
.uleb128 0x10
.byte 0x86
.uleb128 0x2
.byte 0x4
.long .LCFI4-.LCFI3
.byte 0xd
.uleb128 0x6
.byte 0x4
.long .LCFI5-.LCFI4
.byte 0xc
.uleb128 0x7
.uleb128 0x8
.align 8
.LEFDE9:
.LSFDE11:
.long .LEFDE11-.LASFDE11
.LASFDE11:
.long .LASFDE11-.Lframe1
.long .LFB2
.long .LFE2-.LFB2
.uleb128 0
.byte 0x4
.long .LCFI6-.LFB2
.byte 0xe
.uleb128 0x10
.byte 0x86
.uleb128 0x2
.byte 0x4
.long .LCFI7-.LCFI6
.byte 0xd
.uleb128 0x6
.byte 0x4
.long .LCFI8-.LCFI7
.byte 0xc
.uleb128 0x7
.uleb128 0x8
.align 8
.LEFDE11:
.text
.Letext0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.long 0x8c
.value 0x2
.long .Ldebug_abbrev0
.byte 0x8
.uleb128 0x1
.long .LASF2
.byte 0x1
.long .LASF3
.long .LASF4
.quad .Ltext0
.quad .Letext0
.long .Ldebug_line0
.uleb128 0x2
.byte 0x1
.long .LASF0
.byte 0x1
.byte 0x12
.quad .LFB0
.quad .LFE0
.long .LLST0
.byte 0x1
.uleb128 0x3
.byte 0x1
.long .LASF1
.byte 0x1
.byte 0x19
.quad .LFB1
.quad .LFE1
.long .LLST1
.byte 0x1
.uleb128 0x4
.byte 0x1
.long .LASF5
.byte 0x1
.byte 0x1f
.long 0x88
.quad .LFB2
.quad .LFE2
.long .LLST2
.byte 0x1
.uleb128 0x5
.byte 0x4
.byte 0x5
.string "int"
.byte 0
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.uleb128 0x1
.uleb128 0x11
.byte 0x1
.uleb128 0x25
.uleb128 0xe
.uleb128 0x13
.uleb128 0xb
.uleb128 0x3
.uleb128 0xe
.uleb128 0x1b
.uleb128 0xe
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x1
.uleb128 0x10
.uleb128 0x6
.byte 0
.byte 0
.uleb128 0x2
.uleb128 0x2e
.byte 0
.uleb128 0x3f
.uleb128 0xc
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x1
.uleb128 0x40
.uleb128 0x6
.uleb128 0x2117
.uleb128 0xc
.byte 0
.byte 0
.uleb128 0x3
.uleb128 0x2e
.byte 0
.uleb128 0x3f
.uleb128 0xc
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x1
.uleb128 0x40
.uleb128 0x6
.uleb128 0x2116
.uleb128 0xc
.byte 0
.byte 0
.uleb128 0x4
.uleb128 0x2e
.byte 0
.uleb128 0x3f
.uleb128 0xc
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x1
.uleb128 0x40
.uleb128 0x6
.uleb128 0x2116
.uleb128 0xc
.byte 0
.byte 0
.uleb128 0x5
.uleb128 0x24
.byte 0
.uleb128 0xb
.uleb128 0xb
.uleb128 0x3e
.uleb128 0xb
.uleb128 0x3
.uleb128 0x8
.byte 0
.byte 0
.byte 0
.section .debug_loc,"",@progbits
.Ldebug_loc0:
.LLST0:
.quad .LFB0-.Ltext0
.quad .LCFI0-.Ltext0
.value 0x2
.byte 0x77
.sleb128 8
.quad .LCFI0-.Ltext0
.quad .LCFI1-.Ltext0
.value 0x2
.byte 0x77
.sleb128 16
.quad .LCFI1-.Ltext0
.quad .LCFI2-.Ltext0
.value 0x2
.byte 0x76
.sleb128 16
.quad .LCFI2-.Ltext0
.quad .LFE0-.Ltext0
.value 0x2
.byte 0x77
.sleb128 8
.quad 0
.quad 0
.LLST1:
.quad .LFB1-.Ltext0
.quad .LCFI3-.Ltext0
.value 0x2
.byte 0x77
.sleb128 8
.quad .LCFI3-.Ltext0
.quad .LCFI4-.Ltext0
.value 0x2
.byte 0x77
.sleb128 16
.quad .LCFI4-.Ltext0
.quad .LCFI5-.Ltext0
.value 0x2
.byte 0x76
.sleb128 16
.quad .LCFI5-.Ltext0
.quad .LFE1-.Ltext0
.value 0x2
.byte 0x77
.sleb128 8
.quad 0
.quad 0
.LLST2:
.quad .LFB2-.Ltext0
.quad .LCFI6-.Ltext0
.value 0x2
.byte 0x77
.sleb128 8
.quad .LCFI6-.Ltext0
.quad .LCFI7-.Ltext0
.value 0x2
.byte 0x77
.sleb128 16
.quad .LCFI7-.Ltext0
.quad .LCFI8-.Ltext0
.value 0x2
.byte 0x76
.sleb128 16
.quad .LCFI8-.Ltext0
.quad .LFE2-.Ltext0
.value 0x2
.byte 0x77
.sleb128 8
.quad 0
.quad 0
.section .debug_aranges,"",@progbits
.long 0x2c
.value 0x2
.long .Ldebug_info0
.byte 0x8
.byte 0
.value 0
.value 0
.quad .Ltext0
.quad .Letext0-.Ltext0
.quad 0
.quad 0
.section .debug_line,"",@progbits
.Ldebug_line0:
.section .debug_str,"MS",@progbits,1
.LASF0:
.string "stop_frame"
.LASF3:
.string "dw2-reg-undefined.c"
.LASF2:
.string "GNU C 4.7.2"
.LASF1:
.string "first_frame"
.LASF5:
.string "main"
.LASF4:
.string "/home/username/src/gdb/testsuite/gdb.dwarf2"
.ident "GCC: (GNU) 4.7.2"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 11,419
|
gdb/testsuite/gdb.dwarf2/dw2-noloc.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2007-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.data
.globl file_locaddr_resolvable
file_locaddr_resolvable:
.globl file_locempty_resolvable
file_locempty_resolvable:
.globl file_locno_resolvable
file_locno_resolvable:
.globl file_extern_locaddr_resolvable
file_extern_locaddr_resolvable:
.globl file_extern_locempty_resolvable
file_extern_locempty_resolvable:
.globl file_extern_locno_resolvable
file_extern_locno_resolvable:
.globl main_local_locaddr_resolvable
main_local_locaddr_resolvable:
.globl main_local_locempty_resolvable
main_local_locempty_resolvable:
.globl main_local_locno_resolvable
main_local_locno_resolvable:
.globl main_extern_locaddr_resolvable
main_extern_locaddr_resolvable:
.globl main_extern_locno_resolvable
main_extern_locno_resolvable:
.globl main_extern_locempty_resolvable
main_extern_locempty_resolvable:
resolvable:
.4byte 1234567890
/* Debug information */
.section .debug_info
.Lcu1_begin:
/* CU header */
.4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */
.Lcu1_start:
.2byte 2 /* DWARF Version */
.4byte .Labbrev1_begin /* Offset into abbrev section */
.byte 4 /* Pointer size */
/* CU die */
.uleb128 1 /* Abbrev: DW_TAG_compile_unit */
.4byte cu_text_end /* DW_AT_high_pc */
.4byte cu_text_start /* DW_AT_low_pc */
.ascii "file1.txt\0" /* DW_AT_name */
.ascii "GNU C 3.3.3\0" /* DW_AT_producer */
.byte 1 /* DW_AT_language (C) */
.Ltype_int:
.uleb128 3 /* Abbrev: DW_TAG_base_type */
.ascii "int\0" /* DW_AT_name */
.byte 4 /* DW_AT_byte_size */
.byte 5 /* DW_AT_encoding */
.uleb128 7 /* Abbrev: DW_TAG_variable (location) */
.ascii "file_locaddr_resolvable\0" /* DW_AT_name */
.byte 2f - 1f /* DW_AT_location */
1: .byte 3 /* DW_OP_addr */
.4byte resolvable /* <addr> */
2: .4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.uleb128 7 /* Abbrev: DW_TAG_variable (location) */
.ascii "file_locaddr_unresolvable\0" /* DW_AT_name */
.byte 2f - 1f /* DW_AT_location */
1: .byte 3 /* DW_OP_addr */
.4byte resolvable /* <addr> */
2: .4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.uleb128 7 /* Abbrev: DW_TAG_variable (location) */
.ascii "file_locempty_resolvable\0" /* DW_AT_name */
.byte 0 /* DW_AT_location */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.uleb128 7 /* Abbrev: DW_TAG_variable (location) */
.ascii "file_locempty_unresolvable\0" /* DW_AT_name */
.byte 0 /* DW_AT_location */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.uleb128 5 /* Abbrev: DW_TAG_variable (bare) */
.ascii "file_locno_resolvable\0" /* DW_AT_name */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.uleb128 5 /* Abbrev: DW_TAG_variable (bare) */
.ascii "file_locno_unresolvable\0" /* DW_AT_name */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.uleb128 8 /* Abbrev: DW_TAG_variable (location+extern) */
.ascii "file_extern_locaddr_resolvable\0" /* DW_AT_name */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.byte 2f - 1f /* DW_AT_location */
1: .byte 3 /* DW_OP_addr */
.4byte resolvable /* <addr> */
2: .byte 1 /* DW_AT_external */
.uleb128 8 /* Abbrev: DW_TAG_variable (location+extern) */
.ascii "file_extern_locaddr_unresolvable\0" /* DW_AT_name */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.byte 2f - 1f /* DW_AT_location */
1: .byte 3 /* DW_OP_addr */
.4byte resolvable /* <addr> */
2: .byte 1 /* DW_AT_external */
.uleb128 8 /* Abbrev: DW_TAG_variable (location+extern) */
.ascii "file_extern_locempty_resolvable\0" /* DW_AT_name */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.byte 0 /* DW_AT_location */
.byte 1 /* DW_AT_external */
.uleb128 8 /* Abbrev: DW_TAG_variable (location+extern) */
.ascii "file_extern_locempty_unresolvable\0" /* DW_AT_name */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.byte 0 /* DW_AT_location */
.byte 1 /* DW_AT_external */
.uleb128 4 /* Abbrev: DW_TAG_variable (extern) */
.ascii "file_extern_locno_resolvable\0" /* DW_AT_name */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.byte 1 /* DW_AT_external */
.uleb128 4 /* Abbrev: DW_TAG_variable (extern) */
.ascii "file_extern_locno_unresolvable\0" /* DW_AT_name */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.byte 1 /* DW_AT_external */
/* main */
.uleb128 6 /* Abbrev: DW_TAG_subprogram */
.byte 1 /* DW_AT_decl_file */
.byte 2 /* DW_AT_decl_line */
.ascii "main\0" /* DW_AT_name */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.4byte cu_text_start /* DW_AT_low_pc */
.4byte cu_text_end /* DW_AT_high_pc */
.uleb128 7 /* Abbrev: DW_TAG_variable (location) */
.ascii "main_local_locaddr_resolvable\0" /* DW_AT_name */
.byte 2f - 1f /* DW_AT_location */
1: .byte 3 /* DW_OP_addr */
.4byte resolvable /* <addr> */
2: .4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.uleb128 7 /* Abbrev: DW_TAG_variable (location) */
.ascii "main_local_locaddr_unresolvable\0" /* DW_AT_name */
.byte 2f - 1f /* DW_AT_location */
1: .byte 3 /* DW_OP_addr */
.4byte resolvable /* <addr> */
2: .4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.uleb128 7 /* Abbrev: DW_TAG_variable (location) */
.ascii "main_local_locempty_resolvable\0" /* DW_AT_name */
.byte 0 /* DW_AT_location */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.uleb128 7 /* Abbrev: DW_TAG_variable (location) */
.ascii "main_local_locempty_unresolvable\0" /* DW_AT_name */
.byte 0 /* DW_AT_location */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.uleb128 5 /* Abbrev: DW_TAG_variable (bare) */
.ascii "main_local_locno_resolvable\0" /* DW_AT_name */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.uleb128 5 /* Abbrev: DW_TAG_variable (bare) */
.ascii "main_local_locno_unresolvable\0" /* DW_AT_name */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.uleb128 8 /* Abbrev: DW_TAG_variable (location+extern) */
.ascii "main_extern_locaddr_resolvable\0" /* DW_AT_name */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.byte 2f - 1f /* DW_AT_location */
1: .byte 3 /* DW_OP_addr */
.4byte resolvable /* <addr> */
2: .byte 1 /* DW_AT_external */
.uleb128 8 /* Abbrev: DW_TAG_variable (location+extern) */
.ascii "main_extern_locaddr_unresolvable\0" /* DW_AT_name */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.byte 2f - 1f /* DW_AT_location */
1: .byte 3 /* DW_OP_addr */
.4byte resolvable /* <addr> */
2: .byte 1 /* DW_AT_external */
.uleb128 8 /* Abbrev: DW_TAG_variable (location+extern) */
.ascii "main_extern_locempty_resolvable\0" /* DW_AT_name */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.byte 0 /* DW_AT_location */
.byte 1 /* DW_AT_external */
.uleb128 8 /* Abbrev: DW_TAG_variable (location+extern) */
.ascii "main_extern_locempty_unresolvable\0" /* DW_AT_name */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.byte 0 /* DW_AT_location */
.byte 1 /* DW_AT_external */
.uleb128 4 /* Abbrev: DW_TAG_variable (extern) */
.ascii "main_extern_locno_resolvable\0" /* DW_AT_name */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.byte 1 /* DW_AT_external */
.uleb128 4 /* Abbrev: DW_TAG_variable (extern) */
.ascii "main_extern_locno_unresolvable\0" /* DW_AT_name */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.byte 1 /* DW_AT_external */
.byte 0 /* End of children of main */
.byte 0 /* End of children of CU */
.Lcu1_end:
/* Abbrev table */
.section .debug_abbrev
.Labbrev1_begin:
.uleb128 1 /* Abbrev code */
.uleb128 0x11 /* DW_TAG_compile_unit */
.byte 1 /* has_children */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x25 /* DW_AT_producer */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x13 /* DW_AT_language */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 3 /* Abbrev code */
.uleb128 0x24 /* DW_TAG_base_type */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0xb /* DW_AT_byte_size */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3e /* DW_AT_encoding */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 4 /* Abbrev code (extern) */
.uleb128 0x34 /* DW_TAG_variable */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x3f /* DW_AT_external */
.uleb128 0xc /* DW_FORM_flag */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 5 /* Abbrev code (bare) */
.uleb128 0x34 /* DW_TAG_variable */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 6 /* Abbrev code */
.uleb128 0x2e /* DW_TAG_subprogram */
.byte 1 /* has_children */
.uleb128 0x3a /* DW_AT_decl_file */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3b /* DW_AT_decl_line */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 7 /* Abbrev code (location) */
.uleb128 0x34 /* DW_TAG_variable */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x2 /* DW_AT_location */
.uleb128 0xa /* DW_FORM_block1 */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 8 /* Abbrev code (location+extern) */
.uleb128 0x34 /* DW_TAG_variable */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x2 /* DW_AT_location */
.uleb128 0xa /* DW_FORM_block1 */
.uleb128 0x3f /* DW_AT_external */
.uleb128 0xc /* DW_FORM_flag */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
|
stsp/binutils-ia16
| 10,833
|
gdb/testsuite/gdb.dwarf2/fission-base.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2012-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
This file was created by doing:
gcc -gdwarf-4 -gsplit-debug -S -dA fission-base.c
and then massaging the output.
*/
.file "fission-base.c"
.text
.Ltext0:
.globl func
.type func, @function
func:
.LFB0:
.file 1 "fission-base.c"
# fission-base.c:20
.loc 1 20 0
.cfi_startproc
pushq %rbp #
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp #,
.cfi_def_cfa_register 6
movl %edi, -4(%rbp) # arg, arg
# fission-base.c:21
.loc 1 21 0
movl -4(%rbp), %eax # arg, tmp61
addl $1, %eax #, D.1617
# fission-base.c:22
.loc 1 22 0
popq %rbp #
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size func, .-func
.globl main
.type main, @function
main:
.LFB1:
# fission-base.c:26
.loc 1 26 0
.cfi_startproc
pushq %rbp #
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp #,
.cfi_def_cfa_register 6
# fission-base.c:27
.loc 1 27 0
movl $-1, %edi #,
call func #
# fission-base.c:28
.loc 1 28 0
popq %rbp #
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE1:
.size main, .-main
.Letext0:
.section .debug_info.dwo,"e",@progbits
.Ldebug_info0:
.4byte .Ldebug_info0_end - .Ldebug_info0 - 4 # Length of Compilation Unit Info
.2byte 0x4 # DWARF version number
.4byte .Ldebug_abbrev0 # Offset Into Abbrev. Section
.byte 0x8 # Pointer Size (in bytes)
.uleb128 0x1 # (DIE (0xb) DW_TAG_compile_unit)
.ascii "GNU C 4.6.x-fission\0" # DW_AT_producer
.byte 0x1 # DW_AT_language
.ascii "fission-base.c\0" # DW_AT_name
.ascii "/tmp/src/gdb/testsuite\0" # DW_AT_comp_dir
.byte 1 # DW_AT_GNU_dwo_id
.byte 2
.byte 3
.byte 4
.byte 5
.byte 6
.byte 7
.byte 8
.uleb128 0x2 # (DIE (0x89) DW_TAG_subprogram)
# DW_AT_external
.ascii "func\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (fission-base.c)
.byte 0x13 # DW_AT_decl_line
# DW_AT_prototyped
.4byte .Ldebug_info0_int - .Ldebug_info0 # DW_AT_type
.4byte 0x0 # DW_AT_ranges
.uleb128 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
.4byte .Ldebug_info0_int - .Ldebug_info0 # DW_AT_sibling
.uleb128 0x3 # (DIE (0xa4) DW_TAG_formal_parameter)
.ascii "arg\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (fission-base.c)
.byte 0x13 # DW_AT_decl_line
.4byte .Ldebug_info0_int - .Ldebug_info0 # DW_AT_type
.uleb128 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 -20
.byte 0 # end of children of DIE 0x89
.Ldebug_info0_int:
.uleb128 0x4 # (DIE (0xb3) DW_TAG_base_type)
.byte 0x4 # DW_AT_byte_size
.byte 0x5 # DW_AT_encoding
.ascii "int\0" # DW_AT_name
.uleb128 0x5 # (DIE (0xba) DW_TAG_subprogram)
# DW_AT_external
.ascii "main\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (fission-base.c)
.byte 0x19 # DW_AT_decl_line
.4byte .Ldebug_info0_int - .Ldebug_info0 # DW_AT_type
.uleb128 0x1 # DW_AT_low_pc
.8byte .LFE1-.LFB1 # DW_AT_high_pc
.uleb128 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
.byte 0 # end of children of DIE 0xb
.Ldebug_info0_end:
.section .debug_info,"",@progbits
.Lskeleton_debug_info0:
.4byte .Lskeleton_debug_info0_end - .Lskeleton_debug_info0 - 4 # Length of Compilation Unit Info
.2byte 0x4 # DWARF version number
.4byte .Lskeleton_debug_abbrev0 # Offset Into Abbrev. Section
.byte 0x8 # Pointer Size (in bytes)
.uleb128 0x1 # (DIE (0) DW_TAG_compile_unit)
.8byte .Ltext0 # DW_AT_low_pc
.8byte .Letext0-.Ltext0 # DW_AT_high_pc
.4byte .Ldebug_line0 # DW_AT_stmt_list
.ascii "/tmp/src/gdb/testsuite\0" # DW_AT_comp_dir
.asciz DWO # DW_AT_GNU_dwo_name
.4byte .Ldebug_pubnames0 # DW_AT_GNU_pubnames
.4byte .Ldebug_pubtypes0 # DW_AT_GNU_pubtypes
.4byte .Ldebug_addr0_begin # DW_AT_GNU_addr_base
.4byte .Ldebug_ranges0_begin # DW_AT_GNU_ranges_base
.byte 1 # DW_AT_GNU_dwo_id
.byte 2
.byte 3
.byte 4
.byte 5
.byte 6
.byte 7
.byte 8
.Lskeleton_debug_info0_end:
.section .debug_abbrev,"",@progbits
.Lskeleton_debug_abbrev0:
.uleb128 0x1 # (abbrev code)
.uleb128 0x11 # (TAG: DW_TAG_compile_unit)
.byte 0 # DW_children_no
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x7 # (DW_FORM_data8)
.uleb128 0x10 # (DW_AT_stmt_list)
.uleb128 0x17 # (DW_FORM_sec_offset)
.uleb128 0x1b # (DW_AT_comp_dir)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x2130 # (DW_AT_GNU_dwo_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x2134 # (DW_AT_GNU_pubnames)
.uleb128 0x17 # (DW_FORM_sec_offset)
.uleb128 0x2135 # (DW_AT_GNU_pubtypes)
.uleb128 0x17 # (DW_FORM_sec_offset)
.uleb128 0x2133 # (DW_AT_GNU_addr_base)
.uleb128 0x17 # (DW_FORM_sec_offset)
.uleb128 0x2132 # (DW_AT_GNU_ranges_base)
.uleb128 0x17 # (DW_FORM_sec_offset)
.uleb128 0x2131 # (DW_AT_GNU_dwo_id)
.uleb128 0x7 # (DW_FORM_data8)
.byte 0
.byte 0
.byte 0 # end of skeleton .debug_abbrev
.section .debug_abbrev.dwo,"e",@progbits
.Ldebug_abbrev0:
.uleb128 0x1 # (abbrev code)
.uleb128 0x11 # (TAG: DW_TAG_compile_unit)
.byte 0x1 # DW_children_yes
.uleb128 0x25 # (DW_AT_producer)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x13 # (DW_AT_language)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x1b # (DW_AT_comp_dir)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x2131 # (DW_AT_GNU_dwo_id)
.uleb128 0x7 # (DW_FORM_data8)
.byte 0
.byte 0
.uleb128 0x2 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x27 # (DW_AT_prototyped)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x55 # (DW_AT_ranges)
.uleb128 0x17 # (DW_FORM_sec_offset)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x3 # (abbrev code)
.uleb128 0x5 # (TAG: DW_TAG_formal_parameter)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.uleb128 0x4 # (abbrev code)
.uleb128 0x24 # (TAG: DW_TAG_base_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3e # (DW_AT_encoding)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.byte 0
.byte 0
.uleb128 0x5 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0 # DW_children_no
.uleb128 0x3f # (DW_AT_external)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1f01 # (DW_FORM_GNU_addr_index)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x7 # (DW_FORM_data8)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x18 # (DW_FORM_exprloc)
.byte 0
.byte 0
.byte 0
.section .debug_gnu_pubnames,"",@progbits
.Ldebug_pubnames0:
.long 0x22 # Pub Info Length
.value 0x2 # DWARF Version
.long .Lskeleton_debug_info0 # Offset of Compilation Unit Info
.long 0x59 # Compilation Unit Length
.long 0x18 # DIE offset
.byte 0x30 # GDB-index flags
.ascii "func\0" # external name
.long 0x45 # DIE offset
.byte 0x30 # GDB-index flags
.ascii "main\0" # external name
.long 0
.section .debug_gnu_pubtypes,"",@progbits
.Ldebug_pubtypes0:
.long 0x17 # Pub Info Length
.value 0x2 # DWARF Version
.long .Lskeleton_debug_info0 # Offset of Compilation Unit Info
.long 0x59 # Compilation Unit Length
.long 0x3e # DIE offset
.byte 0x90 # GDB-index flags
.ascii "int\0" # external name
.long 0
.section .debug_aranges,"",@progbits
.4byte 0x2c # Length of Address Ranges Info
.2byte 0x2 # DWARF Version
.4byte .Lskeleton_debug_info0 # Offset of Compilation Unit Info
.byte 0x8 # Size of Address
.byte 0 # Size of Segment Descriptor
.2byte 0 # Pad to 16 byte boundary
.2byte 0
.8byte .Ltext0 # Address
.8byte .Letext0-.Ltext0 # Length
.8byte 0
.8byte 0
.section .debug_line,"",@progbits
.Ldebug_line0:
.section .debug_line.dwo,"e",@progbits
.Lskeleton_debug_line0:
.4byte .LELT0-.LSLT0 # Length of Source Line Info
.LSLT0:
.2byte 0x4 # DWARF Version
.4byte .LELTP0-.LASLTP0 # Prolog Length
.LASLTP0:
.byte 0x1 # Minimum Instruction Length
.byte 0x1 # Maximum Operations Per Instruction
.byte 0x1 # Default is_stmt_start flag
.byte 0xf6 # Line Base Value (Special Opcodes)
.byte 0xf5 # Line Range Value (Special Opcodes)
.byte 0xa # Special Opcode Base
.byte 0 # opcode: 0x1 has 0 args
.byte 0x1 # opcode: 0x2 has 1 args
.byte 0x1 # opcode: 0x3 has 1 args
.byte 0x1 # opcode: 0x4 has 1 args
.byte 0x1 # opcode: 0x5 has 1 args
.byte 0 # opcode: 0x6 has 0 args
.byte 0 # opcode: 0x7 has 0 args
.byte 0 # opcode: 0x8 has 0 args
.byte 0x1 # opcode: 0x9 has 1 args
.byte 0 # End directory table
.ascii "fission-base.c\0" # File Entry: 0x1
.uleb128 0
.uleb128 0
.uleb128 0
.byte 0 # End file name table
.LELTP0:
.LELT0:
.section .debug_addr,"",@progbits
.Ldebug_addr0:
# Shift the real entries down by a non-zero amount to test
# DW_AT_GNU_addr_base.
.8byte 0,0
.Ldebug_addr0_begin:
.8byte .LFB0 # DW_AT_low_pc
.8byte .LFB1 # DW_AT_low_pc
.section .debug_ranges,"",@progbits
.Ldebug_ranges0:
# Shift the real entries down by a non-zero amount to test
# DW_AT_GNU_ranges_base.
.8byte 0,0
.Ldebug_ranges0_begin:
# Note: Since the DW_TAG_compile_unit specifies low_pc, that sets
# the base address, and thus we have to subtract it here.
.8byte .LFB0 - .Ltext0 # Offset 0
.8byte .LFE0 - .Ltext0
.8byte 0
.8byte 0
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 23,777
|
gdb/testsuite/gdb.dwarf2/clztest.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2011-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This source file was generated from clztest.c using the following
command line:
gcc -dA -S -g -O2 clztest.c -o clztest.S
*/
.file "clztest.c"
.text
.Ltext0:
.p2align 4,,15
.globl foo
.type foo, @function
foo:
.LFB0:
# clztest.c:8
.LM1:
.LVL0:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
# clztest.c:9
.LM2:
bsrq %rdi, %rax
xorl $63, %eax
cltq
.LVL1:
# clztest.c:11
.LM3:
.LVL2:
# clztest.c:12
.LM4:
movl vv(%rip), %edx
addl $1, %edx
movl %edx, vv(%rip)
# SUCC: EXIT [100.0%]
# clztest.c:14
.LM5:
ret
.LFE0:
.size foo, .-foo
.p2align 4,,15
.globl bar
.type bar, @function
bar:
.LFB1:
# clztest.c:18
.LM6:
.LVL3:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
# clztest.c:19
.LM7:
bsrq %rdi, %rax
xorl $63, %eax
cltq
.LVL4:
# clztest.c:21
.LM8:
.LVL5:
# clztest.c:22
.LM9:
movl vv(%rip), %edx
addl $1, %edx
movl %edx, vv(%rip)
# SUCC: EXIT [100.0%]
# clztest.c:24
.LM10:
ret
.LFE1:
.size bar, .-bar
.section .text.startup,"ax",@progbits
.p2align 4,,15
.globl _start
.type _start, @function
_start:
.LFB2:
# clztest.c:28
.LM11:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
pushq %rbx
.LCFI0:
# clztest.c:29
.LM12:
movl vv(%rip), %ebx
.LVL6:
# clztest.c:30
.LM13:
movslq %ebx, %rbx
.LVL7:
leaq 1193046(%rbx), %rdi
call foo
.LVL8:
# clztest.c:31
.LM14:
leaq 2147483647(%rbx), %rdi
call bar
.LVL9:
# clztest.c:33
.LM15:
xorl %eax, %eax
popq %rbx
.LCFI1:
.LVL10:
# SUCC: EXIT [100.0%]
ret
.LFE2:
.size _start, .-_start
.comm vv,4,4
#APP
.section .debug_frame,"",@progbits
.Lframe0:
.long .LECIE0-.LSCIE0 # Length of Common Information Entry
.LSCIE0:
.long 0xffffffff # CIE Identifier Tag
.byte 0x1 # CIE Version
.ascii "\0" # CIE Augmentation
.uleb128 0x1 # CIE Code Alignment Factor
.sleb128 -8 # CIE Data Alignment Factor
.byte 0x10 # CIE RA Column
.byte 0xc # DW_CFA_def_cfa
.uleb128 0x7
.uleb128 0x8
.byte 0x90 # DW_CFA_offset, column 0x10
.uleb128 0x1
.align 8
.LECIE0:
.LSFDE0:
.long .LEFDE0-.LASFDE0 # FDE Length
.LASFDE0:
.long .Lframe0 # FDE CIE offset
.quad .LFB0 # FDE initial location
.quad .LFE0-.LFB0 # FDE address range
.align 8
.LEFDE0:
.LSFDE2:
.long .LEFDE2-.LASFDE2 # FDE Length
.LASFDE2:
.long .Lframe0 # FDE CIE offset
.quad .LFB1 # FDE initial location
.quad .LFE1-.LFB1 # FDE address range
.align 8
.LEFDE2:
.LSFDE4:
.long .LEFDE4-.LASFDE4 # FDE Length
.LASFDE4:
.long .Lframe0 # FDE CIE offset
.quad .LFB2 # FDE initial location
.quad .LFE2-.LFB2 # FDE address range
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI0-.LFB2
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x10
.byte 0x83 # DW_CFA_offset, column 0x3
.uleb128 0x2
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI1-.LCFI0
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x8
.align 8
.LEFDE4:
#NO_APP
#APP
.section .eh_frame,"aw",@progbits
.Lframe1:
.long .LECIE1-.LSCIE1 # Length of Common Information Entry
.LSCIE1:
.long 0 # CIE Identifier Tag
.byte 0x1 # CIE Version
.ascii "zR\0" # CIE Augmentation
.uleb128 0x1 # CIE Code Alignment Factor
.sleb128 -8 # CIE Data Alignment Factor
.byte 0x10 # CIE RA Column
.uleb128 0x1 # Augmentation size
.byte 0x3 # FDE Encoding (udata4)
.byte 0xc # DW_CFA_def_cfa
.uleb128 0x7
.uleb128 0x8
.byte 0x90 # DW_CFA_offset, column 0x10
.uleb128 0x1
.align 8
.LECIE1:
.LSFDE7:
.long .LEFDE7-.LASFDE7 # FDE Length
.LASFDE7:
.long .LASFDE7-.Lframe1 # FDE CIE offset
.long .LFB0 # FDE initial location
.long .LFE0-.LFB0 # FDE address range
.uleb128 0 # Augmentation size
.align 8
.LEFDE7:
.LSFDE9:
.long .LEFDE9-.LASFDE9 # FDE Length
.LASFDE9:
.long .LASFDE9-.Lframe1 # FDE CIE offset
.long .LFB1 # FDE initial location
.long .LFE1-.LFB1 # FDE address range
.uleb128 0 # Augmentation size
.align 8
.LEFDE9:
.LSFDE11:
.long .LEFDE11-.LASFDE11 # FDE Length
.LASFDE11:
.long .LASFDE11-.Lframe1 # FDE CIE offset
.long .LFB2 # FDE initial location
.long .LFE2-.LFB2 # FDE address range
.uleb128 0 # Augmentation size
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI0-.LFB2
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x10
.byte 0x83 # DW_CFA_offset, column 0x3
.uleb128 0x2
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI1-.LCFI0
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x8
.align 8
.LEFDE11:
#NO_APP
.text
.Letext0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.long 0x15a # Length of Compilation Unit Info
.value 0x2 # DWARF version number
.long .Ldebug_abbrev0 # Offset Into Abbrev. Section
.byte 0x8 # Pointer Size (in bytes)
.uleb128 0x1 # (DIE (0xb) DW_TAG_compile_unit)
.long .LASF1 # DW_AT_producer: "GNU C 4.7.0 20110511 (experimental)"
.byte 0x1 # DW_AT_language
.long .LASF2 # DW_AT_name: "clztest.c"
.long .LASF3 # DW_AT_comp_dir: "/usr/src/gcc/obj/gcc"
.long .Ldebug_ranges0+0 # DW_AT_ranges
.quad 0 # DW_AT_low_pc
.quad 0 # DW_AT_entry_pc
.long .Ldebug_line0 # DW_AT_stmt_list
.uleb128 0x2 # (DIE (0x31) DW_TAG_subprogram)
.byte 0x1 # DW_AT_external
.ascii "foo\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (clztest.c)
.byte 0x7 # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.long 0x7a # DW_AT_type
.quad .LFB0 # DW_AT_low_pc
.quad .LFE0 # DW_AT_high_pc
.byte 0x2 # DW_AT_frame_base
.byte 0x77 # DW_OP_breg7
.sleb128 8
.byte 0x1 # DW_AT_GNU_all_call_sites
.long 0x7a # DW_AT_sibling
.uleb128 0x3 # (DIE (0x56) DW_TAG_formal_parameter)
.ascii "x\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (clztest.c)
.byte 0x7 # DW_AT_decl_line
.long 0x7a # DW_AT_type
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.uleb128 0x4 # (DIE (0x61) DW_TAG_variable)
.ascii "f\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (clztest.c)
.byte 0x9 # DW_AT_decl_line
.long 0x7a # DW_AT_type
.byte 0x1 # DW_AT_location
.byte 0x50 # DW_OP_reg0
.uleb128 0x5 # (DIE (0x6c) DW_TAG_variable)
.ascii "g\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (clztest.c)
.byte 0xa # DW_AT_decl_line
.long 0x7a # DW_AT_type
.long .LLST0 # DW_AT_location
.byte 0 # end of children of DIE 0x31
.uleb128 0x6 # (DIE (0x7a) DW_TAG_base_type)
.byte 0x8 # DW_AT_byte_size
.byte 0x5 # DW_AT_encoding
.long .LASF0 # DW_AT_name: "long int"
.uleb128 0x2 # (DIE (0x81) DW_TAG_subprogram)
.byte 0x1 # DW_AT_external
.ascii "bar\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (clztest.c)
.byte 0x11 # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.long 0x7a # DW_AT_type
.quad .LFB1 # DW_AT_low_pc
.quad .LFE1 # DW_AT_high_pc
.byte 0x2 # DW_AT_frame_base
.byte 0x77 # DW_OP_breg7
.sleb128 8
.byte 0x1 # DW_AT_GNU_all_call_sites
.long 0xca # DW_AT_sibling
.uleb128 0x3 # (DIE (0xa6) DW_TAG_formal_parameter)
.ascii "x\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (clztest.c)
.byte 0x11 # DW_AT_decl_line
.long 0x7a # DW_AT_type
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.uleb128 0x4 # (DIE (0xb1) DW_TAG_variable)
.ascii "f\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (clztest.c)
.byte 0x13 # DW_AT_decl_line
.long 0x7a # DW_AT_type
.byte 0x1 # DW_AT_location
.byte 0x50 # DW_OP_reg0
.uleb128 0x5 # (DIE (0xbc) DW_TAG_variable)
.ascii "g\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (clztest.c)
.byte 0x14 # DW_AT_decl_line
.long 0x7a # DW_AT_type
.long .LLST1 # DW_AT_location
.byte 0 # end of children of DIE 0x81
.uleb128 0x7 # (DIE (0xca) DW_TAG_subprogram)
.byte 0x1 # DW_AT_external
.long .LASF4 # DW_AT_name: "main"
.byte 0x1 # DW_AT_decl_file (clztest.c)
.byte 0x1b # DW_AT_decl_line
.long 0x130 # DW_AT_type
.quad .LFB2 # DW_AT_low_pc
.quad .LFE2 # DW_AT_high_pc
.long .LLST2 # DW_AT_frame_base
.byte 0x1 # DW_AT_GNU_all_call_sites
.long 0x130 # DW_AT_sibling
.uleb128 0x5 # (DIE (0xef) DW_TAG_variable)
.ascii "x\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (clztest.c)
.byte 0x1d # DW_AT_decl_line
.long 0x7a # DW_AT_type
.long .LLST3 # DW_AT_location
.uleb128 0x8 # (DIE (0xfc) DW_TAG_GNU_call_site)
.quad .LVL8 # DW_AT_low_pc
.long 0x31 # DW_AT_abstract_origin
.long 0x117 # DW_AT_sibling
.uleb128 0x9 # (DIE (0x10d) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0x5 # DW_AT_GNU_call_site_value
.byte 0x73 # DW_OP_breg3
.sleb128 1193046
.byte 0 # end of children of DIE 0xfc
.uleb128 0xa # (DIE (0x117) DW_TAG_GNU_call_site)
.quad .LVL9 # DW_AT_low_pc
.long 0x81 # DW_AT_abstract_origin
.uleb128 0x9 # (DIE (0x124) DW_TAG_GNU_call_site_parameter)
.byte 0x1 # DW_AT_location
.byte 0x55 # DW_OP_reg5
.byte 0x6 # DW_AT_GNU_call_site_value
.byte 0x73 # DW_OP_breg3
.sleb128 2147483647
.byte 0 # end of children of DIE 0x117
.byte 0 # end of children of DIE 0xca
.uleb128 0xb # (DIE (0x130) DW_TAG_base_type)
.byte 0x4 # DW_AT_byte_size
.byte 0x5 # DW_AT_encoding
.ascii "int\0" # DW_AT_name
.uleb128 0xc # (DIE (0x137) DW_TAG_variable)
.ascii "vv\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (clztest.c)
.byte 0x4 # DW_AT_decl_line
.long 0x143 # DW_AT_type
.byte 0x1 # DW_AT_external
.byte 0x1 # DW_AT_declaration
.uleb128 0xd # (DIE (0x143) DW_TAG_volatile_type)
.long 0x130 # DW_AT_type
.uleb128 0xe # (DIE (0x148) DW_TAG_variable)
.ascii "vv\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (clztest.c)
.byte 0x4 # DW_AT_decl_line
.long 0x143 # DW_AT_type
.byte 0x1 # DW_AT_external
.byte 0x9 # DW_AT_location
.byte 0x3 # DW_OP_addr
.quad vv
.byte 0 # end of children of DIE 0xb
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.uleb128 0x1 # (abbrev code)
.uleb128 0x11 # (TAG: DW_TAG_compile_unit)
.byte 0x1 # DW_children_yes
.uleb128 0x25 # (DW_AT_producer)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x13 # (DW_AT_language)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x1b # (DW_AT_comp_dir)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x55 # (DW_AT_ranges)
.uleb128 0x6 # (DW_FORM_data4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x52 # (DW_AT_entry_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x10 # (DW_AT_stmt_list)
.uleb128 0x6 # (DW_FORM_data4)
.byte 0
.byte 0
.uleb128 0x2 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x27 # (DW_AT_prototyped)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0xa # (DW_FORM_block1)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x3 # (abbrev code)
.uleb128 0x5 # (TAG: DW_TAG_formal_parameter)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0xa # (DW_FORM_block1)
.byte 0
.byte 0
.uleb128 0x4 # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0xa # (DW_FORM_block1)
.byte 0
.byte 0
.uleb128 0x5 # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x6 # (DW_FORM_data4)
.byte 0
.byte 0
.uleb128 0x6 # (abbrev code)
.uleb128 0x24 # (TAG: DW_TAG_base_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3e # (DW_AT_encoding)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.byte 0
.byte 0
.uleb128 0x7 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x6 # (DW_FORM_data4)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x8 # (abbrev code)
.uleb128 0x4109 # (TAG: DW_TAG_GNU_call_site)
.byte 0x1 # DW_children_yes
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x31 # (DW_AT_abstract_origin)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x9 # (abbrev code)
.uleb128 0x410a # (TAG: DW_TAG_GNU_call_site_parameter)
.byte 0 # DW_children_no
.uleb128 0x2 # (DW_AT_location)
.uleb128 0xa # (DW_FORM_block1)
.uleb128 0x2111 # (DW_AT_GNU_call_site_value)
.uleb128 0xa # (DW_FORM_block1)
.byte 0
.byte 0
.uleb128 0xa # (abbrev code)
.uleb128 0x4109 # (TAG: DW_TAG_GNU_call_site)
.byte 0x1 # DW_children_yes
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x31 # (DW_AT_abstract_origin)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0xb # (abbrev code)
.uleb128 0x24 # (TAG: DW_TAG_base_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3e # (DW_AT_encoding)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.byte 0
.byte 0
.uleb128 0xc # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x3f # (DW_AT_external)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x3c # (DW_AT_declaration)
.uleb128 0xc # (DW_FORM_flag)
.byte 0
.byte 0
.uleb128 0xd # (abbrev code)
.uleb128 0x35 # (TAG: DW_TAG_volatile_type)
.byte 0 # DW_children_no
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0xe # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x3f # (DW_AT_external)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0xa # (DW_FORM_block1)
.byte 0
.byte 0
.byte 0
.section .debug_loc,"",@progbits
.Ldebug_loc0:
.LLST0:
.quad .LVL1 # Location list begin address (*.LLST0)
.quad .LVL2 # Location list end address (*.LLST0)
.value 0x1 # Location expression size
.byte 0x50 # DW_OP_reg0
.quad .LVL2 # Location list begin address (*.LLST0)
.quad .LFE0 # Location list end address (*.LLST0)
.value 0x36 # Location expression size
.byte 0x8 # DW_OP_const1u
.byte 0x3f
.byte 0x75 # DW_OP_breg5
.sleb128 0
.byte 0x12 # DW_OP_dup
.byte 0x28 # DW_OP_bra
.value 0x6
.byte 0x13 # DW_OP_drop
.byte 0x8 # DW_OP_const1u
.byte 0x40
.byte 0x2f # DW_OP_skip
.value 0x1c
.byte 0x30 # DW_OP_lit0
.byte 0x16 # DW_OP_swap
.byte 0x12 # DW_OP_dup
.byte 0x10 # DW_OP_constu
.uleb128 0x8000000000000000
.byte 0x1a # DW_OP_and
.byte 0x28 # DW_OP_bra
.value 0x9
.byte 0x31 # DW_OP_lit1
.byte 0x24 # DW_OP_shl
.byte 0x16 # DW_OP_swap
.byte 0x23 # DW_OP_plus_uconst
.uleb128 0x1
.byte 0x16 # DW_OP_swap
.byte 0x2f # DW_OP_skip
.value 0xffe7
.byte 0x13 # DW_OP_drop
.byte 0x96 # DW_OP_nop
.byte 0x1c # DW_OP_minus
.byte 0x8 # DW_OP_const1u
.byte 0x3f
.byte 0x27 # DW_OP_xor
.byte 0x8 # DW_OP_const1u
.byte 0x20
.byte 0x24 # DW_OP_shl
.byte 0x8 # DW_OP_const1u
.byte 0x20
.byte 0x26 # DW_OP_shra
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST0)
.quad 0 # Location list terminator end (*.LLST0)
.LLST1:
.quad .LVL4 # Location list begin address (*.LLST1)
.quad .LVL5 # Location list end address (*.LLST1)
.value 0x1 # Location expression size
.byte 0x50 # DW_OP_reg0
.quad .LVL5 # Location list begin address (*.LLST1)
.quad .LFE1 # Location list end address (*.LLST1)
.value 0x36 # Location expression size
.byte 0x8 # DW_OP_const1u
.byte 0x3f
.byte 0x75 # DW_OP_breg5
.sleb128 0
.byte 0x12 # DW_OP_dup
.byte 0x28 # DW_OP_bra
.value 0x6
.byte 0x13 # DW_OP_drop
.byte 0x8 # DW_OP_const1u
.byte 0x40
.byte 0x2f # DW_OP_skip
.value 0x1c
.byte 0x30 # DW_OP_lit0
.byte 0x16 # DW_OP_swap
.byte 0x12 # DW_OP_dup
.byte 0x10 # DW_OP_constu
.uleb128 0x8000000000000000
.byte 0x1a # DW_OP_and
.byte 0x28 # DW_OP_bra
.value 0x9
.byte 0x31 # DW_OP_lit1
.byte 0x24 # DW_OP_shl
.byte 0x16 # DW_OP_swap
.byte 0x23 # DW_OP_plus_uconst
.uleb128 0x1
.byte 0x16 # DW_OP_swap
.byte 0x2f # DW_OP_skip
.value 0xffe7
.byte 0x13 # DW_OP_drop
.byte 0x96 # DW_OP_nop
.byte 0x1c # DW_OP_minus
.byte 0x8 # DW_OP_const1u
.byte 0x3f
.byte 0x27 # DW_OP_xor
.byte 0x8 # DW_OP_const1u
.byte 0x20
.byte 0x24 # DW_OP_shl
.byte 0x8 # DW_OP_const1u
.byte 0x20
.byte 0x26 # DW_OP_shra
.byte 0x9f # DW_OP_stack_value
.quad 0 # Location list terminator begin (*.LLST1)
.quad 0 # Location list terminator end (*.LLST1)
.LLST2:
.quad .LFB2 # Location list begin address (*.LLST2)
.quad .LCFI0 # Location list end address (*.LLST2)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 8
.quad .LCFI0 # Location list begin address (*.LLST2)
.quad .LCFI1 # Location list end address (*.LLST2)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 16
.quad .LCFI1 # Location list begin address (*.LLST2)
.quad .LFE2 # Location list end address (*.LLST2)
.value 0x2 # Location expression size
.byte 0x77 # DW_OP_breg7
.sleb128 8
.quad 0 # Location list terminator begin (*.LLST2)
.quad 0 # Location list terminator end (*.LLST2)
.LLST3:
.quad .LVL6 # Location list begin address (*.LLST3)
.quad .LVL7 # Location list end address (*.LLST3)
.value 0x9 # Location expression size
.byte 0x73 # DW_OP_breg3
.sleb128 0
.byte 0x8 # DW_OP_const1u
.byte 0x20
.byte 0x24 # DW_OP_shl
.byte 0x8 # DW_OP_const1u
.byte 0x20
.byte 0x26 # DW_OP_shra
.byte 0x9f # DW_OP_stack_value
.quad .LVL7 # Location list begin address (*.LLST3)
.quad .LVL10 # Location list end address (*.LLST3)
.value 0x1 # Location expression size
.byte 0x53 # DW_OP_reg3
.quad 0 # Location list terminator begin (*.LLST3)
.quad 0 # Location list terminator end (*.LLST3)
.section .debug_aranges,"",@progbits
.long 0x3c # Length of Address Ranges Info
.value 0x2 # DWARF Version
.long .Ldebug_info0 # Offset of Compilation Unit Info
.byte 0x8 # Size of Address
.byte 0 # Size of Segment Descriptor
.value 0 # Pad to 16 byte boundary
.value 0
.quad .Ltext0 # Address
.quad .Letext0-.Ltext0 # Length
.quad .LFB2 # Address
.quad .LFE2-.LFB2 # Length
.quad 0
.quad 0
.section .debug_ranges,"",@progbits
.Ldebug_ranges0:
.quad .Ltext0 # Offset 0
.quad .Letext0
.quad .LFB2 # Offset 0x10
.quad .LFE2
.quad 0
.quad 0
.section .debug_line,"",@progbits
.Ldebug_line0:
.long .LELT0-.LSLT0 # Length of Source Line Info
.LSLT0:
.value 0x2 # DWARF Version
.long .LELTP0-.LASLTP0 # Prolog Length
.LASLTP0:
.byte 0x1 # Minimum Instruction Length
.byte 0x1 # Default is_stmt_start flag
.byte 0xf6 # Line Base Value (Special Opcodes)
.byte 0xf2 # Line Range Value (Special Opcodes)
.byte 0xd # Special Opcode Base
.byte 0 # opcode: 0x1 has 0 args
.byte 0x1 # opcode: 0x2 has 1 args
.byte 0x1 # opcode: 0x3 has 1 args
.byte 0x1 # opcode: 0x4 has 1 args
.byte 0x1 # opcode: 0x5 has 1 args
.byte 0 # opcode: 0x6 has 0 args
.byte 0 # opcode: 0x7 has 0 args
.byte 0 # opcode: 0x8 has 0 args
.byte 0x1 # opcode: 0x9 has 1 args
.byte 0 # opcode: 0xa has 0 args
.byte 0 # opcode: 0xb has 0 args
.byte 0x1 # opcode: 0xc has 1 args
.byte 0 # End directory table
.ascii "clztest.c\0" # File Entry: 0x1
.uleb128 0
.uleb128 0
.uleb128 0
.byte 0 # End file name table
.LELTP0:
.byte 0 # set address *.LM11
.uleb128 0x9
.byte 0x2
.quad .LM11
.byte 0x32 # line 28
.byte 0 # set address *.LM12
.uleb128 0x9
.byte 0x2
.quad .LM12
.byte 0x18 # line 29
.byte 0 # set address *.LM13
.uleb128 0x9
.byte 0x2
.quad .LM13
.byte 0x18 # line 30
.byte 0 # set address *.LM14
.uleb128 0x9
.byte 0x2
.quad .LM14
.byte 0x18 # line 31
.byte 0 # set address *.LM15
.uleb128 0x9
.byte 0x2
.quad .LM15
.byte 0x19 # line 33
.byte 0 # set address *.LFE2
.uleb128 0x9
.byte 0x2
.quad .LFE2
.byte 0 # end sequence
.uleb128 0x1
.byte 0x1
.byte 0 # set address *.LM1
.uleb128 0x9
.byte 0x2
.quad .LM1
.byte 0x1e # line 8
.byte 0 # set address *.LM2
.uleb128 0x9
.byte 0x2
.quad .LM2
.byte 0x18 # line 9
.byte 0 # set address *.LM3
.uleb128 0x9
.byte 0x2
.quad .LM3
.byte 0x19 # line 11
.byte 0 # set address *.LM4
.uleb128 0x9
.byte 0x2
.quad .LM4
.byte 0x18 # line 12
.byte 0 # set address *.LM5
.uleb128 0x9
.byte 0x2
.quad .LM5
.byte 0x19 # line 14
.byte 0 # set address *.LM6
.uleb128 0x9
.byte 0x2
.quad .LM6
.byte 0x1b # line 18
.byte 0 # set address *.LM7
.uleb128 0x9
.byte 0x2
.quad .LM7
.byte 0x18 # line 19
.byte 0 # set address *.LM8
.uleb128 0x9
.byte 0x2
.quad .LM8
.byte 0x19 # line 21
.byte 0 # set address *.LM9
.uleb128 0x9
.byte 0x2
.quad .LM9
.byte 0x18 # line 22
.byte 0 # set address *.LM10
.uleb128 0x9
.byte 0x2
.quad .LM10
.byte 0x19 # line 24
.byte 0 # set address *.Letext0
.uleb128 0x9
.byte 0x2
.quad .Letext0
.byte 0 # end sequence
.uleb128 0x1
.byte 0x1
.LELT0:
.section .debug_str,"MS",@progbits,1
.LASF1:
.string "GNU C 4.7.0 20110511 (experimental)"
.LASF3:
.string "/usr/src/gcc/obj/gcc"
.LASF0:
.string "long int"
.LASF4:
.string "main"
.LASF2:
.string "clztest.c"
.ident "GCC: (GNU) 4.7.0 20110511 (experimental)"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 10,708
|
gdb/testsuite/gdb.dwarf2/dw2-skip-prologue.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2011-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#if PTRBITS == 64
# define PTRBYTE .8byte
#elif PTRBITS == 32
# define PTRBYTE .4byte
#else
# error "Unsupported pointer size"
#endif
.section .debug_info
.Lcu1_begin:
/* CU header */
.4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */
.Lcu1_start:
.2byte 2 /* DWARF Version */
.4byte .Labbrev1_begin /* Offset into abbrev section */
.byte PTRBITS / 8 /* Pointer size */
/* CU die */
.uleb128 1 /* Abbrev: DW_TAG_compile_unit */
.4byte .Lline1_begin /* DW_AT_stmt_list */
PTRBYTE func_start /* DW_AT_low_pc */
PTRBYTE func_end /* DW_AT_high_pc */
.ascii "main.c\0" /* DW_AT_name */
.ascii "GNU C 4.5.0\0" /* DW_AT_producer must be >= 4.5 */
.byte 2 /* DW_AT_language (DW_LANG_C) */
.uleb128 2 /* Abbrev: DW_TAG_subprogram */
.byte 1 /* DW_AT_external */
.ascii "func\0" /* DW_AT_name */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
PTRBYTE func_start /* DW_AT_low_pc */
PTRBYTE func_end /* DW_AT_high_pc */
/* GDB `has_loclist' detection of -O2 -g code needs to see a DW_AT_location
location list. There may exist -O2 -g CUs still not needing/using any such
location list - exactly like this CU. Make one up. */
.uleb128 0x7 /* (DIE (0x42) DW_TAG_formal_parameter) */
.ascii "param\0" /* DW_AT_name */
.4byte .Ltype_int - .Lcu1_begin /* DW_AT_type */
.4byte loclist /* DW_AT_location */
.uleb128 4 /* Abbrev: DW_TAG_inlined_subroutine */
.ascii "inlined\0" /* DW_AT_name */
PTRBYTE func0 /* DW_AT_low_pc */
PTRBYTE func1 /* DW_AT_high_pc */
.byte 3 /* DW_AT_inline (DW_INL_declared_inlined) */
.byte 1 /* DW_AT_call_file */
.byte 8 /* DW_AT_call_line */
.uleb128 4 /* Abbrev: DW_TAG_inlined_subroutine */
.ascii "inlined2\0" /* DW_AT_name */
PTRBYTE func2 /* DW_AT_low_pc */
PTRBYTE func3 /* DW_AT_high_pc */
.byte 3 /* DW_AT_inline (DW_INL_declared_inlined) */
.byte 1 /* DW_AT_call_file */
.byte 11 /* DW_AT_call_line */
#ifdef INLINED
.uleb128 4 /* Abbrev: DW_TAG_inlined_subroutine */
.ascii "otherinline\0" /* DW_AT_name */
PTRBYTE func3 /* DW_AT_low_pc */
PTRBYTE func_end /* DW_AT_high_pc */
.byte 3 /* DW_AT_inline (DW_INL_declared_inlined) */
.byte 1 /* DW_AT_call_file */
.byte 9 /* DW_AT_call_line */
#endif
#ifdef LEXICAL
.uleb128 5 /* Abbrev: DW_TAG_lexical_block */
PTRBYTE func3 /* DW_AT_low_pc */
PTRBYTE func_end /* DW_AT_high_pc */
/* GDB would otherwise ignore the DW_TAG_lexical_block. */
.uleb128 6 /* Abbrev: DW_TAG_variable */
.ascii "lexicalvar\0" /* DW_AT_name */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.byte 0 /* End of children of DW_TAG_lexical_block */
#endif
.byte 0 /* End of children of DW_TAG_subprogram */
/* Simulate `fund' is also named `func' so that the function name matches and
fund's SAL is not discarded in expand_line_sal_maybe. */
.uleb128 2 /* Abbrev: DW_TAG_subprogram */
.byte 1 /* DW_AT_external */
.ascii "func\0" /* DW_AT_name */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
PTRBYTE fund_start /* DW_AT_low_pc */
PTRBYTE fund_end /* DW_AT_high_pc */
.byte 0 /* End of children of DW_TAG_subprogram */
.Ltype_int:
.uleb128 3 /* Abbrev: DW_TAG_base_type */
.ascii "int\0" /* DW_AT_name */
.byte 4 /* DW_AT_byte_size */
.byte 5 /* DW_AT_encoding */
.byte 0 /* End of children of CU */
.Lcu1_end:
.section .debug_loc
loclist:
/* Reset the location list base address first. */
PTRBYTE -1, 0
PTRBYTE func_start, func_end
.2byte 2f-1f
1: .byte 0x50 /* DW_OP_reg0 */
2:
/* Location list end. */
.4byte 0, 0
/* Abbrev table */
.section .debug_abbrev
.Labbrev1_begin:
.uleb128 1 /* Abbrev code */
.uleb128 0x11 /* DW_TAG_compile_unit */
.byte 1 /* has_children */
.uleb128 0x10 /* DW_AT_stmt_list */
.uleb128 0x6 /* DW_FORM_data4 */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x25 /* DW_AT_producer */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x13 /* DW_AT_language */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 2 /* Abbrev code */
.uleb128 0x2e /* DW_TAG_subprogram */
.byte 1 /* has_children */
.uleb128 0x3f /* DW_AT_external */
.uleb128 0xc /* DW_FORM_flag */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 3 /* Abbrev code */
.uleb128 0x24 /* DW_TAG_base_type */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0xb /* DW_AT_byte_size */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3e /* DW_AT_encoding */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 4 /* Abbrev code */
.uleb128 0x1d /* DW_TAG_inlined_subroutine */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x20 /* DW_AT_inline */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x58 /* DW_AT_call_file */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x59 /* DW_AT_call_line */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 5 /* Abbrev code */
.uleb128 0x0b /* DW_TAG_lexical_block */
.byte 1 /* has_children */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 6 /* Abbrev code */
.uleb128 0x34 /* DW_TAG_variable */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 0x7 /* (abbrev code) */
.uleb128 0x5 /* (TAG: DW_TAG_formal_parameter) */
.byte 0x0 /* DW_children_no */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x02 /* (DW_AT_location) */
.uleb128 0x06 /* (DW_FORM_data4) */
.byte 0x0
.byte 0x0
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
/* Line table */
.section .debug_line
.Lline1_begin:
.4byte .Lline1_end - .Lline1_start /* Initial length */
.Lline1_start:
.2byte 2 /* Version */
.4byte .Lline1_lines - .Lline1_hdr /* header_length */
.Lline1_hdr:
.byte 1 /* Minimum insn length */
.byte 1 /* default_is_stmt */
.byte 1 /* line_base */
.byte 1 /* line_range */
.byte 0x10 /* opcode_base */
/* Standard lengths */
.byte 0
.byte 1
.byte 1
.byte 1
.byte 1
.byte 0
.byte 0
.byte 0
.byte 1
.byte 0
.byte 0
.byte 1
.byte 0
.byte 0
.byte 0
/* Include directories */
.byte 0
/* File names */
.ascii "main.c\0"
.uleb128 0
.uleb128 0
.uleb128 0
.ascii "other.c\0"
.uleb128 0
.uleb128 0
.uleb128 0
.byte 0
.Lline1_lines:
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
PTRBYTE func_start
.byte 3 /* DW_LNS_advance_line */
.sleb128 4 /* ... to 5 */
.byte 1 /* DW_LNS_copy */
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
PTRBYTE func0
.byte 4 /* DW_LNS_set_file */
.uleb128 2
.byte 3 /* DW_LNS_advance_line */
.sleb128 -4 /* ... to 1 */
.byte 1 /* DW_LNS_copy */
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
PTRBYTE func1
.byte 4 /* DW_LNS_set_file */
.uleb128 1
.byte 3 /* DW_LNS_advance_line */
.sleb128 8 /* ... to 9 */
.byte 1 /* DW_LNS_copy */
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
PTRBYTE func2
.byte 4 /* DW_LNS_set_file */
.uleb128 2
.byte 3 /* DW_LNS_advance_line */
.sleb128 -8 /* ... to 1 */
.byte 1 /* DW_LNS_copy */
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
PTRBYTE func3
.byte 4 /* DW_LNS_set_file */
.uleb128 1
.byte 3 /* DW_LNS_advance_line */
.sleb128 8 /* ... to 9 */
.byte 1 /* DW_LNS_copy */
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
PTRBYTE func_end
/* Equivalent copy but renamed s/func/fund/. */
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
PTRBYTE fund_start
.byte 3 /* DW_LNS_advance_line */
.sleb128 -4 /* ... to 5 */
.byte 1 /* DW_LNS_copy */
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
PTRBYTE fund0
.byte 4 /* DW_LNS_set_file */
.uleb128 2
.byte 3 /* DW_LNS_advance_line */
.sleb128 -4 /* ... to 1 */
.byte 1 /* DW_LNS_copy */
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
PTRBYTE fund1
.byte 4 /* DW_LNS_set_file */
.uleb128 1
.byte 3 /* DW_LNS_advance_line */
.sleb128 8 /* ... to 9 */
.byte 1 /* DW_LNS_copy */
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
PTRBYTE fund2
.byte 4 /* DW_LNS_set_file */
.uleb128 2
.byte 3 /* DW_LNS_advance_line */
.sleb128 -8 /* ... to 1 */
.byte 1 /* DW_LNS_copy */
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
PTRBYTE fund3
.byte 4 /* DW_LNS_set_file */
.uleb128 1
.byte 3 /* DW_LNS_advance_line */
.sleb128 8 /* ... to 9 */
.byte 1 /* DW_LNS_copy */
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
PTRBYTE fund_end
/* Line numbering end. */
.byte 0 /* DW_LNE_end_of_sequence */
.uleb128 1
.byte 1
.Lline1_end:
|
stsp/binutils-ia16
| 56,968
|
gdb/testsuite/gdb.dwarf2/typeddwarf.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2011-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This source file was generated from typeddwarf.c using the following
command line:
gcc -m32 -dA -S -g -O2 typeddwarf.c -o typeddwarf.S
*/
.file "typeddwarf.c"
.text
.Ltext0:
.p2align 4,,15
.globl f1
.type f1, @function
f1:
.LFB0:
# typeddwarf.c:10
.LM1:
.LVL0:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
# typeddwarf.c:29
.LM2:
movl vv, %eax
addl $1, %eax
movl %eax, vv
# SUCC: EXIT [100.0%]
# typeddwarf.c:30
.LM3:
ret
.LFE0:
.size f1, .-f1
.p2align 4,,15
.globl f2
.type f2, @function
f2:
.LFB1:
# typeddwarf.c:34
.LM4:
.LVL1:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
subl $12, %esp
.LCFI0:
# typeddwarf.c:53
.LM5:
movl vv, %eax
# typeddwarf.c:54
.LM6:
fnstcw 6(%esp)
# typeddwarf.c:34
.LM7:
flds 40(%esp)
.LVL2:
# typeddwarf.c:54
.LM8:
fldl 16(%esp)
# typeddwarf.c:53
.LM9:
addl $1, %eax
movl %eax, vv
# typeddwarf.c:54
.LM10:
movzwl 6(%esp), %eax
movb $12, %ah
movw %ax, 4(%esp)
fldcw 4(%esp)
fistpl (%esp)
fldcw 6(%esp)
movl (%esp), %eax
# typeddwarf.c:55
.LM11:
fldl 24(%esp)
fldcw 4(%esp)
fistpl (%esp)
fldcw 6(%esp)
# typeddwarf.c:54
.LM12:
movl %eax, vv
# typeddwarf.c:55
.LM13:
movl (%esp), %eax
# typeddwarf.c:56
.LM14:
fldl 32(%esp)
fldcw 4(%esp)
fistpl (%esp)
fldcw 6(%esp)
# typeddwarf.c:55
.LM15:
movl %eax, vv
# typeddwarf.c:56
.LM16:
movl (%esp), %eax
# typeddwarf.c:57
.LM17:
fldcw 4(%esp)
fistl (%esp)
fldcw 6(%esp)
# typeddwarf.c:56
.LM18:
movl %eax, vv
# typeddwarf.c:57
.LM19:
movl (%esp), %eax
# typeddwarf.c:58
.LM20:
flds 44(%esp)
# typeddwarf.c:57
.LM21:
movl %eax, vv
# typeddwarf.c:58
.LM22:
fldcw 4(%esp)
fistpl (%esp)
fldcw 6(%esp)
movl (%esp), %eax
movl %eax, vv
# typeddwarf.c:59
.LM23:
movl 48(%esp), %eax
# typeddwarf.c:63
.LM24:
fldcw 4(%esp)
fistpl (%esp)
fldcw 6(%esp)
# typeddwarf.c:59
.LM25:
movl %eax, vv
# typeddwarf.c:60
.LM26:
movl 52(%esp), %eax
movl %eax, vv
# typeddwarf.c:61
.LM27:
movl 56(%esp), %eax
movl %eax, vv
# typeddwarf.c:62
.LM28:
movl 64(%esp), %eax
movl %eax, vv
# typeddwarf.c:63
.LM29:
movl (%esp), %eax
movl %eax, vv
# typeddwarf.c:64
.LM30:
addl $12, %esp
.LCFI1:
# SUCC: EXIT [100.0%]
ret
.LFE1:
.size f2, .-f2
.p2align 4,,15
.globl f3
.type f3, @function
f3:
.LFB2:
# typeddwarf.c:68
.LM31:
.LVL3:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
# typeddwarf.c:73
.LM32:
movl vv, %eax
addl $1, %eax
movl %eax, vv
# SUCC: EXIT [100.0%]
# typeddwarf.c:74
.LM33:
ret
.LFE2:
.size f3, .-f3
.p2align 4,,15
.globl f4
.type f4, @function
f4:
.LFB3:
# typeddwarf.c:78
.LM34:
.LVL4:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
# typeddwarf.c:82
.LM35:
movl vv, %eax
addl $1, %eax
movl %eax, vv
# SUCC: EXIT [100.0%]
# typeddwarf.c:83
.LM36:
ret
.LFE3:
.size f4, .-f4
.section .text.startup,"ax",@progbits
.p2align 4,,15
.globl _start
.type _start, @function
_start:
.LFB4:
# typeddwarf.c:87
.LM37:
# BLOCK 2 freq:10000 seq:0
# PRED: ENTRY [100.0%] (fallthru)
pushl %ebp
.LCFI2:
movl %esp, %ebp
.LCFI3:
pushl %esi
.LCFI4:
# typeddwarf.c:88
.LM38:
movl $0x40a00000, %esi
# typeddwarf.c:87
.LM39:
pushl %ebx
.LCFI5:
# typeddwarf.c:88
.LM40:
movl $0x40800000, %ebx
# typeddwarf.c:87
.LM41:
andl $-16, %esp
subl $112, %esp
.LCFI6:
# typeddwarf.c:88
.LM42:
flds .LC3
fstl 16(%esp)
movl %esi, 28(%esp)
flds .LC4
fstl 8(%esp)
movl %ebx, 24(%esp)
fld1
fstl (%esp)
movl $9, 48(%esp)
fstps 64(%esp)
fstps 80(%esp)
movl $0, 52(%esp)
fstps 96(%esp)
movl $8, 40(%esp)
movl $0, 44(%esp)
movl $7, 36(%esp)
movl $6, 32(%esp)
call f1
.LVL5:
# typeddwarf.c:89
.LM43:
movl %esi, 28(%esp)
movl %ebx, 24(%esp)
movl $9, 48(%esp)
movl $0, 52(%esp)
movl $8, 40(%esp)
flds 96(%esp)
fstpl 16(%esp)
movl $0, 44(%esp)
flds 80(%esp)
fstpl 8(%esp)
movl $7, 36(%esp)
flds 64(%esp)
fstpl (%esp)
movl $6, 32(%esp)
call f2
.LVL6:
# typeddwarf.c:90
.LM44:
movl $4, 20(%esp)
movl $3, 12(%esp)
movl $0, 16(%esp)
movl $2, 8(%esp)
movl $1, (%esp)
movl $0, 4(%esp)
call f3
.LVL7:
# typeddwarf.c:91
.LM45:
movl $640, 16(%esp)
movl $0, 20(%esp)
movl $0, 24(%esp)
movl $809369600, 28(%esp)
movl $160, 4(%esp)
movl $832569344, 8(%esp)
movl $838860880, (%esp)
call f4
.LVL8:
# typeddwarf.c:93
.LM46:
leal -8(%ebp), %esp
xorl %eax, %eax
popl %ebx
.LCFI7:
popl %esi
.LCFI8:
popl %ebp
.LCFI9:
# SUCC: EXIT [100.0%]
ret
.LFE4:
.size _start, .-_start
.comm vv,4,4
.section .rodata.cst4,"aM",@progbits,4
.align 4
.LC3:
.long 1077936128
.align 4
.LC4:
.long 1073741824
#APP
.section .debug_frame,"",@progbits
.Lframe0:
.long .LECIE0-.LSCIE0 # Length of Common Information Entry
.LSCIE0:
.long 0xffffffff # CIE Identifier Tag
.byte 0x1 # CIE Version
.ascii "\0" # CIE Augmentation
.uleb128 0x1 # CIE Code Alignment Factor
.sleb128 -4 # CIE Data Alignment Factor
.byte 0x8 # CIE RA Column
.byte 0xc # DW_CFA_def_cfa
.uleb128 0x4
.uleb128 0x4
.byte 0x88 # DW_CFA_offset, column 0x8
.uleb128 0x1
.align 4
.LECIE0:
.LSFDE0:
.long .LEFDE0-.LASFDE0 # FDE Length
.LASFDE0:
.long .Lframe0 # FDE CIE offset
.long .LFB0 # FDE initial location
.long .LFE0-.LFB0 # FDE address range
.align 4
.LEFDE0:
.LSFDE2:
.long .LEFDE2-.LASFDE2 # FDE Length
.LASFDE2:
.long .Lframe0 # FDE CIE offset
.long .LFB1 # FDE initial location
.long .LFE1-.LFB1 # FDE address range
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI0-.LFB1
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x10
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI1-.LCFI0
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x4
.align 4
.LEFDE2:
.LSFDE4:
.long .LEFDE4-.LASFDE4 # FDE Length
.LASFDE4:
.long .Lframe0 # FDE CIE offset
.long .LFB2 # FDE initial location
.long .LFE2-.LFB2 # FDE address range
.align 4
.LEFDE4:
.LSFDE6:
.long .LEFDE6-.LASFDE6 # FDE Length
.LASFDE6:
.long .Lframe0 # FDE CIE offset
.long .LFB3 # FDE initial location
.long .LFE3-.LFB3 # FDE address range
.align 4
.LEFDE6:
.LSFDE8:
.long .LEFDE8-.LASFDE8 # FDE Length
.LASFDE8:
.long .Lframe0 # FDE CIE offset
.long .LFB4 # FDE initial location
.long .LFE4-.LFB4 # FDE address range
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI2-.LFB4
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x8
.byte 0x85 # DW_CFA_offset, column 0x5
.uleb128 0x2
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI3-.LCFI2
.byte 0xd # DW_CFA_def_cfa_register
.uleb128 0x5
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI4-.LCFI3
.byte 0x86 # DW_CFA_offset, column 0x6
.uleb128 0x3
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI5-.LCFI4
.byte 0x83 # DW_CFA_offset, column 0x3
.uleb128 0x4
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI7-.LCFI5
.byte 0xc3 # DW_CFA_restore, column 0x3
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI8-.LCFI7
.byte 0xc6 # DW_CFA_restore, column 0x6
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI9-.LCFI8
.byte 0xc # DW_CFA_def_cfa
.uleb128 0x4
.uleb128 0x4
.byte 0xc5 # DW_CFA_restore, column 0x5
.align 4
.LEFDE8:
#NO_APP
#APP
.section .eh_frame,"aw",@progbits
.Lframe1:
.long .LECIE1-.LSCIE1 # Length of Common Information Entry
.LSCIE1:
.long 0 # CIE Identifier Tag
.byte 0x1 # CIE Version
.ascii "\0" # CIE Augmentation
.uleb128 0x1 # CIE Code Alignment Factor
.sleb128 -4 # CIE Data Alignment Factor
.byte 0x8 # CIE RA Column
.byte 0xc # DW_CFA_def_cfa
.uleb128 0x4
.uleb128 0x4
.byte 0x88 # DW_CFA_offset, column 0x8
.uleb128 0x1
.align 4
.LECIE1:
.LSFDE11:
.long .LEFDE11-.LASFDE11 # FDE Length
.LASFDE11:
.long .LASFDE11-.Lframe1 # FDE CIE offset
.long .LFB0 # FDE initial location
.long .LFE0-.LFB0 # FDE address range
.align 4
.LEFDE11:
.LSFDE13:
.long .LEFDE13-.LASFDE13 # FDE Length
.LASFDE13:
.long .LASFDE13-.Lframe1 # FDE CIE offset
.long .LFB1 # FDE initial location
.long .LFE1-.LFB1 # FDE address range
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI0-.LFB1
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x10
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI1-.LCFI0
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x4
.align 4
.LEFDE13:
.LSFDE15:
.long .LEFDE15-.LASFDE15 # FDE Length
.LASFDE15:
.long .LASFDE15-.Lframe1 # FDE CIE offset
.long .LFB2 # FDE initial location
.long .LFE2-.LFB2 # FDE address range
.align 4
.LEFDE15:
.LSFDE17:
.long .LEFDE17-.LASFDE17 # FDE Length
.LASFDE17:
.long .LASFDE17-.Lframe1 # FDE CIE offset
.long .LFB3 # FDE initial location
.long .LFE3-.LFB3 # FDE address range
.align 4
.LEFDE17:
.LSFDE19:
.long .LEFDE19-.LASFDE19 # FDE Length
.LASFDE19:
.long .LASFDE19-.Lframe1 # FDE CIE offset
.long .LFB4 # FDE initial location
.long .LFE4-.LFB4 # FDE address range
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI2-.LFB4
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x8
.byte 0x85 # DW_CFA_offset, column 0x5
.uleb128 0x2
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI3-.LCFI2
.byte 0xd # DW_CFA_def_cfa_register
.uleb128 0x5
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI4-.LCFI3
.byte 0x86 # DW_CFA_offset, column 0x6
.uleb128 0x3
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI5-.LCFI4
.byte 0x83 # DW_CFA_offset, column 0x3
.uleb128 0x4
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI7-.LCFI5
.byte 0xc3 # DW_CFA_restore, column 0x3
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI8-.LCFI7
.byte 0xc6 # DW_CFA_restore, column 0x6
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI9-.LCFI8
.byte 0xc # DW_CFA_def_cfa
.uleb128 0x4
.uleb128 0x4
.byte 0xc5 # DW_CFA_restore, column 0x5
.align 4
.LEFDE19:
#NO_APP
.text
.Letext0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.long 0x64e # Length of Compilation Unit Info
.value 0x2 # DWARF version number
.long .Ldebug_abbrev0 # Offset Into Abbrev. Section
.byte 0x4 # Pointer Size (in bytes)
.uleb128 0x1 # (DIE (0xb) DW_TAG_compile_unit)
.long .LASF5 # DW_AT_producer: "GNU C 4.7.0 20110504 (experimental)"
.byte 0x1 # DW_AT_language
.long .LASF6 # DW_AT_name: "typeddwarf.c"
.long .LASF7 # DW_AT_comp_dir: "/usr/src/gcc/obj/gcc"
.long .Ldebug_ranges0+0 # DW_AT_ranges
.long 0 # DW_AT_low_pc
.long 0 # DW_AT_entry_pc
.long .Ldebug_line0 # DW_AT_stmt_list
.uleb128 0x2 # (DIE (0x29) DW_TAG_base_type)
.byte 0x8 # DW_AT_byte_size
.byte 0x4 # DW_AT_encoding
.long .LASF0 # DW_AT_name: "double"
.uleb128 0x2 # (DIE (0x30) DW_TAG_base_type)
.byte 0x4 # DW_AT_byte_size
.byte 0x4 # DW_AT_encoding
.long .LASF1 # DW_AT_name: "float"
.uleb128 0x2 # (DIE (0x37) DW_TAG_base_type)
.byte 0x8 # DW_AT_byte_size
.byte 0x5 # DW_AT_encoding
.long .LASF2 # DW_AT_name: "long long int"
.uleb128 0x3 # (DIE (0x3e) DW_TAG_base_type)
.byte 0x4 # DW_AT_byte_size
.byte 0x5 # DW_AT_encoding
.ascii "int\0" # DW_AT_name
.uleb128 0x2 # (DIE (0x45) DW_TAG_base_type)
.byte 0x4 # DW_AT_byte_size
.byte 0x7 # DW_AT_encoding
.long .LASF3 # DW_AT_name: "unsigned int"
.uleb128 0x2 # (DIE (0x4c) DW_TAG_base_type)
.byte 0x8 # DW_AT_byte_size
.byte 0x7 # DW_AT_encoding
.long .LASF4 # DW_AT_name: "long long unsigned int"
.uleb128 0x4 # (DIE (0x53) DW_TAG_subprogram)
.byte 0x1 # DW_AT_external
.ascii "f1\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x9 # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.long .LFB0 # DW_AT_low_pc
.long .LFE0 # DW_AT_high_pc
.byte 0x2 # DW_AT_frame_base
.byte 0x74 # DW_OP_breg4
.sleb128 4
.byte 0x1 # DW_AT_GNU_all_call_sites
.long 0x232 # DW_AT_sibling
.uleb128 0x5 # (DIE (0x6b) DW_TAG_formal_parameter)
.ascii "a\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x9 # DW_AT_decl_line
.long 0x29 # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.uleb128 0x5 # (DIE (0x77) DW_TAG_formal_parameter)
.ascii "b\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x9 # DW_AT_decl_line
.long 0x29 # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 8
.uleb128 0x5 # (DIE (0x83) DW_TAG_formal_parameter)
.ascii "c\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x9 # DW_AT_decl_line
.long 0x29 # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 16
.uleb128 0x5 # (DIE (0x8f) DW_TAG_formal_parameter)
.ascii "d\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x9 # DW_AT_decl_line
.long 0x30 # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 24
.uleb128 0x5 # (DIE (0x9b) DW_TAG_formal_parameter)
.ascii "e\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x9 # DW_AT_decl_line
.long 0x30 # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 28
.uleb128 0x5 # (DIE (0xa7) DW_TAG_formal_parameter)
.ascii "f\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x9 # DW_AT_decl_line
.long 0x3e # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 32
.uleb128 0x5 # (DIE (0xb3) DW_TAG_formal_parameter)
.ascii "g\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x9 # DW_AT_decl_line
.long 0x45 # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 36
.uleb128 0x5 # (DIE (0xbf) DW_TAG_formal_parameter)
.ascii "h\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x9 # DW_AT_decl_line
.long 0x37 # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 40
.uleb128 0x5 # (DIE (0xcb) DW_TAG_formal_parameter)
.ascii "i\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x9 # DW_AT_decl_line
.long 0x4c # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 48
.uleb128 0x6 # (DIE (0xd7) DW_TAG_variable)
.ascii "j\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0xb # DW_AT_decl_line
.long 0x29 # DW_AT_type
.byte 0x8 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 24
.byte 0xf6 # DW_OP_GNU_deref_type
.byte 0x4
.uleb128 0x30
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x29
.byte 0x9f # DW_OP_stack_value
.uleb128 0x6 # (DIE (0xe9) DW_TAG_variable)
.ascii "l\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0xc # DW_AT_decl_line
.long 0x37 # DW_AT_type
.byte 0xa # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 24
.byte 0xf6 # DW_OP_GNU_deref_type
.byte 0x4
.uleb128 0x30
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x29
.byte 0xf9 # DW_OP_GNU_reinterpret
.uleb128 0x37
.byte 0x9f # DW_OP_stack_value
.uleb128 0x6 # (DIE (0xfd) DW_TAG_variable)
.ascii "m\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0xe # DW_AT_decl_line
.long 0x37 # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 16
.uleb128 0x6 # (DIE (0x109) DW_TAG_variable)
.ascii "n\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x10 # DW_AT_decl_line
.long 0x30 # DW_AT_type
.byte 0xa # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 48
.byte 0xf6 # DW_OP_GNU_deref_type
.byte 0x8
.uleb128 0x37
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x4c
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x30
.byte 0x9f # DW_OP_stack_value
.uleb128 0x6 # (DIE (0x11d) DW_TAG_variable)
.ascii "o\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x11 # DW_AT_decl_line
.long 0x29 # DW_AT_type
.byte 0x8 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 40
.byte 0xf6 # DW_OP_GNU_deref_type
.byte 0x8
.uleb128 0x37
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x29
.byte 0x9f # DW_OP_stack_value
.uleb128 0x6 # (DIE (0x12f) DW_TAG_variable)
.ascii "p\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x12 # DW_AT_decl_line
.long 0x30 # DW_AT_type
.byte 0x8 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 36
.byte 0x6 # DW_OP_deref
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x45
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x30
.byte 0x9f # DW_OP_stack_value
.uleb128 0x6 # (DIE (0x141) DW_TAG_variable)
.ascii "q\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x13 # DW_AT_decl_line
.long 0x29 # DW_AT_type
.byte 0x8 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 32
.byte 0x6 # DW_OP_deref
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x3e
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x29
.byte 0x9f # DW_OP_stack_value
.uleb128 0x6 # (DIE (0x153) DW_TAG_variable)
.ascii "r\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x14 # DW_AT_decl_line
.long 0x4c # DW_AT_type
.byte 0xa # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.byte 0xf6 # DW_OP_GNU_deref_type
.byte 0x8
.uleb128 0x29
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x4c
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x37
.byte 0x9f # DW_OP_stack_value
.uleb128 0x6 # (DIE (0x167) DW_TAG_variable)
.ascii "s\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x15 # DW_AT_decl_line
.long 0x37 # DW_AT_type
.byte 0x8 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 16
.byte 0xf6 # DW_OP_GNU_deref_type
.byte 0x8
.uleb128 0x29
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x37
.byte 0x9f # DW_OP_stack_value
.uleb128 0x6 # (DIE (0x179) DW_TAG_variable)
.ascii "t\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x16 # DW_AT_decl_line
.long 0x45 # DW_AT_type
.byte 0xa # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 24
.byte 0xf6 # DW_OP_GNU_deref_type
.byte 0x4
.uleb128 0x30
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x45
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x3e
.byte 0x9f # DW_OP_stack_value
.uleb128 0x6 # (DIE (0x18d) DW_TAG_variable)
.ascii "u\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x17 # DW_AT_decl_line
.long 0x3e # DW_AT_type
.byte 0x8 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 8
.byte 0xf6 # DW_OP_GNU_deref_type
.byte 0x8
.uleb128 0x29
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x3e
.byte 0x9f # DW_OP_stack_value
.uleb128 0x6 # (DIE (0x19f) DW_TAG_variable)
.ascii "v\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x18 # DW_AT_decl_line
.long 0x30 # DW_AT_type
.byte 0x8 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.byte 0xf6 # DW_OP_GNU_deref_type
.byte 0x8
.uleb128 0x29
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x30
.byte 0x9f # DW_OP_stack_value
.uleb128 0x6 # (DIE (0x1b1) DW_TAG_variable)
.ascii "w\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x19 # DW_AT_decl_line
.long 0x29 # DW_AT_type
.byte 0x14 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 24
.byte 0xf6 # DW_OP_GNU_deref_type
.byte 0x4
.uleb128 0x30
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x29
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x29
.byte 0x8
.long 0 # fp or vector constant word 0
.long 0x3fd00000 # fp or vector constant word 1
.byte 0x1e # DW_OP_mul
.byte 0x9f # DW_OP_stack_value
.uleb128 0x6 # (DIE (0x1cf) DW_TAG_variable)
.ascii "x\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x1a # DW_AT_decl_line
.long 0x29 # DW_AT_type
.byte 0x18 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.byte 0xf6 # DW_OP_GNU_deref_type
.byte 0x8
.uleb128 0x29
.byte 0x91 # DW_OP_fbreg
.sleb128 8
.byte 0xf6 # DW_OP_GNU_deref_type
.byte 0x8
.uleb128 0x29
.byte 0x22 # DW_OP_plus
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x29
.byte 0x8
.long 0 # fp or vector constant word 0
.long 0x3ff00000 # fp or vector constant word 1
.byte 0x22 # DW_OP_plus
.byte 0x9f # DW_OP_stack_value
.uleb128 0x6 # (DIE (0x1f1) DW_TAG_variable)
.ascii "y\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x1b # DW_AT_decl_line
.long 0x29 # DW_AT_type
.byte 0x18 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 8
.byte 0xf6 # DW_OP_GNU_deref_type
.byte 0x8
.uleb128 0x29
.byte 0x91 # DW_OP_fbreg
.sleb128 16
.byte 0xf6 # DW_OP_GNU_deref_type
.byte 0x8
.uleb128 0x29
.byte 0x22 # DW_OP_plus
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x29
.byte 0x8
.long 0 # fp or vector constant word 0
.long 0x40000000 # fp or vector constant word 1
.byte 0x22 # DW_OP_plus
.byte 0x9f # DW_OP_stack_value
.uleb128 0x6 # (DIE (0x213) DW_TAG_variable)
.ascii "z\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x1c # DW_AT_decl_line
.long 0x30 # DW_AT_type
.byte 0x14 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 24
.byte 0xf6 # DW_OP_GNU_deref_type
.byte 0x4
.uleb128 0x30
.byte 0x91 # DW_OP_fbreg
.sleb128 28
.byte 0xf6 # DW_OP_GNU_deref_type
.byte 0x4
.uleb128 0x30
.byte 0x22 # DW_OP_plus
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x30
.byte 0x4
.long 0x40400000 # fp or vector constant word 0
.byte 0x22 # DW_OP_plus
.byte 0x9f # DW_OP_stack_value
.byte 0 # end of children of DIE 0x53
.uleb128 0x7 # (DIE (0x232) DW_TAG_subprogram)
.byte 0x1 # DW_AT_external
.ascii "f2\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x21 # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.long .LFB1 # DW_AT_low_pc
.long .LFE1 # DW_AT_high_pc
.long .LLST0 # DW_AT_frame_base
.byte 0x1 # DW_AT_GNU_all_call_sites
.long 0x40a # DW_AT_sibling
.uleb128 0x5 # (DIE (0x24b) DW_TAG_formal_parameter)
.ascii "a\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x21 # DW_AT_decl_line
.long 0x29 # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.uleb128 0x5 # (DIE (0x257) DW_TAG_formal_parameter)
.ascii "b\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x21 # DW_AT_decl_line
.long 0x29 # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 8
.uleb128 0x5 # (DIE (0x263) DW_TAG_formal_parameter)
.ascii "c\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x21 # DW_AT_decl_line
.long 0x29 # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 16
.uleb128 0x5 # (DIE (0x26f) DW_TAG_formal_parameter)
.ascii "d\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x21 # DW_AT_decl_line
.long 0x30 # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 24
.uleb128 0x5 # (DIE (0x27b) DW_TAG_formal_parameter)
.ascii "e\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x21 # DW_AT_decl_line
.long 0x30 # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 28
.uleb128 0x5 # (DIE (0x287) DW_TAG_formal_parameter)
.ascii "f\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x21 # DW_AT_decl_line
.long 0x3e # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 32
.uleb128 0x5 # (DIE (0x293) DW_TAG_formal_parameter)
.ascii "g\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x21 # DW_AT_decl_line
.long 0x45 # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 36
.uleb128 0x5 # (DIE (0x29f) DW_TAG_formal_parameter)
.ascii "h\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x21 # DW_AT_decl_line
.long 0x37 # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 40
.uleb128 0x5 # (DIE (0x2ab) DW_TAG_formal_parameter)
.ascii "i\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x21 # DW_AT_decl_line
.long 0x4c # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 48
.uleb128 0x6 # (DIE (0x2b7) DW_TAG_variable)
.ascii "j\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x23 # DW_AT_decl_line
.long 0x29 # DW_AT_type
.byte 0x8 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 24
.byte 0xf6 # DW_OP_GNU_deref_type
.byte 0x4
.uleb128 0x30
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x29
.byte 0x9f # DW_OP_stack_value
.uleb128 0x6 # (DIE (0x2c9) DW_TAG_variable)
.ascii "l\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x24 # DW_AT_decl_line
.long 0x37 # DW_AT_type
.byte 0xa # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 24
.byte 0xf6 # DW_OP_GNU_deref_type
.byte 0x4
.uleb128 0x30
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x29
.byte 0xf9 # DW_OP_GNU_reinterpret
.uleb128 0x37
.byte 0x9f # DW_OP_stack_value
.uleb128 0x6 # (DIE (0x2dd) DW_TAG_variable)
.ascii "m\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x26 # DW_AT_decl_line
.long 0x37 # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 16
.uleb128 0x8 # (DIE (0x2e9) DW_TAG_variable)
.ascii "n\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x28 # DW_AT_decl_line
.long 0x30 # DW_AT_type
.uleb128 0x8 # (DIE (0x2f2) DW_TAG_variable)
.ascii "o\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x29 # DW_AT_decl_line
.long 0x29 # DW_AT_type
.uleb128 0x6 # (DIE (0x2fb) DW_TAG_variable)
.ascii "p\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x2a # DW_AT_decl_line
.long 0x30 # DW_AT_type
.byte 0x8 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 36
.byte 0x6 # DW_OP_deref
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x45
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x30
.byte 0x9f # DW_OP_stack_value
.uleb128 0x6 # (DIE (0x30d) DW_TAG_variable)
.ascii "q\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x2b # DW_AT_decl_line
.long 0x29 # DW_AT_type
.byte 0x8 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 32
.byte 0x6 # DW_OP_deref
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x3e
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x29
.byte 0x9f # DW_OP_stack_value
.uleb128 0x6 # (DIE (0x31f) DW_TAG_variable)
.ascii "r\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x2c # DW_AT_decl_line
.long 0x4c # DW_AT_type
.byte 0xa # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.byte 0xf6 # DW_OP_GNU_deref_type
.byte 0x8
.uleb128 0x29
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x4c
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x37
.byte 0x9f # DW_OP_stack_value
.uleb128 0x6 # (DIE (0x333) DW_TAG_variable)
.ascii "s\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x2d # DW_AT_decl_line
.long 0x37 # DW_AT_type
.byte 0x8 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 16
.byte 0xf6 # DW_OP_GNU_deref_type
.byte 0x8
.uleb128 0x29
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x37
.byte 0x9f # DW_OP_stack_value
.uleb128 0x6 # (DIE (0x345) DW_TAG_variable)
.ascii "t\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x2e # DW_AT_decl_line
.long 0x45 # DW_AT_type
.byte 0xa # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 24
.byte 0xf6 # DW_OP_GNU_deref_type
.byte 0x4
.uleb128 0x30
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x45
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x3e
.byte 0x9f # DW_OP_stack_value
.uleb128 0x6 # (DIE (0x359) DW_TAG_variable)
.ascii "u\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x2f # DW_AT_decl_line
.long 0x3e # DW_AT_type
.byte 0x8 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 8
.byte 0xf6 # DW_OP_GNU_deref_type
.byte 0x8
.uleb128 0x29
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x3e
.byte 0x9f # DW_OP_stack_value
.uleb128 0x6 # (DIE (0x36b) DW_TAG_variable)
.ascii "v\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x30 # DW_AT_decl_line
.long 0x30 # DW_AT_type
.byte 0x8 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.byte 0xf6 # DW_OP_GNU_deref_type
.byte 0x8
.uleb128 0x29
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x30
.byte 0x9f # DW_OP_stack_value
.uleb128 0x6 # (DIE (0x37d) DW_TAG_variable)
.ascii "w\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x31 # DW_AT_decl_line
.long 0x29 # DW_AT_type
.byte 0x14 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 24
.byte 0xf6 # DW_OP_GNU_deref_type
.byte 0x4
.uleb128 0x30
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x29
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x29
.byte 0x8
.long 0 # fp or vector constant word 0
.long 0x3fd00000 # fp or vector constant word 1
.byte 0x1e # DW_OP_mul
.byte 0x9f # DW_OP_stack_value
.uleb128 0x6 # (DIE (0x39b) DW_TAG_variable)
.ascii "x\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x32 # DW_AT_decl_line
.long 0x29 # DW_AT_type
.byte 0x24 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.byte 0xf6 # DW_OP_GNU_deref_type
.byte 0x8
.uleb128 0x29
.byte 0x91 # DW_OP_fbreg
.sleb128 8
.byte 0xf6 # DW_OP_GNU_deref_type
.byte 0x8
.uleb128 0x29
.byte 0x22 # DW_OP_plus
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x29
.byte 0x8
.long 0 # fp or vector constant word 0
.long 0x40080000 # fp or vector constant word 1
.byte 0x1c # DW_OP_minus
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x29
.byte 0x8
.long 0x78b58c40 # fp or vector constant word 0
.long 0x4415af1d # fp or vector constant word 1
.byte 0x22 # DW_OP_plus
.byte 0x9f # DW_OP_stack_value
.uleb128 0x6 # (DIE (0x3c9) DW_TAG_variable)
.ascii "y\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x33 # DW_AT_decl_line
.long 0x29 # DW_AT_type
.byte 0x18 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 16
.byte 0xf6 # DW_OP_GNU_deref_type
.byte 0x8
.uleb128 0x29
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x29
.byte 0x8
.long 0 # fp or vector constant word 0
.long 0x401c0000 # fp or vector constant word 1
.byte 0x1e # DW_OP_mul
.byte 0x91 # DW_OP_fbreg
.sleb128 8
.byte 0xf6 # DW_OP_GNU_deref_type
.byte 0x8
.uleb128 0x29
.byte 0x22 # DW_OP_plus
.byte 0x9f # DW_OP_stack_value
.uleb128 0x6 # (DIE (0x3eb) DW_TAG_variable)
.ascii "z\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x34 # DW_AT_decl_line
.long 0x30 # DW_AT_type
.byte 0x14 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 24
.byte 0xf6 # DW_OP_GNU_deref_type
.byte 0x4
.uleb128 0x30
.byte 0x91 # DW_OP_fbreg
.sleb128 28
.byte 0xf6 # DW_OP_GNU_deref_type
.byte 0x4
.uleb128 0x30
.byte 0x22 # DW_OP_plus
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x30
.byte 0x4
.long 0x40400000 # fp or vector constant word 0
.byte 0x22 # DW_OP_plus
.byte 0x9f # DW_OP_stack_value
.byte 0 # end of children of DIE 0x232
.uleb128 0x4 # (DIE (0x40a) DW_TAG_subprogram)
.byte 0x1 # DW_AT_external
.ascii "f3\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x43 # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.long .LFB2 # DW_AT_low_pc
.long .LFE2 # DW_AT_high_pc
.byte 0x2 # DW_AT_frame_base
.byte 0x74 # DW_OP_breg4
.sleb128 4
.byte 0x1 # DW_AT_GNU_all_call_sites
.long 0x4fd # DW_AT_sibling
.uleb128 0x5 # (DIE (0x422) DW_TAG_formal_parameter)
.ascii "a\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x43 # DW_AT_decl_line
.long 0x37 # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.uleb128 0x5 # (DIE (0x42e) DW_TAG_formal_parameter)
.ascii "b\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x43 # DW_AT_decl_line
.long 0x3e # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 8
.uleb128 0x5 # (DIE (0x43a) DW_TAG_formal_parameter)
.ascii "c\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x43 # DW_AT_decl_line
.long 0x37 # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 12
.uleb128 0x5 # (DIE (0x446) DW_TAG_formal_parameter)
.ascii "d\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x43 # DW_AT_decl_line
.long 0x45 # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 20
.uleb128 0x6 # (DIE (0x452) DW_TAG_variable)
.ascii "w\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x45 # DW_AT_decl_line
.long 0x37 # DW_AT_type
.byte 0x16 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 20
.byte 0x6 # DW_OP_deref
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x45
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x37
.byte 0x12 # DW_OP_dup
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.byte 0xf6 # DW_OP_GNU_deref_type
.byte 0x8
.uleb128 0x37
.byte 0x16 # DW_OP_swap
.byte 0x14 # DW_OP_over
.byte 0x2b # DW_OP_gt
.byte 0x28 # DW_OP_bra
.value 0x1
.byte 0x16 # DW_OP_swap
.byte 0x13 # DW_OP_drop
.byte 0x9f # DW_OP_stack_value
.uleb128 0x6 # (DIE (0x472) DW_TAG_variable)
.ascii "x\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x46 # DW_AT_decl_line
.long 0x37 # DW_AT_type
.byte 0x1a # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 8
.byte 0x6 # DW_OP_deref
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x3e
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x37
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.byte 0xf6 # DW_OP_GNU_deref_type
.byte 0x8
.uleb128 0x37
.byte 0x22 # DW_OP_plus
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x37
.byte 0x8
.quad 0x7
.byte 0x22 # DW_OP_plus
.byte 0x9f # DW_OP_stack_value
.uleb128 0x6 # (DIE (0x496) DW_TAG_variable)
.ascii "y\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x47 # DW_AT_decl_line
.long 0x37 # DW_AT_type
.byte 0x1a # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 20
.byte 0x6 # DW_OP_deref
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x45
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x37
.byte 0x91 # DW_OP_fbreg
.sleb128 12
.byte 0xf6 # DW_OP_GNU_deref_type
.byte 0x8
.uleb128 0x37
.byte 0x22 # DW_OP_plus
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x37
.byte 0x8
.quad 0x912345678
.byte 0x22 # DW_OP_plus
.byte 0x9f # DW_OP_stack_value
.uleb128 0x6 # (DIE (0x4ba) DW_TAG_variable)
.ascii "z\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x48 # DW_AT_decl_line
.long 0x3e # DW_AT_type
.byte 0x38 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 8
.byte 0x6 # DW_OP_deref
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x3e
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x37
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.byte 0xf6 # DW_OP_GNU_deref_type
.byte 0x8
.uleb128 0x37
.byte 0x22 # DW_OP_plus
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x37
.byte 0x8
.quad 0x7
.byte 0x22 # DW_OP_plus
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x3e
.byte 0x91 # DW_OP_fbreg
.sleb128 20
.byte 0x6 # DW_OP_deref
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x45
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x37
.byte 0x91 # DW_OP_fbreg
.sleb128 12
.byte 0xf6 # DW_OP_GNU_deref_type
.byte 0x8
.uleb128 0x37
.byte 0x22 # DW_OP_plus
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x37
.byte 0x8
.quad 0x912345678
.byte 0x22 # DW_OP_plus
.byte 0xf7 # DW_OP_GNU_convert
.uleb128 0x3e
.byte 0x22 # DW_OP_plus
.byte 0x9f # DW_OP_stack_value
.byte 0 # end of children of DIE 0x40a
.uleb128 0x4 # (DIE (0x4fd) DW_TAG_subprogram)
.byte 0x1 # DW_AT_external
.ascii "f4\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x4d # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.long .LFB3 # DW_AT_low_pc
.long .LFE3 # DW_AT_high_pc
.byte 0x2 # DW_AT_frame_base
.byte 0x74 # DW_OP_breg4
.sleb128 4
.byte 0x1 # DW_AT_GNU_all_call_sites
.long 0x555 # DW_AT_sibling
.uleb128 0x5 # (DIE (0x515) DW_TAG_formal_parameter)
.ascii "a\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x4d # DW_AT_decl_line
.long 0x555 # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.uleb128 0x5 # (DIE (0x521) DW_TAG_formal_parameter)
.ascii "b\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x4d # DW_AT_decl_line
.long 0x55c # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 4
.uleb128 0x5 # (DIE (0x52d) DW_TAG_formal_parameter)
.ascii "c\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x4d # DW_AT_decl_line
.long 0x563 # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 16
.uleb128 0x8 # (DIE (0x539) DW_TAG_variable)
.ascii "w\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x4f # DW_AT_decl_line
.long 0x555 # DW_AT_type
.uleb128 0x8 # (DIE (0x542) DW_TAG_variable)
.ascii "x\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x50 # DW_AT_decl_line
.long 0x55c # DW_AT_type
.uleb128 0x8 # (DIE (0x54b) DW_TAG_variable)
.ascii "y\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x51 # DW_AT_decl_line
.long 0x563 # DW_AT_type
.byte 0 # end of children of DIE 0x4fd
.uleb128 0x2 # (DIE (0x555) DW_TAG_base_type)
.byte 0x4 # DW_AT_byte_size
.byte 0xf # DW_AT_encoding
.long .LASF8 # DW_AT_name: "_Decimal32"
.uleb128 0x2 # (DIE (0x55c) DW_TAG_base_type)
.byte 0x8 # DW_AT_byte_size
.byte 0xf # DW_AT_encoding
.long .LASF9 # DW_AT_name: "_Decimal64"
.uleb128 0x2 # (DIE (0x563) DW_TAG_base_type)
.byte 0x10 # DW_AT_byte_size
.byte 0xf # DW_AT_encoding
.long .LASF10 # DW_AT_name: "_Decimal128"
.uleb128 0x9 # (DIE (0x56a) DW_TAG_subprogram)
.byte 0x1 # DW_AT_external
.long .LASF11 # DW_AT_name: "main"
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x56 # DW_AT_decl_line
.long 0x3e # DW_AT_type
.long .LFB4 # DW_AT_low_pc
.long .LFE4 # DW_AT_high_pc
.long .LLST1 # DW_AT_frame_base
.byte 0x1 # DW_AT_GNU_all_call_sites
.long 0x62f # DW_AT_sibling
.uleb128 0xa # (DIE (0x587) DW_TAG_GNU_call_site)
.long .LVL5 # DW_AT_low_pc
.long 0x53 # DW_AT_abstract_origin
.long 0x5e1 # DW_AT_sibling
.uleb128 0xb # (DIE (0x594) DW_TAG_GNU_call_site_parameter)
.byte 0x2 # DW_AT_location
.byte 0x74 # DW_OP_breg4
.sleb128 0
.byte 0xb # DW_AT_GNU_call_site_value
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x29
.byte 0x8
.long 0 # fp or vector constant word 0
.long 0x3ff00000 # fp or vector constant word 1
.uleb128 0xb # (DIE (0x5a4) DW_TAG_GNU_call_site_parameter)
.byte 0x2 # DW_AT_location
.byte 0x74 # DW_OP_breg4
.sleb128 8
.byte 0xb # DW_AT_GNU_call_site_value
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x29
.byte 0x8
.long 0 # fp or vector constant word 0
.long 0x40000000 # fp or vector constant word 1
.uleb128 0xb # (DIE (0x5b4) DW_TAG_GNU_call_site_parameter)
.byte 0x2 # DW_AT_location
.byte 0x74 # DW_OP_breg4
.sleb128 16
.byte 0xb # DW_AT_GNU_call_site_value
.byte 0xf4 # DW_OP_GNU_const_type
.uleb128 0x29
.byte 0x8
.long 0 # fp or vector constant word 0
.long 0x40080000 # fp or vector constant word 1
.uleb128 0xb # (DIE (0x5c4) DW_TAG_GNU_call_site_parameter)
.byte 0x2 # DW_AT_location
.byte 0x74 # DW_OP_breg4
.sleb128 24
.byte 0x3 # DW_AT_GNU_call_site_value
.byte 0xf5 # DW_OP_GNU_regval_type
.uleb128 0x3
.uleb128 0x30
.uleb128 0xb # (DIE (0x5cc) DW_TAG_GNU_call_site_parameter)
.byte 0x2 # DW_AT_location
.byte 0x74 # DW_OP_breg4
.sleb128 28
.byte 0x3 # DW_AT_GNU_call_site_value
.byte 0xf5 # DW_OP_GNU_regval_type
.uleb128 0x6
.uleb128 0x30
.uleb128 0xb # (DIE (0x5d4) DW_TAG_GNU_call_site_parameter)
.byte 0x2 # DW_AT_location
.byte 0x74 # DW_OP_breg4
.sleb128 32
.byte 0x1 # DW_AT_GNU_call_site_value
.byte 0x36 # DW_OP_lit6
.uleb128 0xb # (DIE (0x5da) DW_TAG_GNU_call_site_parameter)
.byte 0x2 # DW_AT_location
.byte 0x74 # DW_OP_breg4
.sleb128 36
.byte 0x1 # DW_AT_GNU_call_site_value
.byte 0x37 # DW_OP_lit7
.byte 0 # end of children of DIE 0x587
.uleb128 0xa # (DIE (0x5e1) DW_TAG_GNU_call_site)
.long .LVL6 # DW_AT_low_pc
.long 0x232 # DW_AT_abstract_origin
.long 0x60b # DW_AT_sibling
.uleb128 0xb # (DIE (0x5ee) DW_TAG_GNU_call_site_parameter)
.byte 0x2 # DW_AT_location
.byte 0x74 # DW_OP_breg4
.sleb128 24
.byte 0x3 # DW_AT_GNU_call_site_value
.byte 0xf5 # DW_OP_GNU_regval_type
.uleb128 0x3
.uleb128 0x30
.uleb128 0xb # (DIE (0x5f6) DW_TAG_GNU_call_site_parameter)
.byte 0x2 # DW_AT_location
.byte 0x74 # DW_OP_breg4
.sleb128 28
.byte 0x3 # DW_AT_GNU_call_site_value
.byte 0xf5 # DW_OP_GNU_regval_type
.uleb128 0x6
.uleb128 0x30
.uleb128 0xb # (DIE (0x5fe) DW_TAG_GNU_call_site_parameter)
.byte 0x2 # DW_AT_location
.byte 0x74 # DW_OP_breg4
.sleb128 32
.byte 0x1 # DW_AT_GNU_call_site_value
.byte 0x36 # DW_OP_lit6
.uleb128 0xb # (DIE (0x604) DW_TAG_GNU_call_site_parameter)
.byte 0x2 # DW_AT_location
.byte 0x74 # DW_OP_breg4
.sleb128 36
.byte 0x1 # DW_AT_GNU_call_site_value
.byte 0x37 # DW_OP_lit7
.byte 0 # end of children of DIE 0x5e1
.uleb128 0xa # (DIE (0x60b) DW_TAG_GNU_call_site)
.long .LVL7 # DW_AT_low_pc
.long 0x40a # DW_AT_abstract_origin
.long 0x625 # DW_AT_sibling
.uleb128 0xb # (DIE (0x618) DW_TAG_GNU_call_site_parameter)
.byte 0x2 # DW_AT_location
.byte 0x74 # DW_OP_breg4
.sleb128 8
.byte 0x1 # DW_AT_GNU_call_site_value
.byte 0x32 # DW_OP_lit2
.uleb128 0xb # (DIE (0x61e) DW_TAG_GNU_call_site_parameter)
.byte 0x2 # DW_AT_location
.byte 0x74 # DW_OP_breg4
.sleb128 20
.byte 0x1 # DW_AT_GNU_call_site_value
.byte 0x34 # DW_OP_lit4
.byte 0 # end of children of DIE 0x60b
.uleb128 0xc # (DIE (0x625) DW_TAG_GNU_call_site)
.long .LVL8 # DW_AT_low_pc
.long 0x4fd # DW_AT_abstract_origin
.byte 0 # end of children of DIE 0x56a
.uleb128 0xd # (DIE (0x62f) DW_TAG_variable)
.ascii "vv\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x5 # DW_AT_decl_line
.long 0x63b # DW_AT_type
.byte 0x1 # DW_AT_external
.byte 0x1 # DW_AT_declaration
.uleb128 0xe # (DIE (0x63b) DW_TAG_volatile_type)
.long 0x3e # DW_AT_type
.uleb128 0xf # (DIE (0x640) DW_TAG_variable)
.ascii "vv\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (typeddwarf.c)
.byte 0x5 # DW_AT_decl_line
.long 0x63b # DW_AT_type
.byte 0x1 # DW_AT_external
.byte 0x5 # DW_AT_location
.byte 0x3 # DW_OP_addr
.long vv
.byte 0 # end of children of DIE 0xb
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.uleb128 0x1 # (abbrev code)
.uleb128 0x11 # (TAG: DW_TAG_compile_unit)
.byte 0x1 # DW_children_yes
.uleb128 0x25 # (DW_AT_producer)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x13 # (DW_AT_language)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x1b # (DW_AT_comp_dir)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x55 # (DW_AT_ranges)
.uleb128 0x6 # (DW_FORM_data4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x52 # (DW_AT_entry_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x10 # (DW_AT_stmt_list)
.uleb128 0x6 # (DW_FORM_data4)
.byte 0
.byte 0
.uleb128 0x2 # (abbrev code)
.uleb128 0x24 # (TAG: DW_TAG_base_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3e # (DW_AT_encoding)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.byte 0
.byte 0
.uleb128 0x3 # (abbrev code)
.uleb128 0x24 # (TAG: DW_TAG_base_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3e # (DW_AT_encoding)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.byte 0
.byte 0
.uleb128 0x4 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x27 # (DW_AT_prototyped)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0xa # (DW_FORM_block1)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x5 # (abbrev code)
.uleb128 0x5 # (TAG: DW_TAG_formal_parameter)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0xa # (DW_FORM_block1)
.byte 0
.byte 0
.uleb128 0x6 # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0xa # (DW_FORM_block1)
.byte 0
.byte 0
.uleb128 0x7 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x27 # (DW_AT_prototyped)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x6 # (DW_FORM_data4)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x8 # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x9 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x6 # (DW_FORM_data4)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0xa # (abbrev code)
.uleb128 0x4109 # (TAG: DW_TAG_GNU_call_site)
.byte 0x1 # DW_children_yes
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x31 # (DW_AT_abstract_origin)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0xb # (abbrev code)
.uleb128 0x410a # (TAG: DW_TAG_GNU_call_site_parameter)
.byte 0 # DW_children_no
.uleb128 0x2 # (DW_AT_location)
.uleb128 0xa # (DW_FORM_block1)
.uleb128 0x2111 # (DW_AT_GNU_call_site_value)
.uleb128 0xa # (DW_FORM_block1)
.byte 0
.byte 0
.uleb128 0xc # (abbrev code)
.uleb128 0x4109 # (TAG: DW_TAG_GNU_call_site)
.byte 0 # DW_children_no
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x31 # (DW_AT_abstract_origin)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0xd # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x3f # (DW_AT_external)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x3c # (DW_AT_declaration)
.uleb128 0xc # (DW_FORM_flag)
.byte 0
.byte 0
.uleb128 0xe # (abbrev code)
.uleb128 0x35 # (TAG: DW_TAG_volatile_type)
.byte 0 # DW_children_no
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0xf # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x3f # (DW_AT_external)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0xa # (DW_FORM_block1)
.byte 0
.byte 0
.byte 0
.section .debug_loc,"",@progbits
.Ldebug_loc0:
.LLST0:
.long .LFB1 # Location list begin address (*.LLST0)
.long .LCFI0 # Location list end address (*.LLST0)
.value 0x2 # Location expression size
.byte 0x74 # DW_OP_breg4
.sleb128 4
.long .LCFI0 # Location list begin address (*.LLST0)
.long .LCFI1 # Location list end address (*.LLST0)
.value 0x2 # Location expression size
.byte 0x74 # DW_OP_breg4
.sleb128 16
.long .LCFI1 # Location list begin address (*.LLST0)
.long .LFE1 # Location list end address (*.LLST0)
.value 0x2 # Location expression size
.byte 0x74 # DW_OP_breg4
.sleb128 4
.long 0 # Location list terminator begin (*.LLST0)
.long 0 # Location list terminator end (*.LLST0)
.LLST1:
.long .LFB4 # Location list begin address (*.LLST1)
.long .LCFI2 # Location list end address (*.LLST1)
.value 0x2 # Location expression size
.byte 0x74 # DW_OP_breg4
.sleb128 4
.long .LCFI2 # Location list begin address (*.LLST1)
.long .LCFI3 # Location list end address (*.LLST1)
.value 0x2 # Location expression size
.byte 0x74 # DW_OP_breg4
.sleb128 8
.long .LCFI3 # Location list begin address (*.LLST1)
.long .LCFI9 # Location list end address (*.LLST1)
.value 0x2 # Location expression size
.byte 0x75 # DW_OP_breg5
.sleb128 8
.long .LCFI9 # Location list begin address (*.LLST1)
.long .LFE4 # Location list end address (*.LLST1)
.value 0x2 # Location expression size
.byte 0x74 # DW_OP_breg4
.sleb128 4
.long 0 # Location list terminator begin (*.LLST1)
.long 0 # Location list terminator end (*.LLST1)
.section .debug_aranges,"",@progbits
.long 0x24 # Length of Address Ranges Info
.value 0x2 # DWARF Version
.long .Ldebug_info0 # Offset of Compilation Unit Info
.byte 0x4 # Size of Address
.byte 0 # Size of Segment Descriptor
.value 0 # Pad to 8 byte boundary
.value 0
.long .Ltext0 # Address
.long .Letext0-.Ltext0 # Length
.long .LFB4 # Address
.long .LFE4-.LFB4 # Length
.long 0
.long 0
.section .debug_ranges,"",@progbits
.Ldebug_ranges0:
.long .Ltext0 # Offset 0
.long .Letext0
.long .LFB4 # Offset 0x8
.long .LFE4
.long 0
.long 0
.section .debug_line,"",@progbits
.Ldebug_line0:
.long .LELT0-.LSLT0 # Length of Source Line Info
.LSLT0:
.value 0x2 # DWARF Version
.long .LELTP0-.LASLTP0 # Prolog Length
.LASLTP0:
.byte 0x1 # Minimum Instruction Length
.byte 0x1 # Default is_stmt_start flag
.byte 0xf6 # Line Base Value (Special Opcodes)
.byte 0xf2 # Line Range Value (Special Opcodes)
.byte 0xd # Special Opcode Base
.byte 0 # opcode: 0x1 has 0 args
.byte 0x1 # opcode: 0x2 has 1 args
.byte 0x1 # opcode: 0x3 has 1 args
.byte 0x1 # opcode: 0x4 has 1 args
.byte 0x1 # opcode: 0x5 has 1 args
.byte 0 # opcode: 0x6 has 0 args
.byte 0 # opcode: 0x7 has 0 args
.byte 0 # opcode: 0x8 has 0 args
.byte 0x1 # opcode: 0x9 has 1 args
.byte 0 # opcode: 0xa has 0 args
.byte 0 # opcode: 0xb has 0 args
.byte 0x1 # opcode: 0xc has 1 args
.byte 0 # End directory table
.ascii "typeddwarf.c\0" # File Entry: 0x1
.uleb128 0
.uleb128 0
.uleb128 0
.byte 0 # End file name table
.LELTP0:
.byte 0 # set address *.LM37
.uleb128 0x5
.byte 0x2
.long .LM37
.byte 0x6d # line 87
.byte 0 # set address *.LM38
.uleb128 0x5
.byte 0x2
.long .LM38
.byte 0x18 # line 88
.byte 0 # set address *.LM39
.uleb128 0x5
.byte 0x2
.long .LM39
.byte 0x16 # line 87
.byte 0 # set address *.LM40
.uleb128 0x5
.byte 0x2
.long .LM40
.byte 0x18 # line 88
.byte 0 # set address *.LM41
.uleb128 0x5
.byte 0x2
.long .LM41
.byte 0x16 # line 87
.byte 0 # set address *.LM42
.uleb128 0x5
.byte 0x2
.long .LM42
.byte 0x18 # line 88
.byte 0 # set address *.LM43
.uleb128 0x5
.byte 0x2
.long .LM43
.byte 0x18 # line 89
.byte 0 # set address *.LM44
.uleb128 0x5
.byte 0x2
.long .LM44
.byte 0x18 # line 90
.byte 0 # set address *.LM45
.uleb128 0x5
.byte 0x2
.long .LM45
.byte 0x18 # line 91
.byte 0 # set address *.LM46
.uleb128 0x5
.byte 0x2
.long .LM46
.byte 0x19 # line 93
.byte 0 # set address *.LFE4
.uleb128 0x5
.byte 0x2
.long .LFE4
.byte 0 # end sequence
.uleb128 0x1
.byte 0x1
.byte 0 # set address *.LM1
.uleb128 0x5
.byte 0x2
.long .LM1
.byte 0x20 # line 10
.byte 0 # set address *.LM2
.uleb128 0x5
.byte 0x2
.long .LM2
.byte 0x2a # line 29
.byte 0 # set address *.LM3
.uleb128 0x5
.byte 0x2
.long .LM3
.byte 0x18 # line 30
.byte 0 # set address *.LM4
.uleb128 0x5
.byte 0x2
.long .LM4
.byte 0x1b # line 34
.byte 0 # set address *.LM5
.uleb128 0x5
.byte 0x2
.long .LM5
.byte 0x2a # line 53
.byte 0 # set address *.LM6
.uleb128 0x5
.byte 0x2
.long .LM6
.byte 0x18 # line 54
.byte 0 # set address *.LM7
.uleb128 0x5
.byte 0x2
.long .LM7
.byte 0x3 # advance to line 34
.sleb128 -20
.byte 0x1
.byte 0 # set address *.LM8
.uleb128 0x5
.byte 0x2
.long .LM8
.byte 0x2b # line 54
.byte 0 # set address *.LM9
.uleb128 0x5
.byte 0x2
.long .LM9
.byte 0x16 # line 53
.byte 0 # set address *.LM10
.uleb128 0x5
.byte 0x2
.long .LM10
.byte 0x18 # line 54
.byte 0 # set address *.LM11
.uleb128 0x5
.byte 0x2
.long .LM11
.byte 0x18 # line 55
.byte 0 # set address *.LM12
.uleb128 0x5
.byte 0x2
.long .LM12
.byte 0x16 # line 54
.byte 0 # set address *.LM13
.uleb128 0x5
.byte 0x2
.long .LM13
.byte 0x18 # line 55
.byte 0 # set address *.LM14
.uleb128 0x5
.byte 0x2
.long .LM14
.byte 0x18 # line 56
.byte 0 # set address *.LM15
.uleb128 0x5
.byte 0x2
.long .LM15
.byte 0x16 # line 55
.byte 0 # set address *.LM16
.uleb128 0x5
.byte 0x2
.long .LM16
.byte 0x18 # line 56
.byte 0 # set address *.LM17
.uleb128 0x5
.byte 0x2
.long .LM17
.byte 0x18 # line 57
.byte 0 # set address *.LM18
.uleb128 0x5
.byte 0x2
.long .LM18
.byte 0x16 # line 56
.byte 0 # set address *.LM19
.uleb128 0x5
.byte 0x2
.long .LM19
.byte 0x18 # line 57
.byte 0 # set address *.LM20
.uleb128 0x5
.byte 0x2
.long .LM20
.byte 0x18 # line 58
.byte 0 # set address *.LM21
.uleb128 0x5
.byte 0x2
.long .LM21
.byte 0x16 # line 57
.byte 0 # set address *.LM22
.uleb128 0x5
.byte 0x2
.long .LM22
.byte 0x18 # line 58
.byte 0 # set address *.LM23
.uleb128 0x5
.byte 0x2
.long .LM23
.byte 0x18 # line 59
.byte 0 # set address *.LM24
.uleb128 0x5
.byte 0x2
.long .LM24
.byte 0x1b # line 63
.byte 0 # set address *.LM25
.uleb128 0x5
.byte 0x2
.long .LM25
.byte 0x13 # line 59
.byte 0 # set address *.LM26
.uleb128 0x5
.byte 0x2
.long .LM26
.byte 0x18 # line 60
.byte 0 # set address *.LM27
.uleb128 0x5
.byte 0x2
.long .LM27
.byte 0x18 # line 61
.byte 0 # set address *.LM28
.uleb128 0x5
.byte 0x2
.long .LM28
.byte 0x18 # line 62
.byte 0 # set address *.LM29
.uleb128 0x5
.byte 0x2
.long .LM29
.byte 0x18 # line 63
.byte 0 # set address *.LM30
.uleb128 0x5
.byte 0x2
.long .LM30
.byte 0x18 # line 64
.byte 0 # set address *.LM31
.uleb128 0x5
.byte 0x2
.long .LM31
.byte 0x1b # line 68
.byte 0 # set address *.LM32
.uleb128 0x5
.byte 0x2
.long .LM32
.byte 0x1c # line 73
.byte 0 # set address *.LM33
.uleb128 0x5
.byte 0x2
.long .LM33
.byte 0x18 # line 74
.byte 0 # set address *.LM34
.uleb128 0x5
.byte 0x2
.long .LM34
.byte 0x1b # line 78
.byte 0 # set address *.LM35
.uleb128 0x5
.byte 0x2
.long .LM35
.byte 0x1b # line 82
.byte 0 # set address *.LM36
.uleb128 0x5
.byte 0x2
.long .LM36
.byte 0x18 # line 83
.byte 0 # set address *.Letext0
.uleb128 0x5
.byte 0x2
.long .Letext0
.byte 0 # end sequence
.uleb128 0x1
.byte 0x1
.LELT0:
.section .debug_str,"MS",@progbits,1
.LASF2:
.string "long long int"
.LASF3:
.string "unsigned int"
.LASF8:
.string "_Decimal32"
.LASF4:
.string "long long unsigned int"
.LASF11:
.string "main"
.LASF9:
.string "_Decimal64"
.LASF0:
.string "double"
.LASF10:
.string "_Decimal128"
.LASF7:
.string "/usr/src/gcc/obj/gcc"
.LASF1:
.string "float"
.LASF6:
.string "typeddwarf.c"
.LASF5:
.string "GNU C 4.7.0 20110504 (experimental)"
.ident "GCC: (GNU) 4.7.0 20110504 (experimental)"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 4,740
|
gdb/testsuite/gdb.dwarf2/dw2-error.S
|
/* Copyright (C) 2012-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
This was created using gcc -g -dA dw2-error.c, then hand-editing
it to change the DWARF version.
*/
.file "dw2-error.c"
.text
.Ltext0:
.globl main
.type main, @function
main:
.LFB0:
.file 1 "dw2-error.c"
# dw2-error.c:19
.loc 1 19 0
.cfi_startproc
# basic block 2
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
# dw2-error.c:20
.loc 1 20 0
movl $23, %eax
# dw2-error.c:21
.loc 1 21 0
popq %rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.Letext0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.long 0x4e # Length of Compilation Unit Info
.value 0x99 # DWARF version number
.long .Ldebug_abbrev0 # Offset Into Abbrev. Section
.byte 0x8 # Pointer Size (in bytes)
.uleb128 0x1 # (DIE (0xb) DW_TAG_compile_unit)
.long .LASF0 # DW_AT_producer: "GNU C 4.6.3 20120306 (Red Hat 4.6.3-2) -mtune=generic -march=x86-64 -g"
.byte 0x1 # DW_AT_language
.long .LASF1 # DW_AT_name: "dw2-error.c"
.long .LASF2 # DW_AT_comp_dir: "/tmp"
.quad .Ltext0 # DW_AT_low_pc
.quad .Letext0 # DW_AT_high_pc
.long .Ldebug_line0 # DW_AT_stmt_list
.uleb128 0x2 # (DIE (0x2d) DW_TAG_subprogram)
# DW_AT_external
.long .LASF3 # DW_AT_name: "main"
.byte 0x1 # DW_AT_decl_file (dw2-error.c)
.byte 0x12 # DW_AT_decl_line
.long 0x4a # DW_AT_type
.quad .LFB0 # DW_AT_low_pc
.quad .LFE0 # DW_AT_high_pc
.uleb128 0x1 # DW_AT_frame_base
.byte 0x9c # DW_OP_call_frame_cfa
# DW_AT_GNU_all_call_sites
.uleb128 0x3 # (DIE (0x4a) DW_TAG_base_type)
.byte 0x4 # DW_AT_byte_size
.byte 0x5 # DW_AT_encoding
.ascii "int\0" # DW_AT_name
.byte 0 # end of children of DIE 0xb
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.uleb128 0x1 # (abbrev code)
.uleb128 0x11 # (TAG: DW_TAG_compile_unit)
.byte 0x1 # DW_children_yes
.uleb128 0x25 # (DW_AT_producer)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x13 # (DW_AT_language)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x1b # (DW_AT_comp_dir)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x10 # (DW_AT_stmt_list)
.uleb128 0x17 # (DW_FORM_sec_offset)
.byte 0
.byte 0
.uleb128 0x2 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0 # DW_children_no
.uleb128 0x3f # (DW_AT_external)
.uleb128 0x19 # (DW_FORM_flag_present)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x18 # (DW_FORM_exprloc)
.uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
.uleb128 0x19 # (DW_FORM_flag_present)
.byte 0
.byte 0
.uleb128 0x3 # (abbrev code)
.uleb128 0x24 # (TAG: DW_TAG_base_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3e # (DW_AT_encoding)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.byte 0
.byte 0
.byte 0
.section .debug_aranges,"",@progbits
.long 0x2c # Length of Address Ranges Info
.value 0x2 # DWARF Version
.long .Ldebug_info0 # Offset of Compilation Unit Info
.byte 0x8 # Size of Address
.byte 0 # Size of Segment Descriptor
.value 0 # Pad to 16 byte boundary
.value 0
.quad .Ltext0 # Address
.quad .Letext0-.Ltext0 # Length
.quad 0
.quad 0
.section .debug_line,"",@progbits
.Ldebug_line0:
.section .debug_str,"MS",@progbits,1
.LASF0:
.string "GNU C 4.6.3 20120306 (Red Hat 4.6.3-2) -mtune=generic -march=x86-64 -g"
.LASF2:
.string "/tmp"
.LASF3:
.string "main"
.LASF1:
.string "dw2-error.c"
.ident "GCC: (GNU) 4.6.3 20120306 (Red Hat 4.6.3-2)"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 3,246
|
gdb/testsuite/gdb.dwarf2/dw2-minsym-in-cu.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2004-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#define CONCAT1(a, b) CONCAT2(a, b)
#define CONCAT2(a, b) a ## b
#ifdef SYMBOL_PREFIX
# define SYMBOL(str) CONCAT1(SYMBOL_PREFIX, str)
#else
# define SYMBOL(str) str
#endif
.text
.Lbegin_text1:
.globl SYMBOL(main)
.type SYMBOL(main), %function
SYMBOL(main):
.Lbegin_main:
.int 0
.Lend_main:
.size SYMBOL(main), .-SYMBOL(main)
.globl func2
.type func2, %function
func2:
.int 0
.size func2, .-func2
.Lend_text1:
/* Debug information */
.section .debug_info
.Lcu1_begin:
/* CU header */
.4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */
.Lcu1_start:
.2byte 2 /* DWARF Version */
.4byte .Labbrev1_begin /* Offset into abbrev section */
.byte 4 /* Pointer size */
/* CU die */
.uleb128 1 /* Abbrev: DW_TAG_compile_unit */
.4byte .Lend_text1 /* DW_AT_high_pc */
.4byte .Lbegin_text1 /* DW_AT_low_pc */
.ascii "file1.txt\0" /* DW_AT_name */
.ascii "GNU C 3.3.3\0" /* DW_AT_producer */
.byte 1 /* DW_AT_language (C) */
/* main */
.uleb128 2 /* Abbrev: DW_TAG_subprogram */
.byte 1 /* DW_AT_external */
.ascii "main\0" /* DW_AT_name */
.4byte .Ldebug_ranges /* DW_AT_ranges */
.byte 0 /* End of children of CU */
.Lcu1_end:
/* DW_AT_ranges. */
.section .debug_ranges
.Ldebug_ranges:
.4byte .Lbegin_main
.4byte .Lend_main - 1
/* Make it slightly more interesting to set pending_addrmap_interesting. */
.4byte .Lend_main - 1
.4byte .Lend_main
.4byte 0
.4byte 0
/* Abbrev table */
.section .debug_abbrev
.Labbrev1_begin:
.uleb128 1 /* Abbrev code */
.uleb128 0x11 /* DW_TAG_compile_unit */
.byte 1 /* has_children */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x25 /* DW_AT_producer */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x13 /* DW_AT_language */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 2 /* Abbrev code */
.uleb128 0x2e /* DW_TAG_subprogram */
.byte 0 /* has_children */
.uleb128 0x3f /* DW_AT_external */
.uleb128 0xc /* DW_FORM_flag */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x55 /* DW_AT_ranges */
.uleb128 0x6 /* DW_FORM_data4 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
|
stsp/binutils-ia16
| 9,137
|
gdb/testsuite/gdb.dwarf2/dw2-intercu.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2004-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* Test a minimal file containing DWARF-2 information. This test also
serves as a skeleton for other DWARF-2 tests. Most other tests will
not be this extensively itemized and commented... */
/* Dummy function to provide debug information for. */
.text
.Lbegin_text1:
.globl func_cu1
.type func_cu1, %function
func_cu1:
.Lbegin_func_cu1:
.int 0
.Lend_func_cu1:
.size func_cu1, .-func_cu1
.Lend_text1:
/* Debug information */
.section .debug_info
.Lcu1_begin:
/* CU header */
.4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */
.Lcu1_start:
.2byte 2 /* DWARF Version */
.4byte .Labbrev1_begin /* Offset into abbrev section */
.byte 4 /* Pointer size */
/* CU die */
.uleb128 1 /* Abbrev: DW_TAG_compile_unit */
.4byte .Lline1_begin /* DW_AT_stmt_list */
.4byte .Lend_text1 /* DW_AT_high_pc */
.4byte .Lbegin_text1 /* DW_AT_low_pc */
.ascii "file1.txt\0" /* DW_AT_name */
.ascii "GNU C 3.3.3\0" /* DW_AT_producer */
.byte 1 /* DW_AT_language (C) */
/* func_cu1 */
.uleb128 2 /* Abbrev: DW_TAG_subprogram */
.byte 1 /* DW_AT_external */
.byte 1 /* DW_AT_decl_file */
.byte 2 /* DW_AT_decl_line */
.ascii "func_cu1\0" /* DW_AT_name */
.4byte .Ltype_int2_in_cu2 /* DW_AT_type */
.4byte .Lbegin_func_cu1 /* DW_AT_low_pc */
.4byte .Lend_func_cu1 /* DW_AT_high_pc */
.byte 1 /* DW_AT_frame_base: length */
.byte 0x55 /* DW_AT_frame_base: DW_OP_reg5 */
/* This type is named "int1" and not "int" to ensure it is unique,
and thus we can easily ensure we expand this CU and not some
other CU with "int". */
.Ltype_int1_in_cu1:
.uleb128 3 /* Abbrev: DW_TAG_base_type */
.ascii "int1\0" /* DW_AT_name */
.byte 4 /* DW_AT_byte_size */
.byte 5 /* DW_AT_encoding */
.Ltype_const_int1_in_cu1:
.uleb128 4 /* Abbrev: DW_TAG_const_type */
.4byte .Ltype_int1_in_cu1-.Lcu1_begin /* DW_AT_type */
.uleb128 5 /* Abbrev: DW_TAG_variable */
.ascii "one\0" /* DW_AT_name */
.4byte .Ltype_const_int1_in_cu1-.Lcu1_begin /* DW_AT_type */
.byte 1 /* DW_AT_const_value */
.byte 0 /* End of children of CU */
.Lcu1_end:
/* Second compilation unit. */
.Lcu2_begin:
/* CU header */
.4byte .Lcu2_end - .Lcu2_start /* Length of Compilation Unit */
.Lcu2_start:
.2byte 2 /* DWARF Version */
.4byte .Labbrev2_begin /* Offset into abbrev section */
.byte 4 /* Pointer size */
/* CU die */
.uleb128 1 /* Abbrev: DW_TAG_compile_unit */
.ascii "file1.txt\0" /* DW_AT_name */
.ascii "GNU C 3.3.3\0" /* DW_AT_producer */
.byte 1 /* DW_AT_language (C) */
/* This type is named "int2" and not "int" to ensure it is unique,
and thus we can easily ensure we expand this CU and not some
other CU with "int". */
.Ltype_int2_in_cu2:
.uleb128 2 /* Abbrev: DW_TAG_base_type */
.ascii "int2\0" /* DW_AT_name */
.byte 4 /* DW_AT_byte_size */
.byte 5 /* DW_AT_encoding */
.Ltype_const_int2_in_cu2:
.uleb128 3 /* Abbrev: DW_TAG_const_type */
.4byte .Ltype_int2_in_cu2-.Lcu2_begin /* DW_AT_type */
.uleb128 4 /* Abbrev: DW_TAG_variable */
.ascii "two\0" /* DW_AT_name */
.4byte .Ltype_const_int2_in_cu2-.Lcu2_begin /* DW_AT_type */
.byte 2 /* DW_AT_const_value */
.byte 0 /* End of children of CU */
.Lcu2_end:
/* Abbrev table */
.section .debug_abbrev
.Labbrev1_begin:
.uleb128 1 /* Abbrev code */
.uleb128 0x11 /* DW_TAG_compile_unit */
.byte 1 /* has_children */
.uleb128 0x10 /* DW_AT_stmt_list */
.uleb128 0x6 /* DW_FORM_data4 */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x25 /* DW_AT_producer */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x13 /* DW_AT_language */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 2 /* Abbrev code */
.uleb128 0x2e /* DW_TAG_subprogram */
.byte 0 /* has_children */
.uleb128 0x3f /* DW_AT_external */
.uleb128 0xc /* DW_FORM_flag */
.uleb128 0x3a /* DW_AT_decl_file */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3b /* DW_AT_decl_line */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x10 /* DW_FORM_ref_addr */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x40 /* DW_AT_frame_base */
.uleb128 0xa /* DW_FORM_block1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 3 /* Abbrev code */
.uleb128 0x24 /* DW_TAG_base_type */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0xb /* DW_AT_byte_size */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3e /* DW_AT_encoding */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 4 /* Abbrev code */
.uleb128 0x26 /* DW_TAG_const_type */
.byte 0x0 /* DW_children_no */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 5 /* Abbrev code */
.uleb128 0x34 /* DW_TAG_variable */
.byte 0x0 /* DW_children_no */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x1c /* DW_AT_const_value */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.Labbrev2_begin:
.uleb128 1 /* Abbrev code */
.uleb128 0x11 /* DW_TAG_compile_unit */
.byte 1 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x25 /* DW_AT_producer */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x13 /* DW_AT_language */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 2 /* Abbrev code */
.uleb128 0x24 /* DW_TAG_base_type */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0xb /* DW_AT_byte_size */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3e /* DW_AT_encoding */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 3 /* Abbrev code */
.uleb128 0x26 /* DW_TAG_const_type */
.byte 0x0 /* DW_children_no */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 4 /* Abbrev code */
.uleb128 0x34 /* DW_TAG_variable */
.byte 0x0 /* DW_children_no */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x1c /* DW_AT_const_value */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
/* Line table */
.section .debug_line
.Lline1_begin:
.4byte .Lline1_end - .Lline1_start /* Initial length */
.Lline1_start:
.2byte 2 /* Version */
.4byte .Lline1_lines - .Lline1_hdr /* header_length */
.Lline1_hdr:
.byte 1 /* Minimum insn length */
.byte 1 /* default_is_stmt */
.byte 1 /* line_base */
.byte 1 /* line_range */
.byte 0x10 /* opcode_base */
/* Standard lengths */
.byte 0
.byte 1
.byte 1
.byte 1
.byte 1
.byte 0
.byte 0
.byte 0
.byte 1
.byte 0
.byte 0
.byte 1
.byte 0
.byte 0
.byte 0
/* Include directories */
.byte 0
/* File names */
.ascii "file1.txt\0"
.uleb128 0
.uleb128 0
.uleb128 0
.byte 0
.Lline1_lines:
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
.4byte .Lbegin_func_cu1
.byte 3 /* DW_LNS_advance_line */
.sleb128 3 /* ... to 4 */
.byte 1 /* DW_LNS_copy */
.byte 1 /* DW_LNS_copy (second time as an end-of-prologue marker) */
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
.4byte .Lend_func_cu1
.byte 0 /* DW_LNE_end_of_sequence */
.uleb128 1
.byte 1
.Lline1_end:
|
stsp/binutils-ia16
| 4,950
|
gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2007-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* Debug information */
.section .debug_info
.Lcu1_begin:
/* CU header */
.4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */
.Lcu1_start:
.2byte 2 /* DWARF Version */
.4byte .Labbrev1_begin /* Offset into abbrev section */
.byte 4 /* Pointer size */
/* CU die */
.uleb128 1 /* Abbrev: DW_TAG_compile_unit */
.4byte FUNC_LOOPFB_END /* DW_AT_high_pc */
.4byte FUNC_NOFB_START /* DW_AT_low_pc */
.ascii "file1.txt\0" /* DW_AT_name */
.ascii "GNU C 3.3.3\0" /* DW_AT_producer */
.byte 1 /* DW_AT_language (C) */
.Ltype_int:
.uleb128 3 /* Abbrev: DW_TAG_base_type */
.ascii "int\0" /* DW_AT_name */
.byte 4 /* DW_AT_byte_size */
.byte 5 /* DW_AT_encoding */
/* func_nofb */
.uleb128 5 /* Abbrev: DW_TAG_subprogram (no fb) */
.ascii "func_nofb\0" /* DW_AT_name */
.4byte FUNC_NOFB_START /* DW_AT_low_pc */
.4byte FUNC_NOFB_END /* DW_AT_high_pc */
.uleb128 7 /* Abbrev: DW_TAG_variable (location) */
.ascii "func_nofb_var\0" /* DW_AT_name */
.byte 2f - 1f /* DW_AT_location */
1: .byte 0x91 /* DW_OP_fbreg */
.sleb128 0 /* 0 */
2: .4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.byte 0 /* End of children of func */
/* func_loopfb */
.uleb128 6 /* Abbrev: DW_TAG_subprogram (loop fb) */
.ascii "func_loopfb\0" /* DW_AT_name */
.4byte FUNC_LOOPFB_START /* DW_AT_low_pc */
.4byte FUNC_LOOPFB_END /* DW_AT_high_pc */
.byte 2f - 1f /* DW_AT_frame_base */
1: .byte 0x91 /* DW_OP_fbreg */
.sleb128 0 /* 0 */
2:
.uleb128 7 /* Abbrev: DW_TAG_variable (location) */
.ascii "func_loopfb_var\0" /* DW_AT_name */
.byte 2f - 1f /* DW_AT_location */
1: .byte 0x91 /* DW_OP_fbreg */
.sleb128 0 /* 0 */
2: .4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.byte 0 /* End of children of func */
.byte 0 /* End of children of CU */
.Lcu1_end:
/* Abbrev table */
.section .debug_abbrev
.Labbrev1_begin:
.uleb128 1 /* Abbrev code */
.uleb128 0x11 /* DW_TAG_compile_unit */
.byte 1 /* has_children */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x25 /* DW_AT_producer */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x13 /* DW_AT_language */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 3 /* Abbrev code */
.uleb128 0x24 /* DW_TAG_base_type */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0xb /* DW_AT_byte_size */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3e /* DW_AT_encoding */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 5 /* Abbrev code */
.uleb128 0x2e /* DW_TAG_subprogram (no fb) */
.byte 1 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 6 /* Abbrev code */
.uleb128 0x2e /* DW_TAG_subprogram (loop fb) */
.byte 1 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x40 /* DW_AT_frame_base */
.uleb128 0xa /* DW_FORM_block1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 7 /* Abbrev code (location) */
.uleb128 0x34 /* DW_TAG_variable */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x2 /* DW_AT_location */
.uleb128 0xa /* DW_FORM_block1 */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
|
stsp/binutils-ia16
| 51,319
|
gdb/testsuite/gdb.dwarf2/pieces.S
|
/*
Copyright 2010-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This was compiled with a version of gcc modified to emit better
debuginfo for SRA'd structures. See:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43983
The original program is "pieces.c", in this directory.
*/
.file "pieces.c"
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.section .debug_line,"",@progbits
.Ldebug_line0:
.text
.Ltext0:
.p2align 4,,15
.globl bar
.type bar, @function
bar:
.LFB0:
.file 1 "pieces.c"
# pieces.c:29
.loc 1 29 0
.LVL0:
# basic block 2
pushl %ebp
.LCFI0:
movl %esp, %ebp
.LCFI1:
# pieces.c:30
.loc 1 30 0
movl 8(%ebp), %eax
# pieces.c:31
.loc 1 31 0
popl %ebp
.LCFI2:
ret
.LFE0:
.size bar, .-bar
.p2align 4,,15
.globl f1
.type f1, @function
f1:
.LFB1:
# pieces.c:35
.loc 1 35 0
.LVL1:
# basic block 2
pushl %ebp
.LCFI3:
movl %esp, %ebp
.LCFI4:
.LVL2:
subl $12, %esp
.LCFI5:
movl %esi, -4(%ebp)
.LCFI6:
# pieces.c:38
.loc 1 38 0
movl 8(%ebp), %esi
# pieces.c:35
.loc 1 35 0
movl %ebx, -8(%ebp)
.LCFI7:
# pieces.c:37
.loc 1 37 0
movl $4, %ebx
.LVL3:
# pieces.c:39
.loc 1 39 0
movl %ebx, (%esp)
# pieces.c:38
.loc 1 38 0
addl $7, %esi
.LVL4:
# pieces.c:39
.loc 1 39 0
call bar
# pieces.c:40
.loc 1 40 0
movl %esi, (%esp)
call bar
# pieces.c:41
.loc 1 41 0
leal (%ebx,%esi), %eax
# pieces.c:42
.loc 1 42 0
movl -8(%ebp), %ebx
.LVL5:
movl -4(%ebp), %esi
.LVL6:
movl %ebp, %esp
.LCFI8:
popl %ebp
.LCFI9:
ret
.LFE1:
.size f1, .-f1
.p2align 4,,15
.globl f2
.type f2, @function
f2:
.LFB2:
# pieces.c:46
.loc 1 46 0
.LVL7:
# basic block 2
pushl %ebp
.LCFI10:
movl %esp, %ebp
.LCFI11:
.LVL8:
subl $12, %esp
.LCFI12:
movl %esi, -4(%ebp)
.LCFI13:
# pieces.c:49
.loc 1 49 0
movl 8(%ebp), %esi
# pieces.c:46
.loc 1 46 0
movl %ebx, -8(%ebp)
.LCFI14:
# pieces.c:48
.loc 1 48 0
movl $4, %ebx
.LVL9:
# pieces.c:50
.loc 1 50 0
movl %ebx, (%esp)
# pieces.c:49
.loc 1 49 0
addl $7, %esi
.LVL10:
# pieces.c:50
.loc 1 50 0
call bar
# pieces.c:51
.loc 1 51 0
movl %esi, (%esp)
call bar
# pieces.c:52
.loc 1 52 0
leal (%ebx,%esi), %eax
# pieces.c:53
.loc 1 53 0
movl -8(%ebp), %ebx
.LVL11:
movl -4(%ebp), %esi
.LVL12:
movl %ebp, %esp
.LCFI15:
popl %ebp
.LCFI16:
ret
.LFE2:
.size f2, .-f2
.p2align 4,,15
.globl f3
.type f3, @function
f3:
.LFB3:
# pieces.c:57
.loc 1 57 0
.LVL13:
# basic block 2
pushl %ebp
.LCFI17:
# pieces.c:59
.loc 1 59 0
movl $4, %edx
# pieces.c:57
.loc 1 57 0
movl %esp, %ebp
.LCFI18:
.LVL14:
subl $12, %esp
.LCFI19:
# pieces.c:59
.loc 1 59 0
.LVL15:
# pieces.c:57
.loc 1 57 0
movl %esi, -4(%ebp)
.LCFI20:
# pieces.c:61
.loc 1 61 0
movswl %dx, %esi
# pieces.c:57
.loc 1 57 0
movl %ebx, -8(%ebp)
.LCFI21:
# pieces.c:61
.loc 1 61 0
movl %esi, (%esp)
call bar
.LVL16:
# pieces.c:58
.loc 1 58 0
movl 8(%ebp), %edx
sall $4, %edx
# pieces.c:60
.loc 1 60 0
addl $112, %edx
sarw $4, %dx
# pieces.c:62
.loc 1 62 0
movswl %dx, %ebx
movl %ebx, (%esp)
call bar
# pieces.c:63
.loc 1 63 0
leal (%esi,%ebx), %eax
# pieces.c:64
.loc 1 64 0
movl -8(%ebp), %ebx
movl -4(%ebp), %esi
.LVL17:
movl %ebp, %esp
.LCFI22:
popl %ebp
.LCFI23:
ret
.LFE3:
.size f3, .-f3
.p2align 4,,15
.globl f4
.type f4, @function
f4:
.LFB4:
# pieces.c:68
.loc 1 68 0
.LVL18:
# basic block 2
pushl %ebp
.LCFI24:
movl %esp, %ebp
.LCFI25:
subl $12, %esp
.LCFI26:
movl %esi, -4(%ebp)
.LCFI27:
movl 8(%ebp), %esi
.LVL19:
movl %ebx, -8(%ebp)
.LCFI28:
# pieces.c:70
.loc 1 70 0
movl %esi, %ebx
# pieces.c:71
.loc 1 71 0
addl $1, %esi
# pieces.c:70
.loc 1 70 0
.LVL20:
# pieces.c:72
.loc 1 72 0
movl %ebx, (%esp)
call bar
# pieces.c:73
.loc 1 73 0
movl %esi, (%esp)
call bar
# pieces.c:74
.loc 1 74 0
leal (%ebx,%esi), %eax
# pieces.c:75
.loc 1 75 0
movl -8(%ebp), %ebx
.LVL21:
movl -4(%ebp), %esi
.LVL22:
movl %ebp, %esp
.LCFI29:
popl %ebp
.LCFI30:
ret
.LFE4:
.size f4, .-f4
.p2align 4,,15
.globl f5
.type f5, @function
f5:
.LFB5:
# pieces.c:79
.loc 1 79 0
.LVL23:
# basic block 2
pushl %ebp
.LCFI31:
movl %esp, %ebp
.LCFI32:
subl $12, %esp
.LCFI33:
movl %esi, -4(%ebp)
.LCFI34:
movl 8(%ebp), %esi
.LVL24:
movl %ebx, -8(%ebp)
.LCFI35:
# pieces.c:81
.loc 1 81 0
movl %esi, %ebx
# pieces.c:82
.loc 1 82 0
addl $1, %esi
# pieces.c:81
.loc 1 81 0
.LVL25:
# pieces.c:83
.loc 1 83 0
movl %ebx, (%esp)
call bar
# pieces.c:84
.loc 1 84 0
movl %esi, (%esp)
call bar
# pieces.c:85
.loc 1 85 0
leal (%ebx,%esi), %eax
# pieces.c:86
.loc 1 86 0
movl -8(%ebp), %ebx
.LVL26:
movl -4(%ebp), %esi
.LVL27:
movl %ebp, %esp
.LCFI36:
popl %ebp
.LCFI37:
ret
.LFE5:
.size f5, .-f5
.p2align 4,,15
.globl f6
.type f6, @function
f6:
.LFB6:
# pieces.c:90
.loc 1 90 0
.LVL28:
# basic block 2
pushl %ebp
.LCFI38:
movl %esp, %ebp
.LCFI39:
subl $12, %esp
.LCFI40:
movl %esi, -4(%ebp)
.LCFI41:
movl 8(%ebp), %esi
.LVL29:
movl %ebx, -8(%ebp)
.LCFI42:
# pieces.c:93
.loc 1 93 0
movl %esi, %ebx
# pieces.c:94
.loc 1 94 0
addl $1, %esi
# pieces.c:93
.loc 1 93 0
.LVL30:
# pieces.c:95
.loc 1 95 0
movl %ebx, (%esp)
call bar
# pieces.c:96
.loc 1 96 0
movl %esi, (%esp)
call bar
# pieces.c:97
.loc 1 97 0
leal (%ebx,%esi), %eax
# pieces.c:98
.loc 1 98 0
movl -8(%ebp), %ebx
.LVL31:
movl -4(%ebp), %esi
.LVL32:
movl %ebp, %esp
.LCFI43:
popl %ebp
.LCFI44:
ret
.LFE6:
.size f6, .-f6
.p2align 4,,15
.globl main
.type main, @function
main:
.LFB7:
# pieces.c:102
.loc 1 102 0
# basic block 2
pushl %ebp
.LCFI45:
movl %esp, %ebp
.LCFI46:
pushl %ebx
.LCFI47:
# pieces.c:104
.loc 1 104 0
movl $7, %ebx
# pieces.c:102
.loc 1 102 0
subl $4, %esp
.LCFI48:
# pieces.c:104
.loc 1 104 0
.LVL33:
# pieces.c:105
.loc 1 105 0
movl %ebx, (%esp)
call f1
# pieces.c:106
.loc 1 106 0
movl %ebx, (%esp)
call f2
# pieces.c:107
.loc 1 107 0
movl %ebx, (%esp)
call f3
# pieces.c:108
.loc 1 108 0
movl %ebx, (%esp)
call f4
# pieces.c:109
.loc 1 109 0
movl %ebx, (%esp)
call f5
# pieces.c:110
.loc 1 110 0
movl %ebx, (%esp)
call f6
# pieces.c:112
.loc 1 112 0
addl $4, %esp
xorl %eax, %eax
popl %ebx
.LCFI49:
.LVL34:
popl %ebp
.LCFI50:
ret
.LFE7:
.size main, .-main
#APP
.section .debug_frame,"",@progbits
.Lframe0:
.long .LECIE0-.LSCIE0 # Length of Common Information Entry
.LSCIE0:
.long 0xffffffff # CIE Identifier Tag
.byte 0x1 # CIE Version
.ascii "\0" # CIE Augmentation
.uleb128 0x1 # CIE Code Alignment Factor
.sleb128 -4 # CIE Data Alignment Factor
.byte 0x8 # CIE RA Column
.byte 0xc # DW_CFA_def_cfa
.uleb128 0x4
.uleb128 0x4
.byte 0x88 # DW_CFA_offset, column 0x8
.uleb128 0x1
.align 4
.LECIE0:
.LSFDE0:
.long .LEFDE0-.LASFDE0 # FDE Length
.LASFDE0:
.long .Lframe0 # FDE CIE offset
.long .LFB0 # FDE initial location
.long .LFE0-.LFB0 # FDE address range
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI0-.LFB0
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x8
.byte 0x85 # DW_CFA_offset, column 0x5
.uleb128 0x2
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI1-.LCFI0
.byte 0xd # DW_CFA_def_cfa_register
.uleb128 0x5
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI2-.LCFI1
.byte 0xc5 # DW_CFA_restore, column 0x5
.byte 0xc # DW_CFA_def_cfa
.uleb128 0x4
.uleb128 0x4
.align 4
.LEFDE0:
.LSFDE2:
.long .LEFDE2-.LASFDE2 # FDE Length
.LASFDE2:
.long .Lframe0 # FDE CIE offset
.long .LFB1 # FDE initial location
.long .LFE1-.LFB1 # FDE address range
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI3-.LFB1
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x8
.byte 0x85 # DW_CFA_offset, column 0x5
.uleb128 0x2
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI4-.LCFI3
.byte 0xd # DW_CFA_def_cfa_register
.uleb128 0x5
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI6-.LCFI4
.byte 0x86 # DW_CFA_offset, column 0x6
.uleb128 0x3
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI7-.LCFI6
.byte 0x83 # DW_CFA_offset, column 0x3
.uleb128 0x4
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI8-.LCFI7
.byte 0xd # DW_CFA_def_cfa_register
.uleb128 0x4
.byte 0xc6 # DW_CFA_restore, column 0x6
.byte 0xc3 # DW_CFA_restore, column 0x3
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI9-.LCFI8
.byte 0xc5 # DW_CFA_restore, column 0x5
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x4
.align 4
.LEFDE2:
.LSFDE4:
.long .LEFDE4-.LASFDE4 # FDE Length
.LASFDE4:
.long .Lframe0 # FDE CIE offset
.long .LFB2 # FDE initial location
.long .LFE2-.LFB2 # FDE address range
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI10-.LFB2
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x8
.byte 0x85 # DW_CFA_offset, column 0x5
.uleb128 0x2
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI11-.LCFI10
.byte 0xd # DW_CFA_def_cfa_register
.uleb128 0x5
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI13-.LCFI11
.byte 0x86 # DW_CFA_offset, column 0x6
.uleb128 0x3
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI14-.LCFI13
.byte 0x83 # DW_CFA_offset, column 0x3
.uleb128 0x4
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI15-.LCFI14
.byte 0xd # DW_CFA_def_cfa_register
.uleb128 0x4
.byte 0xc6 # DW_CFA_restore, column 0x6
.byte 0xc3 # DW_CFA_restore, column 0x3
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI16-.LCFI15
.byte 0xc5 # DW_CFA_restore, column 0x5
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x4
.align 4
.LEFDE4:
.LSFDE6:
.long .LEFDE6-.LASFDE6 # FDE Length
.LASFDE6:
.long .Lframe0 # FDE CIE offset
.long .LFB3 # FDE initial location
.long .LFE3-.LFB3 # FDE address range
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI17-.LFB3
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x8
.byte 0x85 # DW_CFA_offset, column 0x5
.uleb128 0x2
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI18-.LCFI17
.byte 0xd # DW_CFA_def_cfa_register
.uleb128 0x5
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI20-.LCFI18
.byte 0x86 # DW_CFA_offset, column 0x6
.uleb128 0x3
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI21-.LCFI20
.byte 0x83 # DW_CFA_offset, column 0x3
.uleb128 0x4
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI22-.LCFI21
.byte 0xd # DW_CFA_def_cfa_register
.uleb128 0x4
.byte 0xc6 # DW_CFA_restore, column 0x6
.byte 0xc3 # DW_CFA_restore, column 0x3
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI23-.LCFI22
.byte 0xc5 # DW_CFA_restore, column 0x5
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x4
.align 4
.LEFDE6:
.LSFDE8:
.long .LEFDE8-.LASFDE8 # FDE Length
.LASFDE8:
.long .Lframe0 # FDE CIE offset
.long .LFB4 # FDE initial location
.long .LFE4-.LFB4 # FDE address range
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI24-.LFB4
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x8
.byte 0x85 # DW_CFA_offset, column 0x5
.uleb128 0x2
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI25-.LCFI24
.byte 0xd # DW_CFA_def_cfa_register
.uleb128 0x5
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI27-.LCFI25
.byte 0x86 # DW_CFA_offset, column 0x6
.uleb128 0x3
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI28-.LCFI27
.byte 0x83 # DW_CFA_offset, column 0x3
.uleb128 0x4
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI29-.LCFI28
.byte 0xd # DW_CFA_def_cfa_register
.uleb128 0x4
.byte 0xc6 # DW_CFA_restore, column 0x6
.byte 0xc3 # DW_CFA_restore, column 0x3
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI30-.LCFI29
.byte 0xc5 # DW_CFA_restore, column 0x5
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x4
.align 4
.LEFDE8:
.LSFDE10:
.long .LEFDE10-.LASFDE10 # FDE Length
.LASFDE10:
.long .Lframe0 # FDE CIE offset
.long .LFB5 # FDE initial location
.long .LFE5-.LFB5 # FDE address range
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI31-.LFB5
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x8
.byte 0x85 # DW_CFA_offset, column 0x5
.uleb128 0x2
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI32-.LCFI31
.byte 0xd # DW_CFA_def_cfa_register
.uleb128 0x5
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI34-.LCFI32
.byte 0x86 # DW_CFA_offset, column 0x6
.uleb128 0x3
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI35-.LCFI34
.byte 0x83 # DW_CFA_offset, column 0x3
.uleb128 0x4
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI36-.LCFI35
.byte 0xd # DW_CFA_def_cfa_register
.uleb128 0x4
.byte 0xc6 # DW_CFA_restore, column 0x6
.byte 0xc3 # DW_CFA_restore, column 0x3
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI37-.LCFI36
.byte 0xc5 # DW_CFA_restore, column 0x5
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x4
.align 4
.LEFDE10:
.LSFDE12:
.long .LEFDE12-.LASFDE12 # FDE Length
.LASFDE12:
.long .Lframe0 # FDE CIE offset
.long .LFB6 # FDE initial location
.long .LFE6-.LFB6 # FDE address range
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI38-.LFB6
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x8
.byte 0x85 # DW_CFA_offset, column 0x5
.uleb128 0x2
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI39-.LCFI38
.byte 0xd # DW_CFA_def_cfa_register
.uleb128 0x5
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI41-.LCFI39
.byte 0x86 # DW_CFA_offset, column 0x6
.uleb128 0x3
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI42-.LCFI41
.byte 0x83 # DW_CFA_offset, column 0x3
.uleb128 0x4
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI43-.LCFI42
.byte 0xd # DW_CFA_def_cfa_register
.uleb128 0x4
.byte 0xc6 # DW_CFA_restore, column 0x6
.byte 0xc3 # DW_CFA_restore, column 0x3
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI44-.LCFI43
.byte 0xc5 # DW_CFA_restore, column 0x5
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x4
.align 4
.LEFDE12:
.LSFDE14:
.long .LEFDE14-.LASFDE14 # FDE Length
.LASFDE14:
.long .Lframe0 # FDE CIE offset
.long .LFB7 # FDE initial location
.long .LFE7-.LFB7 # FDE address range
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI45-.LFB7
.byte 0xe # DW_CFA_def_cfa_offset
.uleb128 0x8
.byte 0x85 # DW_CFA_offset, column 0x5
.uleb128 0x2
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI46-.LCFI45
.byte 0xd # DW_CFA_def_cfa_register
.uleb128 0x5
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI47-.LCFI46
.byte 0x83 # DW_CFA_offset, column 0x3
.uleb128 0x3
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI49-.LCFI47
.byte 0xc3 # DW_CFA_restore, column 0x3
.byte 0x4 # DW_CFA_advance_loc4
.long .LCFI50-.LCFI49
.byte 0xc5 # DW_CFA_restore, column 0x5
.byte 0xc # DW_CFA_def_cfa
.uleb128 0x4
.uleb128 0x4
.align 4
.LEFDE14:
#NO_APP
.text
.Letext0:
.section .debug_loc,"",@progbits
.Ldebug_loc0:
.LLST0:
.long .LFB0-.Ltext0 # Location list begin address (*.LLST0)
.long .LCFI0-.Ltext0 # Location list end address (*.LLST0)
.value 0x2 # Location expression size
.byte 0x74 # DW_OP_breg4
.sleb128 4
.long .LCFI0-.Ltext0 # Location list begin address (*.LLST0)
.long .LCFI1-.Ltext0 # Location list end address (*.LLST0)
.value 0x2 # Location expression size
.byte 0x74 # DW_OP_breg4
.sleb128 8
.long .LCFI1-.Ltext0 # Location list begin address (*.LLST0)
.long .LCFI2-.Ltext0 # Location list end address (*.LLST0)
.value 0x2 # Location expression size
.byte 0x75 # DW_OP_breg5
.sleb128 8
.long .LCFI2-.Ltext0 # Location list begin address (*.LLST0)
.long .LFE0-.Ltext0 # Location list end address (*.LLST0)
.value 0x2 # Location expression size
.byte 0x74 # DW_OP_breg4
.sleb128 4
.long 0 # Location list terminator begin (*.LLST0)
.long 0 # Location list terminator end (*.LLST0)
.LLST1:
.long .LFB1-.Ltext0 # Location list begin address (*.LLST1)
.long .LCFI3-.Ltext0 # Location list end address (*.LLST1)
.value 0x2 # Location expression size
.byte 0x74 # DW_OP_breg4
.sleb128 4
.long .LCFI3-.Ltext0 # Location list begin address (*.LLST1)
.long .LCFI4-.Ltext0 # Location list end address (*.LLST1)
.value 0x2 # Location expression size
.byte 0x74 # DW_OP_breg4
.sleb128 8
.long .LCFI4-.Ltext0 # Location list begin address (*.LLST1)
.long .LCFI8-.Ltext0 # Location list end address (*.LLST1)
.value 0x2 # Location expression size
.byte 0x75 # DW_OP_breg5
.sleb128 8
.long .LCFI8-.Ltext0 # Location list begin address (*.LLST1)
.long .LCFI9-.Ltext0 # Location list end address (*.LLST1)
.value 0x2 # Location expression size
.byte 0x74 # DW_OP_breg4
.sleb128 8
.long .LCFI9-.Ltext0 # Location list begin address (*.LLST1)
.long .LFE1-.Ltext0 # Location list end address (*.LLST1)
.value 0x2 # Location expression size
.byte 0x74 # DW_OP_breg4
.sleb128 4
.long 0 # Location list terminator begin (*.LLST1)
.long 0 # Location list terminator end (*.LLST1)
.LLST2:
.long .LVL1-.Ltext0 # Location list begin address (*.LLST2)
.long .LVL2-.Ltext0 # Location list end address (*.LLST2)
.value 0x6 # Location expression size
.byte 0x34 # DW_OP_lit4
.byte 0x9f # DW_OP_stack_value
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.long .LVL2-.Ltext0 # Location list begin address (*.LLST2)
.long .LVL3-.Ltext0 # Location list end address (*.LLST2)
.value 0xc # Location expression size
.byte 0x34 # DW_OP_lit4
.byte 0x9f # DW_OP_stack_value
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.byte 0x6 # DW_OP_deref
.byte 0x23 # DW_OP_plus_uconst
.uleb128 0x6
.byte 0x9f # DW_OP_stack_value
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.long .LVL3-.Ltext0 # Location list begin address (*.LLST2)
.long .LVL4-.Ltext0 # Location list end address (*.LLST2)
.value 0xb # Location expression size
.byte 0x53 # DW_OP_reg3
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.byte 0x6 # DW_OP_deref
.byte 0x23 # DW_OP_plus_uconst
.uleb128 0x6
.byte 0x9f # DW_OP_stack_value
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.long .LVL4-.Ltext0 # Location list begin address (*.LLST2)
.long .LVL5-.Ltext0 # Location list end address (*.LLST2)
.value 0x6 # Location expression size
.byte 0x53 # DW_OP_reg3
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.byte 0x56 # DW_OP_reg6
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.long .LVL5-.Ltext0 # Location list begin address (*.LLST2)
.long .LVL6-.Ltext0 # Location list end address (*.LLST2)
.value 0x5 # Location expression size
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.byte 0x56 # DW_OP_reg6
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.long 0 # Location list terminator begin (*.LLST2)
.long 0 # Location list terminator end (*.LLST2)
.LLST3:
.long .LFB2-.Ltext0 # Location list begin address (*.LLST3)
.long .LCFI10-.Ltext0 # Location list end address (*.LLST3)
.value 0x2 # Location expression size
.byte 0x74 # DW_OP_breg4
.sleb128 4
.long .LCFI10-.Ltext0 # Location list begin address (*.LLST3)
.long .LCFI11-.Ltext0 # Location list end address (*.LLST3)
.value 0x2 # Location expression size
.byte 0x74 # DW_OP_breg4
.sleb128 8
.long .LCFI11-.Ltext0 # Location list begin address (*.LLST3)
.long .LCFI15-.Ltext0 # Location list end address (*.LLST3)
.value 0x2 # Location expression size
.byte 0x75 # DW_OP_breg5
.sleb128 8
.long .LCFI15-.Ltext0 # Location list begin address (*.LLST3)
.long .LCFI16-.Ltext0 # Location list end address (*.LLST3)
.value 0x2 # Location expression size
.byte 0x74 # DW_OP_breg4
.sleb128 8
.long .LCFI16-.Ltext0 # Location list begin address (*.LLST3)
.long .LFE2-.Ltext0 # Location list end address (*.LLST3)
.value 0x2 # Location expression size
.byte 0x74 # DW_OP_breg4
.sleb128 4
.long 0 # Location list terminator begin (*.LLST3)
.long 0 # Location list terminator end (*.LLST3)
.LLST4:
.long .LVL7-.Ltext0 # Location list begin address (*.LLST4)
.long .LVL8-.Ltext0 # Location list end address (*.LLST4)
.value 0x6 # Location expression size
.byte 0x34 # DW_OP_lit4
.byte 0x9f # DW_OP_stack_value
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.long .LVL8-.Ltext0 # Location list begin address (*.LLST4)
.long .LVL9-.Ltext0 # Location list end address (*.LLST4)
.value 0xc # Location expression size
.byte 0x34 # DW_OP_lit4
.byte 0x9f # DW_OP_stack_value
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.byte 0x6 # DW_OP_deref
.byte 0x23 # DW_OP_plus_uconst
.uleb128 0x6
.byte 0x9f # DW_OP_stack_value
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.long .LVL9-.Ltext0 # Location list begin address (*.LLST4)
.long .LVL10-.Ltext0 # Location list end address (*.LLST4)
.value 0xb # Location expression size
.byte 0x53 # DW_OP_reg3
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.byte 0x6 # DW_OP_deref
.byte 0x23 # DW_OP_plus_uconst
.uleb128 0x6
.byte 0x9f # DW_OP_stack_value
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.long .LVL10-.Ltext0 # Location list begin address (*.LLST4)
.long .LVL11-.Ltext0 # Location list end address (*.LLST4)
.value 0x6 # Location expression size
.byte 0x53 # DW_OP_reg3
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.byte 0x56 # DW_OP_reg6
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.long .LVL11-.Ltext0 # Location list begin address (*.LLST4)
.long .LVL12-.Ltext0 # Location list end address (*.LLST4)
.value 0x5 # Location expression size
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.byte 0x56 # DW_OP_reg6
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.long 0 # Location list terminator begin (*.LLST4)
.long 0 # Location list terminator end (*.LLST4)
.LLST5:
.long .LFB3-.Ltext0 # Location list begin address (*.LLST5)
.long .LCFI17-.Ltext0 # Location list end address (*.LLST5)
.value 0x2 # Location expression size
.byte 0x74 # DW_OP_breg4
.sleb128 4
.long .LCFI17-.Ltext0 # Location list begin address (*.LLST5)
.long .LCFI18-.Ltext0 # Location list end address (*.LLST5)
.value 0x2 # Location expression size
.byte 0x74 # DW_OP_breg4
.sleb128 8
.long .LCFI18-.Ltext0 # Location list begin address (*.LLST5)
.long .LCFI22-.Ltext0 # Location list end address (*.LLST5)
.value 0x2 # Location expression size
.byte 0x75 # DW_OP_breg5
.sleb128 8
.long .LCFI22-.Ltext0 # Location list begin address (*.LLST5)
.long .LCFI23-.Ltext0 # Location list end address (*.LLST5)
.value 0x2 # Location expression size
.byte 0x74 # DW_OP_breg4
.sleb128 8
.long .LCFI23-.Ltext0 # Location list begin address (*.LLST5)
.long .LFE3-.Ltext0 # Location list end address (*.LLST5)
.value 0x2 # Location expression size
.byte 0x74 # DW_OP_breg4
.sleb128 4
.long 0 # Location list terminator begin (*.LLST5)
.long 0 # Location list terminator end (*.LLST5)
.LLST6:
.long .LVL13-.Ltext0 # Location list begin address (*.LLST6)
.long .LVL14-.Ltext0 # Location list end address (*.LLST6)
.value 0x8 # Location expression size
.byte 0x34 # DW_OP_lit4
.byte 0x9f # DW_OP_stack_value
.byte 0x9d # DW_OP_bit_piece
.uleb128 0xc
.uleb128 0
.byte 0x9d # DW_OP_bit_piece
.uleb128 0x14
.uleb128 0
.long .LVL14-.Ltext0 # Location list begin address (*.LLST6)
.long .LVL15-.Ltext0 # Location list end address (*.LLST6)
.value 0x11 # Location expression size
.byte 0x34 # DW_OP_lit4
.byte 0x9f # DW_OP_stack_value
.byte 0x9d # DW_OP_bit_piece
.uleb128 0xc
.uleb128 0
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.byte 0x94 # DW_OP_deref_size
.byte 0x2
.byte 0x23 # DW_OP_plus_uconst
.uleb128 0x6
.byte 0x9f # DW_OP_stack_value
.byte 0x9d # DW_OP_bit_piece
.uleb128 0xc
.uleb128 0
.byte 0x93 # DW_OP_piece
.uleb128 0x1
.long .LVL15-.Ltext0 # Location list begin address (*.LLST6)
.long .LVL16-1-.Ltext0 # Location list end address (*.LLST6)
.value 0x10 # Location expression size
.byte 0x52 # DW_OP_reg2
.byte 0x9d # DW_OP_bit_piece
.uleb128 0xc
.uleb128 0
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.byte 0x94 # DW_OP_deref_size
.byte 0x2
.byte 0x23 # DW_OP_plus_uconst
.uleb128 0x7
.byte 0x9f # DW_OP_stack_value
.byte 0x9d # DW_OP_bit_piece
.uleb128 0xc
.uleb128 0
.byte 0x93 # DW_OP_piece
.uleb128 0x1
.long .LVL16-1-.Ltext0 # Location list begin address (*.LLST6)
.long .LVL17-.Ltext0 # Location list end address (*.LLST6)
.value 0x10 # Location expression size
.byte 0x56 # DW_OP_reg6
.byte 0x9d # DW_OP_bit_piece
.uleb128 0xc
.uleb128 0
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.byte 0x94 # DW_OP_deref_size
.byte 0x2
.byte 0x23 # DW_OP_plus_uconst
.uleb128 0x7
.byte 0x9f # DW_OP_stack_value
.byte 0x9d # DW_OP_bit_piece
.uleb128 0xc
.uleb128 0
.byte 0x93 # DW_OP_piece
.uleb128 0x1
.long .LVL17-.Ltext0 # Location list begin address (*.LLST6)
.long .LFE3-.Ltext0 # Location list end address (*.LLST6)
.value 0xf # Location expression size
.byte 0x9d # DW_OP_bit_piece
.uleb128 0xc
.uleb128 0
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.byte 0x94 # DW_OP_deref_size
.byte 0x2
.byte 0x23 # DW_OP_plus_uconst
.uleb128 0x7
.byte 0x9f # DW_OP_stack_value
.byte 0x9d # DW_OP_bit_piece
.uleb128 0xc
.uleb128 0
.byte 0x93 # DW_OP_piece
.uleb128 0x1
.long 0 # Location list terminator begin (*.LLST6)
.long 0 # Location list terminator end (*.LLST6)
.LLST7:
.long .LFB4-.Ltext0 # Location list begin address (*.LLST7)
.long .LCFI24-.Ltext0 # Location list end address (*.LLST7)
.value 0x2 # Location expression size
.byte 0x74 # DW_OP_breg4
.sleb128 4
.long .LCFI24-.Ltext0 # Location list begin address (*.LLST7)
.long .LCFI25-.Ltext0 # Location list end address (*.LLST7)
.value 0x2 # Location expression size
.byte 0x74 # DW_OP_breg4
.sleb128 8
.long .LCFI25-.Ltext0 # Location list begin address (*.LLST7)
.long .LCFI29-.Ltext0 # Location list end address (*.LLST7)
.value 0x2 # Location expression size
.byte 0x75 # DW_OP_breg5
.sleb128 8
.long .LCFI29-.Ltext0 # Location list begin address (*.LLST7)
.long .LCFI30-.Ltext0 # Location list end address (*.LLST7)
.value 0x2 # Location expression size
.byte 0x74 # DW_OP_breg4
.sleb128 8
.long .LCFI30-.Ltext0 # Location list begin address (*.LLST7)
.long .LFE4-.Ltext0 # Location list end address (*.LLST7)
.value 0x2 # Location expression size
.byte 0x74 # DW_OP_breg4
.sleb128 4
.long 0 # Location list terminator begin (*.LLST7)
.long 0 # Location list terminator end (*.LLST7)
.LLST8:
.long .LVL19-.Ltext0 # Location list begin address (*.LLST8)
.long .LVL20-.Ltext0 # Location list end address (*.LLST8)
.value 0x8 # Location expression size
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.long .LVL20-.Ltext0 # Location list begin address (*.LLST8)
.long .LVL21-.Ltext0 # Location list end address (*.LLST8)
.value 0x6 # Location expression size
.byte 0x53 # DW_OP_reg3
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.byte 0x56 # DW_OP_reg6
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.long .LVL21-.Ltext0 # Location list begin address (*.LLST8)
.long .LVL22-.Ltext0 # Location list end address (*.LLST8)
.value 0x5 # Location expression size
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.byte 0x56 # DW_OP_reg6
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.long 0 # Location list terminator begin (*.LLST8)
.long 0 # Location list terminator end (*.LLST8)
.LLST9:
.long .LFB5-.Ltext0 # Location list begin address (*.LLST9)
.long .LCFI31-.Ltext0 # Location list end address (*.LLST9)
.value 0x2 # Location expression size
.byte 0x74 # DW_OP_breg4
.sleb128 4
.long .LCFI31-.Ltext0 # Location list begin address (*.LLST9)
.long .LCFI32-.Ltext0 # Location list end address (*.LLST9)
.value 0x2 # Location expression size
.byte 0x74 # DW_OP_breg4
.sleb128 8
.long .LCFI32-.Ltext0 # Location list begin address (*.LLST9)
.long .LCFI36-.Ltext0 # Location list end address (*.LLST9)
.value 0x2 # Location expression size
.byte 0x75 # DW_OP_breg5
.sleb128 8
.long .LCFI36-.Ltext0 # Location list begin address (*.LLST9)
.long .LCFI37-.Ltext0 # Location list end address (*.LLST9)
.value 0x2 # Location expression size
.byte 0x74 # DW_OP_breg4
.sleb128 8
.long .LCFI37-.Ltext0 # Location list begin address (*.LLST9)
.long .LFE5-.Ltext0 # Location list end address (*.LLST9)
.value 0x2 # Location expression size
.byte 0x74 # DW_OP_breg4
.sleb128 4
.long 0 # Location list terminator begin (*.LLST9)
.long 0 # Location list terminator end (*.LLST9)
.LLST10:
.long .LVL24-.Ltext0 # Location list begin address (*.LLST10)
.long .LVL25-.Ltext0 # Location list end address (*.LLST10)
.value 0x8 # Location expression size
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.long .LVL25-.Ltext0 # Location list begin address (*.LLST10)
.long .LVL26-.Ltext0 # Location list end address (*.LLST10)
.value 0x6 # Location expression size
.byte 0x53 # DW_OP_reg3
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.byte 0x56 # DW_OP_reg6
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.long .LVL26-.Ltext0 # Location list begin address (*.LLST10)
.long .LVL27-.Ltext0 # Location list end address (*.LLST10)
.value 0x5 # Location expression size
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.byte 0x56 # DW_OP_reg6
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.long 0 # Location list terminator begin (*.LLST10)
.long 0 # Location list terminator end (*.LLST10)
.LLST11:
.long .LFB6-.Ltext0 # Location list begin address (*.LLST11)
.long .LCFI38-.Ltext0 # Location list end address (*.LLST11)
.value 0x2 # Location expression size
.byte 0x74 # DW_OP_breg4
.sleb128 4
.long .LCFI38-.Ltext0 # Location list begin address (*.LLST11)
.long .LCFI39-.Ltext0 # Location list end address (*.LLST11)
.value 0x2 # Location expression size
.byte 0x74 # DW_OP_breg4
.sleb128 8
.long .LCFI39-.Ltext0 # Location list begin address (*.LLST11)
.long .LCFI43-.Ltext0 # Location list end address (*.LLST11)
.value 0x2 # Location expression size
.byte 0x75 # DW_OP_breg5
.sleb128 8
.long .LCFI43-.Ltext0 # Location list begin address (*.LLST11)
.long .LCFI44-.Ltext0 # Location list end address (*.LLST11)
.value 0x2 # Location expression size
.byte 0x74 # DW_OP_breg4
.sleb128 8
.long .LCFI44-.Ltext0 # Location list begin address (*.LLST11)
.long .LFE6-.Ltext0 # Location list end address (*.LLST11)
.value 0x2 # Location expression size
.byte 0x74 # DW_OP_breg4
.sleb128 4
.long 0 # Location list terminator begin (*.LLST11)
.long 0 # Location list terminator end (*.LLST11)
.LLST12:
.long .LVL29-.Ltext0 # Location list begin address (*.LLST12)
.long .LVL30-.Ltext0 # Location list end address (*.LLST12)
.value 0xa # Location expression size
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.long .LVL30-.Ltext0 # Location list begin address (*.LLST12)
.long .LVL31-.Ltext0 # Location list end address (*.LLST12)
.value 0x8 # Location expression size
.byte 0x53 # DW_OP_reg3
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.byte 0x56 # DW_OP_reg6
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.long .LVL31-.Ltext0 # Location list begin address (*.LLST12)
.long .LVL32-.Ltext0 # Location list end address (*.LLST12)
.value 0x7 # Location expression size
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.byte 0x56 # DW_OP_reg6
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.byte 0x93 # DW_OP_piece
.uleb128 0x4
.long 0 # Location list terminator begin (*.LLST12)
.long 0 # Location list terminator end (*.LLST12)
.LLST13:
.long .LFB7-.Ltext0 # Location list begin address (*.LLST13)
.long .LCFI45-.Ltext0 # Location list end address (*.LLST13)
.value 0x2 # Location expression size
.byte 0x74 # DW_OP_breg4
.sleb128 4
.long .LCFI45-.Ltext0 # Location list begin address (*.LLST13)
.long .LCFI46-.Ltext0 # Location list end address (*.LLST13)
.value 0x2 # Location expression size
.byte 0x74 # DW_OP_breg4
.sleb128 8
.long .LCFI46-.Ltext0 # Location list begin address (*.LLST13)
.long .LCFI50-.Ltext0 # Location list end address (*.LLST13)
.value 0x2 # Location expression size
.byte 0x75 # DW_OP_breg5
.sleb128 8
.long .LCFI50-.Ltext0 # Location list begin address (*.LLST13)
.long .LFE7-.Ltext0 # Location list end address (*.LLST13)
.value 0x2 # Location expression size
.byte 0x74 # DW_OP_breg4
.sleb128 4
.long 0 # Location list terminator begin (*.LLST13)
.long 0 # Location list terminator end (*.LLST13)
.LLST14:
.long .LVL33-.Ltext0 # Location list begin address (*.LLST14)
.long .LVL34-.Ltext0 # Location list end address (*.LLST14)
.value 0x1 # Location expression size
.byte 0x53 # DW_OP_reg3
.long 0 # Location list terminator begin (*.LLST14)
.long 0 # Location list terminator end (*.LLST14)
.section .debug_info
.long 0x252 # Length of Compilation Unit Info
.value 0x2 # DWARF version number
.long .Ldebug_abbrev0 # Offset Into Abbrev. Section
.byte 0x4 # Pointer Size (in bytes)
.uleb128 0x1 # (DIE (0xb) DW_TAG_compile_unit)
.long .LASF1 # DW_AT_producer: "GNU C 4.6.0 20100506 (experimental) [trunk revision 159117]"
.byte 0x1 # DW_AT_language
.long .LASF2 # DW_AT_name: "pieces.c"
.long .LASF3 # DW_AT_comp_dir: "/home/tromey/gnu/archer/archer/gdb/testsuite/gdb.dwarf2"
.long .Ltext0 # DW_AT_low_pc
.long .Letext0 # DW_AT_high_pc
.long .Ldebug_line0 # DW_AT_stmt_list
.uleb128 0x2 # (DIE (0x25) DW_TAG_structure_type)
.ascii "A\0" # DW_AT_name
.byte 0x8 # DW_AT_byte_size
.byte 0x1 # DW_AT_decl_file (pieces.c)
.byte 0x17 # DW_AT_decl_line
.long 0x48 # DW_AT_sibling
.uleb128 0x3 # (DIE (0x2f) DW_TAG_member)
.ascii "i\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (pieces.c)
.byte 0x17 # DW_AT_decl_line
.long 0x48 # DW_AT_type
.byte 0x2 # DW_AT_data_member_location
.byte 0x23 # DW_OP_plus_uconst
.uleb128 0
.uleb128 0x3 # (DIE (0x3b) DW_TAG_member)
.ascii "j\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (pieces.c)
.byte 0x17 # DW_AT_decl_line
.long 0x48 # DW_AT_type
.byte 0x2 # DW_AT_data_member_location
.byte 0x23 # DW_OP_plus_uconst
.uleb128 0x4
.byte 0 # end of children of DIE 0x25
.uleb128 0x4 # (DIE (0x48) DW_TAG_base_type)
.byte 0x4 # DW_AT_byte_size
.byte 0x5 # DW_AT_encoding
.ascii "int\0" # DW_AT_name
.uleb128 0x2 # (DIE (0x4f) DW_TAG_structure_type)
.ascii "B\0" # DW_AT_name
.byte 0x4 # DW_AT_byte_size
.byte 0x1 # DW_AT_decl_file (pieces.c)
.byte 0x18 # DW_AT_decl_line
.long 0x78 # DW_AT_sibling
.uleb128 0x5 # (DIE (0x59) DW_TAG_member)
.ascii "i\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (pieces.c)
.byte 0x18 # DW_AT_decl_line
.long 0x48 # DW_AT_type
.byte 0x4 # DW_AT_byte_size
.byte 0xc # DW_AT_bit_size
.byte 0x14 # DW_AT_bit_offset
.byte 0x2 # DW_AT_data_member_location
.byte 0x23 # DW_OP_plus_uconst
.uleb128 0
.uleb128 0x5 # (DIE (0x68) DW_TAG_member)
.ascii "j\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (pieces.c)
.byte 0x18 # DW_AT_decl_line
.long 0x48 # DW_AT_type
.byte 0x4 # DW_AT_byte_size
.byte 0xc # DW_AT_bit_size
.byte 0x8 # DW_AT_bit_offset
.byte 0x2 # DW_AT_data_member_location
.byte 0x23 # DW_OP_plus_uconst
.uleb128 0
.byte 0 # end of children of DIE 0x4f
.uleb128 0x2 # (DIE (0x78) DW_TAG_structure_type)
.ascii "C\0" # DW_AT_name
.byte 0xc # DW_AT_byte_size
.byte 0x1 # DW_AT_decl_file (pieces.c)
.byte 0x19 # DW_AT_decl_line
.long 0xa7 # DW_AT_sibling
.uleb128 0x3 # (DIE (0x82) DW_TAG_member)
.ascii "i\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (pieces.c)
.byte 0x19 # DW_AT_decl_line
.long 0x48 # DW_AT_type
.byte 0x2 # DW_AT_data_member_location
.byte 0x23 # DW_OP_plus_uconst
.uleb128 0
.uleb128 0x3 # (DIE (0x8e) DW_TAG_member)
.ascii "j\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (pieces.c)
.byte 0x19 # DW_AT_decl_line
.long 0x48 # DW_AT_type
.byte 0x2 # DW_AT_data_member_location
.byte 0x23 # DW_OP_plus_uconst
.uleb128 0x4
.uleb128 0x3 # (DIE (0x9a) DW_TAG_member)
.ascii "q\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (pieces.c)
.byte 0x19 # DW_AT_decl_line
.long 0x48 # DW_AT_type
.byte 0x2 # DW_AT_data_member_location
.byte 0x23 # DW_OP_plus_uconst
.uleb128 0x8
.byte 0 # end of children of DIE 0x78
.uleb128 0x6 # (DIE (0xa7) DW_TAG_subprogram)
.byte 0x1 # DW_AT_external
.ascii "bar\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (pieces.c)
.byte 0x1c # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.long .LFB0 # DW_AT_low_pc
.long .LFE0 # DW_AT_high_pc
.long .LLST0 # DW_AT_frame_base
.long 0xcd # DW_AT_sibling
.uleb128 0x7 # (DIE (0xc0) DW_TAG_formal_parameter)
.ascii "x\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (pieces.c)
.byte 0x1c # DW_AT_decl_line
.long 0x48 # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.byte 0 # end of children of DIE 0xa7
.uleb128 0x8 # (DIE (0xcd) DW_TAG_subprogram)
.byte 0x1 # DW_AT_external
.ascii "f1\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (pieces.c)
.byte 0x22 # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.long 0x48 # DW_AT_type
.long .LFB1 # DW_AT_low_pc
.long .LFE1 # DW_AT_high_pc
.long .LLST1 # DW_AT_frame_base
.long 0x103 # DW_AT_sibling
.uleb128 0x7 # (DIE (0xe9) DW_TAG_formal_parameter)
.ascii "k\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (pieces.c)
.byte 0x22 # DW_AT_decl_line
.long 0x48 # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.uleb128 0x9 # (DIE (0xf5) DW_TAG_variable)
.ascii "a\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (pieces.c)
.byte 0x24 # DW_AT_decl_line
.long 0x25 # DW_AT_type
.long .LLST2 # DW_AT_location
.byte 0 # end of children of DIE 0xcd
.uleb128 0x8 # (DIE (0x103) DW_TAG_subprogram)
.byte 0x1 # DW_AT_external
.ascii "f2\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (pieces.c)
.byte 0x2d # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.long 0x48 # DW_AT_type
.long .LFB2 # DW_AT_low_pc
.long .LFE2 # DW_AT_high_pc
.long .LLST3 # DW_AT_frame_base
.long 0x139 # DW_AT_sibling
.uleb128 0x7 # (DIE (0x11f) DW_TAG_formal_parameter)
.ascii "k\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (pieces.c)
.byte 0x2d # DW_AT_decl_line
.long 0x48 # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.uleb128 0x9 # (DIE (0x12b) DW_TAG_variable)
.ascii "a\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (pieces.c)
.byte 0x2f # DW_AT_decl_line
.long 0x139 # DW_AT_type
.long .LLST4 # DW_AT_location
.byte 0 # end of children of DIE 0x103
.uleb128 0xa # (DIE (0x139) DW_TAG_array_type)
.long 0x48 # DW_AT_type
.long 0x149 # DW_AT_sibling
.uleb128 0xb # (DIE (0x142) DW_TAG_subrange_type)
.long 0x149 # DW_AT_type
.byte 0x1 # DW_AT_upper_bound
.byte 0 # end of children of DIE 0x139
.uleb128 0xc # (DIE (0x149) DW_TAG_base_type)
.byte 0x4 # DW_AT_byte_size
.byte 0x7 # DW_AT_encoding
.uleb128 0x8 # (DIE (0x14c) DW_TAG_subprogram)
.byte 0x1 # DW_AT_external
.ascii "f3\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (pieces.c)
.byte 0x38 # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.long 0x48 # DW_AT_type
.long .LFB3 # DW_AT_low_pc
.long .LFE3 # DW_AT_high_pc
.long .LLST5 # DW_AT_frame_base
.long 0x182 # DW_AT_sibling
.uleb128 0x7 # (DIE (0x168) DW_TAG_formal_parameter)
.ascii "k\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (pieces.c)
.byte 0x38 # DW_AT_decl_line
.long 0x48 # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.uleb128 0x9 # (DIE (0x174) DW_TAG_variable)
.ascii "a\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (pieces.c)
.byte 0x3a # DW_AT_decl_line
.long 0x4f # DW_AT_type
.long .LLST6 # DW_AT_location
.byte 0 # end of children of DIE 0x14c
.uleb128 0x8 # (DIE (0x182) DW_TAG_subprogram)
.byte 0x1 # DW_AT_external
.ascii "f4\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (pieces.c)
.byte 0x43 # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.long 0x48 # DW_AT_type
.long .LFB4 # DW_AT_low_pc
.long .LFE4 # DW_AT_high_pc
.long .LLST7 # DW_AT_frame_base
.long 0x1b8 # DW_AT_sibling
.uleb128 0x7 # (DIE (0x19e) DW_TAG_formal_parameter)
.ascii "k\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (pieces.c)
.byte 0x43 # DW_AT_decl_line
.long 0x48 # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.uleb128 0x9 # (DIE (0x1aa) DW_TAG_variable)
.ascii "a\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (pieces.c)
.byte 0x45 # DW_AT_decl_line
.long 0x139 # DW_AT_type
.long .LLST8 # DW_AT_location
.byte 0 # end of children of DIE 0x182
.uleb128 0x8 # (DIE (0x1b8) DW_TAG_subprogram)
.byte 0x1 # DW_AT_external
.ascii "f5\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (pieces.c)
.byte 0x4e # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.long 0x48 # DW_AT_type
.long .LFB5 # DW_AT_low_pc
.long .LFE5 # DW_AT_high_pc
.long .LLST9 # DW_AT_frame_base
.long 0x1ee # DW_AT_sibling
.uleb128 0x7 # (DIE (0x1d4) DW_TAG_formal_parameter)
.ascii "k\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (pieces.c)
.byte 0x4e # DW_AT_decl_line
.long 0x48 # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.uleb128 0x9 # (DIE (0x1e0) DW_TAG_variable)
.ascii "a\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (pieces.c)
.byte 0x50 # DW_AT_decl_line
.long 0x25 # DW_AT_type
.long .LLST10 # DW_AT_location
.byte 0 # end of children of DIE 0x1b8
.uleb128 0x8 # (DIE (0x1ee) DW_TAG_subprogram)
.byte 0x1 # DW_AT_external
.ascii "f6\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (pieces.c)
.byte 0x59 # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.long 0x48 # DW_AT_type
.long .LFB6 # DW_AT_low_pc
.long .LFE6 # DW_AT_high_pc
.long .LLST11 # DW_AT_frame_base
.long 0x22e # DW_AT_sibling
.uleb128 0x7 # (DIE (0x20a) DW_TAG_formal_parameter)
.ascii "k\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (pieces.c)
.byte 0x59 # DW_AT_decl_line
.long 0x48 # DW_AT_type
.byte 0x2 # DW_AT_location
.byte 0x91 # DW_OP_fbreg
.sleb128 0
.uleb128 0xd # (DIE (0x216) DW_TAG_variable)
.ascii "z\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (pieces.c)
.byte 0x5b # DW_AT_decl_line
.long 0x48 # DW_AT_type
.byte 0x17 # DW_AT_const_value
.uleb128 0x9 # (DIE (0x220) DW_TAG_variable)
.ascii "a\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (pieces.c)
.byte 0x5c # DW_AT_decl_line
.long 0x78 # DW_AT_type
.long .LLST12 # DW_AT_location
.byte 0 # end of children of DIE 0x1ee
.uleb128 0xe # (DIE (0x22e) DW_TAG_subprogram)
.byte 0x1 # DW_AT_external
.long .LASF0 # DW_AT_name: "main"
.byte 0x1 # DW_AT_decl_file (pieces.c)
.byte 0x65 # DW_AT_decl_line
.byte 0x1 # DW_AT_prototyped
.long 0x48 # DW_AT_type
.long .LFB7 # DW_AT_low_pc
.long .LFE7 # DW_AT_high_pc
.long .LLST13 # DW_AT_frame_base
.uleb128 0x9 # (DIE (0x247) DW_TAG_variable)
.ascii "k\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (pieces.c)
.byte 0x67 # DW_AT_decl_line
.long 0x48 # DW_AT_type
.long .LLST14 # DW_AT_location
.byte 0 # end of children of DIE 0x22e
.byte 0 # end of children of DIE 0xb
.section .debug_abbrev
.uleb128 0x1 # (abbrev code)
.uleb128 0x11 # (TAG: DW_TAG_compile_unit)
.byte 0x1 # DW_children_yes
.uleb128 0x25 # (DW_AT_producer)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x13 # (DW_AT_language)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x1b # (DW_AT_comp_dir)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x10 # (DW_AT_stmt_list)
.uleb128 0x6 # (DW_FORM_data4)
.byte 0
.byte 0
.uleb128 0x2 # (abbrev code)
.uleb128 0x13 # (TAG: DW_TAG_structure_type)
.byte 0x1 # DW_children_yes
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x3 # (abbrev code)
.uleb128 0xd # (TAG: DW_TAG_member)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x38 # (DW_AT_data_member_location)
.uleb128 0xa # (DW_FORM_block1)
.byte 0
.byte 0
.uleb128 0x4 # (abbrev code)
.uleb128 0x24 # (TAG: DW_TAG_base_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3e # (DW_AT_encoding)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.byte 0
.byte 0
.uleb128 0x5 # (abbrev code)
.uleb128 0xd # (TAG: DW_TAG_member)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0xd # (DW_AT_bit_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0xc # (DW_AT_bit_offset)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x38 # (DW_AT_data_member_location)
.uleb128 0xa # (DW_FORM_block1)
.byte 0
.byte 0
.uleb128 0x6 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x27 # (DW_AT_prototyped)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x6 # (DW_FORM_data4)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x7 # (abbrev code)
.uleb128 0x5 # (TAG: DW_TAG_formal_parameter)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0xa # (DW_FORM_block1)
.byte 0
.byte 0
.uleb128 0x8 # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x27 # (DW_AT_prototyped)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x6 # (DW_FORM_data4)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0x9 # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2 # (DW_AT_location)
.uleb128 0x6 # (DW_FORM_data4)
.byte 0
.byte 0
.uleb128 0xa # (abbrev code)
.uleb128 0x1 # (TAG: DW_TAG_array_type)
.byte 0x1 # DW_children_yes
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x1 # (DW_AT_sibling)
.uleb128 0x13 # (DW_FORM_ref4)
.byte 0
.byte 0
.uleb128 0xb # (abbrev code)
.uleb128 0x21 # (TAG: DW_TAG_subrange_type)
.byte 0 # DW_children_no
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x2f # (DW_AT_upper_bound)
.uleb128 0xb # (DW_FORM_data1)
.byte 0
.byte 0
.uleb128 0xc # (abbrev code)
.uleb128 0x24 # (TAG: DW_TAG_base_type)
.byte 0 # DW_children_no
.uleb128 0xb # (DW_AT_byte_size)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3e # (DW_AT_encoding)
.uleb128 0xb # (DW_FORM_data1)
.byte 0
.byte 0
.uleb128 0xd # (abbrev code)
.uleb128 0x34 # (TAG: DW_TAG_variable)
.byte 0 # DW_children_no
.uleb128 0x3 # (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x1c # (DW_AT_const_value)
.uleb128 0xb # (DW_FORM_data1)
.byte 0
.byte 0
.uleb128 0xe # (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram)
.byte 0x1 # DW_children_yes
.uleb128 0x3f # (DW_AT_external)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x3 # (DW_AT_name)
.uleb128 0xe # (DW_FORM_strp)
.uleb128 0x3a # (DW_AT_decl_file)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x3b # (DW_AT_decl_line)
.uleb128 0xb # (DW_FORM_data1)
.uleb128 0x27 # (DW_AT_prototyped)
.uleb128 0xc # (DW_FORM_flag)
.uleb128 0x49 # (DW_AT_type)
.uleb128 0x13 # (DW_FORM_ref4)
.uleb128 0x11 # (DW_AT_low_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x12 # (DW_AT_high_pc)
.uleb128 0x1 # (DW_FORM_addr)
.uleb128 0x40 # (DW_AT_frame_base)
.uleb128 0x6 # (DW_FORM_data4)
.byte 0
.byte 0
.byte 0
.section .debug_pubnames,"",@progbits
.long 0x49 # Length of Public Names Info
.value 0x2 # DWARF Version
.long .Ldebug_info0 # Offset of Compilation Unit Info
.long 0x256 # Compilation Unit Length
.long 0xa7 # DIE offset
.ascii "bar\0" # external name
.long 0xcd # DIE offset
.ascii "f1\0" # external name
.long 0x103 # DIE offset
.ascii "f2\0" # external name
.long 0x14c # DIE offset
.ascii "f3\0" # external name
.long 0x182 # DIE offset
.ascii "f4\0" # external name
.long 0x1b8 # DIE offset
.ascii "f5\0" # external name
.long 0x1ee # DIE offset
.ascii "f6\0" # external name
.long 0x22e # DIE offset
.ascii "main\0" # external name
.long 0
.section .debug_pubtypes,"",@progbits
.long 0x20 # Length of Public Type Names Info
.value 0x2 # DWARF Version
.long .Ldebug_info0 # Offset of Compilation Unit Info
.long 0x256 # Compilation Unit Length
.long 0x25 # DIE offset
.ascii "A\0" # external name
.long 0x4f # DIE offset
.ascii "B\0" # external name
.long 0x78 # DIE offset
.ascii "C\0" # external name
.long 0
.section .debug_aranges,"",@progbits
.long 0x1c # Length of Address Ranges Info
.value 0x2 # DWARF Version
.long .Ldebug_info0 # Offset of Compilation Unit Info
.byte 0x4 # Size of Address
.byte 0 # Size of Segment Descriptor
.value 0 # Pad to 8 byte boundary
.value 0
.long .Ltext0 # Address
.long .Letext0-.Ltext0 # Length
.long 0
.long 0
.section .debug_str,"MS",@progbits,1
.LASF2:
.string "pieces.c"
.LASF3:
.string "/home/tromey/gnu/archer/archer/gdb/testsuite/gdb.dwarf2"
.LASF1:
.string "GNU C 4.6.0 20100506 (experimental) [trunk revision 159117]"
.LASF0:
.string "main"
.ident "GCC: (GNU) 4.6.0 20100506 (experimental) [trunk revision 159117]"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 6,202
|
gdb/testsuite/gdb.dwarf2/dw2-compdir-oldgcc.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2012-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#define CONCAT1(a, b) CONCAT2(a, b)
#define CONCAT2(a, b) a ## b
#ifdef SYMBOL_PREFIX
# define SYMBOL(str) CONCAT1(SYMBOL_PREFIX, str)
#else
# define SYMBOL(str) str
#endif
.text
SYMBOL(main): .globl SYMBOL(main)
gcc42: .globl gcc42
.Lgcc42_procstart:
.int 0
.type gcc42, %function
.size gcc42, . - gcc42
.Lgcc42_procend:
gcc43: .globl gcc43
.Lgcc43_procstart:
.int 0
.type gcc43, %function
.size gcc43, . - gcc43
.Lgcc43_procend:
/* Debug information */
.section .debug_info
.Lcu1_begin:
/* CU header */
.4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */
.Lcu1_start:
.2byte 2 /* DWARF Version */
.4byte .Labbrev1_begin /* Offset into abbrev section */
.byte 4 /* Pointer size */
.uleb128 1 /* Abbrev: DW_TAG_compile_unit */
.4byte .Lgcc42_begin /* DW_AT_stmt_list */
.4byte .Lgcc42_procstart /* DW_AT_low_pc */
.4byte .Lgcc42_procend /* DW_AT_high_pc */
.ascii "/dir/d/dw2-compdir-oldgcc42.S\0" /* DW_AT_name */
.ascii "GNU C 4.2.0\0" /* DW_AT_producer */
.byte 1 /* DW_AT_language (C) */
.uleb128 2 /* Abbrev: DW_TAG_subprogram */
.byte 1 /* DW_AT_external */
.byte 1 /* DW_AT_decl_file */
.byte 1 /* DW_AT_decl_line */
.ascii "gcc42\0" /* DW_AT_name */
.4byte .Lgcc42_procstart /* DW_AT_low_pc */
.4byte .Lgcc42_procend /* DW_AT_high_pc */
.byte 0 /* End of children of CU */
.Lcu1_end:
.Lcu2_begin:
/* CU header */
.4byte .Lcu2_end - .Lcu2_start /* Length of Compilation Unit */
.Lcu2_start:
.2byte 2 /* DWARF Version */
.4byte .Labbrev1_begin /* Offset into abbrev section */
.byte 4 /* Pointer size */
.uleb128 1 /* Abbrev: DW_TAG_compile_unit */
.4byte .Lgcc43_begin /* DW_AT_stmt_list */
.4byte .Lgcc43_procstart /* DW_AT_low_pc */
.4byte .Lgcc43_procend /* DW_AT_high_pc */
.ascii "/dir/d/dw2-compdir-oldgcc43.S\0" /* DW_AT_name */
.ascii "GNU C 4.3.0\0" /* DW_AT_producer */
.byte 1 /* DW_AT_language (C) */
.uleb128 2 /* Abbrev: DW_TAG_subprogram */
.byte 1 /* DW_AT_external */
.byte 1 /* DW_AT_decl_file */
.byte 1 /* DW_AT_decl_line */
.ascii "gcc43\0" /* DW_AT_name */
.4byte .Lgcc43_procstart /* DW_AT_low_pc */
.4byte .Lgcc43_procend /* DW_AT_high_pc */
.byte 0 /* End of children of CU */
.Lcu2_end:
/* Abbrev table */
.section .debug_abbrev
.Labbrev1_begin:
.uleb128 1 /* Abbrev code */
.uleb128 0x11 /* DW_TAG_compile_unit */
.byte 1 /* has_children */
.uleb128 0x10 /* DW_AT_stmt_list */
.uleb128 0x6 /* DW_FORM_data4 */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x25 /* DW_AT_producer */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x13 /* DW_AT_language */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 2 /* Abbrev code */
.uleb128 0x2e /* DW_TAG_subprogram */
.byte 0 /* has_children */
.uleb128 0x3f /* DW_AT_external */
.uleb128 0xc /* DW_FORM_flag */
.uleb128 0x3a /* DW_AT_decl_file */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3b /* DW_AT_decl_line */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
/* Line table */
.section .debug_line
.Lgcc42_begin:
.4byte .Lgcc42_end - .Lgcc42_start /* Initial length */
.Lgcc42_start:
.2byte 2 /* Version */
.4byte .Lgcc42_lines - .Lgcc42_hdr /* header_length */
.Lgcc42_hdr:
.byte 1 /* Minimum insn length */
.byte 1 /* default_is_stmt */
.byte 1 /* line_base */
.byte 1 /* line_range */
.byte 4 /* opcode_base */
/* Standard lengths */
.byte 0
.byte 1
.byte 1
/* Include directories */
.byte 0
/* File names */
.ascii "dw2-compdir-oldgcc42.S\0"
.uleb128 0 /* directory */
.uleb128 0
.uleb128 0
.byte 0
.Lgcc42_lines:
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
.4byte gcc42
.byte 3 /* DW_LNS_advance_line */
.sleb128 41 /* ... to 42 */
.byte 1 /* DW_LNS_copy */
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
.4byte .Lgcc42_procend
.byte 0 /* DW_LNE_end_of_sequence */
.uleb128 1
.byte 1
.Lgcc42_end:
.Lgcc43_begin:
.4byte .Lgcc43_end - .Lgcc43_start /* Initial length */
.Lgcc43_start:
.2byte 2 /* Version */
.4byte .Lgcc43_lines - .Lgcc43_hdr /* header_length */
.Lgcc43_hdr:
.byte 1 /* Minimum insn length */
.byte 1 /* default_is_stmt */
.byte 1 /* line_base */
.byte 1 /* line_range */
.byte 4 /* opcode_base */
/* Standard lengths */
.byte 0
.byte 1
.byte 1
/* Include directories */
.byte 0
/* File names */
.ascii "dw2-compdir-oldgcc43.S\0"
.uleb128 0 /* directory */
.uleb128 0
.uleb128 0
.byte 0
.Lgcc43_lines:
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
.4byte gcc43
.byte 3 /* DW_LNS_advance_line */
.sleb128 42 /* ... to 43 */
.byte 1 /* DW_LNS_copy */
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
.4byte .Lgcc43_procend
.byte 0 /* DW_LNE_end_of_sequence */
.uleb128 1
.byte 1
.Lgcc43_end:
|
stsp/binutils-ia16
| 8,147
|
gdb/testsuite/gdb.dwarf2/dw2-undefined-ret-addr.S
|
/*
Copyright 2013-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* The FDE entry for "stop_frame" in the .debug_frame section has
been hand modified to mark the return address (rip) as undefined.
Otherwise this file is as generated by gcc 4.7.2 for x86_64. */
.file "dw2-undefined-ret-addr.c"
.text
.Ltext0:
.globl stop_frame
.type stop_frame, @function
stop_frame:
.LFB0:
.file 1 "dw2-undefined-ret-addr.c"
.loc 1 19 0
pushq %rbp
.LCFI0:
movq %rsp, %rbp
.LCFI1:
.loc 1 22 0
popq %rbp
.LCFI2:
ret
.LFE0:
.size stop_frame, .-stop_frame
.globl first_frame
.type first_frame, @function
first_frame:
.LFB1:
.loc 1 26 0
pushq %rbp
.LCFI3:
movq %rsp, %rbp
.LCFI4:
.loc 1 27 0
movl $0, %eax
call stop_frame
.loc 1 28 0
popq %rbp
.LCFI5:
ret
.LFE1:
.size first_frame, .-first_frame
.globl main
.type main, @function
main:
.LFB2:
.loc 1 32 0
pushq %rbp
.LCFI6:
movq %rsp, %rbp
.LCFI7:
.loc 1 33 0
movl $0, %eax
call first_frame
.loc 1 35 0
movl $0, %eax
.loc 1 36 0
popq %rbp
.LCFI8:
ret
.LFE2:
.size main, .-main
.section .debug_frame,"",@progbits
.Lframe0:
.long .LECIE0-.LSCIE0
.LSCIE0:
.long 0xffffffff
.byte 0x1
.string ""
.uleb128 0x1
.sleb128 -8
.byte 0x10
.byte 0xc
.uleb128 0x7
.uleb128 0x8
.byte 0x90
.uleb128 0x1
.align 8
.LECIE0:
/* This FDE entry, for stop_frame was modified to mark
registers 0 -> 6 as being undefined. */
.LSFDE0:
.long .LEFDE0-.LASFDE0
.LASFDE0:
.long .Lframe0
.quad .LFB0
.quad .LFE0-.LFB0
/* START OF NEW CONTENT. */
.byte 0x7 /* DW_CFA_undefined */
.uleb128 0x10 /* ULEB128 register */
/* END OF NEW CONTENT. */
.byte 0x4
.long .LCFI0-.LFB0
.byte 0xe
.uleb128 0x10
.byte 0x86
.uleb128 0x2
.byte 0x4
.long .LCFI1-.LCFI0
.byte 0xd
.uleb128 0x6
.byte 0x4
.long .LCFI2-.LCFI1
.byte 0xc
.uleb128 0x7
.uleb128 0x8
.align 8
.LEFDE0:
.LSFDE2:
.long .LEFDE2-.LASFDE2
.LASFDE2:
.long .Lframe0
.quad .LFB1
.quad .LFE1-.LFB1
.byte 0x4
.long .LCFI3-.LFB1
.byte 0xe
.uleb128 0x10
.byte 0x86
.uleb128 0x2
.byte 0x4
.long .LCFI4-.LCFI3
.byte 0xd
.uleb128 0x6
.byte 0x4
.long .LCFI5-.LCFI4
.byte 0xc
.uleb128 0x7
.uleb128 0x8
.align 8
.LEFDE2:
.LSFDE4:
.long .LEFDE4-.LASFDE4
.LASFDE4:
.long .Lframe0
.quad .LFB2
.quad .LFE2-.LFB2
.byte 0x4
.long .LCFI6-.LFB2
.byte 0xe
.uleb128 0x10
.byte 0x86
.uleb128 0x2
.byte 0x4
.long .LCFI7-.LCFI6
.byte 0xd
.uleb128 0x6
.byte 0x4
.long .LCFI8-.LCFI7
.byte 0xc
.uleb128 0x7
.uleb128 0x8
.align 8
.LEFDE4:
.section .eh_frame,"a",@progbits
.Lframe1:
.long .LECIE1-.LSCIE1
.LSCIE1:
.long 0
.byte 0x1
.string "zR"
.uleb128 0x1
.sleb128 -8
.byte 0x10
.uleb128 0x1
.byte 0x3
.byte 0xc
.uleb128 0x7
.uleb128 0x8
.byte 0x90
.uleb128 0x1
.align 8
.LECIE1:
.LSFDE7:
.long .LEFDE7-.LASFDE7
.LASFDE7:
.long .LASFDE7-.Lframe1
.long .LFB0
.long .LFE0-.LFB0
.uleb128 0
.byte 0x4
.long .LCFI0-.LFB0
.byte 0xe
.uleb128 0x10
.byte 0x86
.uleb128 0x2
.byte 0x4
.long .LCFI1-.LCFI0
.byte 0xd
.uleb128 0x6
.byte 0x4
.long .LCFI2-.LCFI1
.byte 0xc
.uleb128 0x7
.uleb128 0x8
.align 8
.LEFDE7:
.LSFDE9:
.long .LEFDE9-.LASFDE9
.LASFDE9:
.long .LASFDE9-.Lframe1
.long .LFB1
.long .LFE1-.LFB1
.uleb128 0
.byte 0x4
.long .LCFI3-.LFB1
.byte 0xe
.uleb128 0x10
.byte 0x86
.uleb128 0x2
.byte 0x4
.long .LCFI4-.LCFI3
.byte 0xd
.uleb128 0x6
.byte 0x4
.long .LCFI5-.LCFI4
.byte 0xc
.uleb128 0x7
.uleb128 0x8
.align 8
.LEFDE9:
.LSFDE11:
.long .LEFDE11-.LASFDE11
.LASFDE11:
.long .LASFDE11-.Lframe1
.long .LFB2
.long .LFE2-.LFB2
.uleb128 0
.byte 0x4
.long .LCFI6-.LFB2
.byte 0xe
.uleb128 0x10
.byte 0x86
.uleb128 0x2
.byte 0x4
.long .LCFI7-.LCFI6
.byte 0xd
.uleb128 0x6
.byte 0x4
.long .LCFI8-.LCFI7
.byte 0xc
.uleb128 0x7
.uleb128 0x8
.align 8
.LEFDE11:
.text
.Letext0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.long 0x8c
.value 0x2
.long .Ldebug_abbrev0
.byte 0x8
.uleb128 0x1
.long .LASF2
.byte 0x1
.long .LASF3
.long .LASF4
.quad .Ltext0
.quad .Letext0
.long .Ldebug_line0
.uleb128 0x2
.byte 0x1
.long .LASF0
.byte 0x1
.byte 0x12
.quad .LFB0
.quad .LFE0
.long .LLST0
.byte 0x1
.uleb128 0x3
.byte 0x1
.long .LASF1
.byte 0x1
.byte 0x19
.quad .LFB1
.quad .LFE1
.long .LLST1
.byte 0x1
.uleb128 0x4
.byte 0x1
.long .LASF5
.byte 0x1
.byte 0x1f
.long 0x88
.quad .LFB2
.quad .LFE2
.long .LLST2
.byte 0x1
.uleb128 0x5
.byte 0x4
.byte 0x5
.string "int"
.byte 0
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.uleb128 0x1
.uleb128 0x11
.byte 0x1
.uleb128 0x25
.uleb128 0xe
.uleb128 0x13
.uleb128 0xb
.uleb128 0x3
.uleb128 0xe
.uleb128 0x1b
.uleb128 0xe
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x1
.uleb128 0x10
.uleb128 0x6
.byte 0
.byte 0
.uleb128 0x2
.uleb128 0x2e
.byte 0
.uleb128 0x3f
.uleb128 0xc
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x1
.uleb128 0x40
.uleb128 0x6
.uleb128 0x2117
.uleb128 0xc
.byte 0
.byte 0
.uleb128 0x3
.uleb128 0x2e
.byte 0
.uleb128 0x3f
.uleb128 0xc
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x1
.uleb128 0x40
.uleb128 0x6
.uleb128 0x2116
.uleb128 0xc
.byte 0
.byte 0
.uleb128 0x4
.uleb128 0x2e
.byte 0
.uleb128 0x3f
.uleb128 0xc
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x1
.uleb128 0x40
.uleb128 0x6
.uleb128 0x2116
.uleb128 0xc
.byte 0
.byte 0
.uleb128 0x5
.uleb128 0x24
.byte 0
.uleb128 0xb
.uleb128 0xb
.uleb128 0x3e
.uleb128 0xb
.uleb128 0x3
.uleb128 0x8
.byte 0
.byte 0
.byte 0
.section .debug_loc,"",@progbits
.Ldebug_loc0:
.LLST0:
.quad .LFB0-.Ltext0
.quad .LCFI0-.Ltext0
.value 0x2
.byte 0x77
.sleb128 8
.quad .LCFI0-.Ltext0
.quad .LCFI1-.Ltext0
.value 0x2
.byte 0x77
.sleb128 16
.quad .LCFI1-.Ltext0
.quad .LCFI2-.Ltext0
.value 0x2
.byte 0x76
.sleb128 16
.quad .LCFI2-.Ltext0
.quad .LFE0-.Ltext0
.value 0x2
.byte 0x77
.sleb128 8
.quad 0
.quad 0
.LLST1:
.quad .LFB1-.Ltext0
.quad .LCFI3-.Ltext0
.value 0x2
.byte 0x77
.sleb128 8
.quad .LCFI3-.Ltext0
.quad .LCFI4-.Ltext0
.value 0x2
.byte 0x77
.sleb128 16
.quad .LCFI4-.Ltext0
.quad .LCFI5-.Ltext0
.value 0x2
.byte 0x76
.sleb128 16
.quad .LCFI5-.Ltext0
.quad .LFE1-.Ltext0
.value 0x2
.byte 0x77
.sleb128 8
.quad 0
.quad 0
.LLST2:
.quad .LFB2-.Ltext0
.quad .LCFI6-.Ltext0
.value 0x2
.byte 0x77
.sleb128 8
.quad .LCFI6-.Ltext0
.quad .LCFI7-.Ltext0
.value 0x2
.byte 0x77
.sleb128 16
.quad .LCFI7-.Ltext0
.quad .LCFI8-.Ltext0
.value 0x2
.byte 0x76
.sleb128 16
.quad .LCFI8-.Ltext0
.quad .LFE2-.Ltext0
.value 0x2
.byte 0x77
.sleb128 8
.quad 0
.quad 0
.section .debug_aranges,"",@progbits
.long 0x2c
.value 0x2
.long .Ldebug_info0
.byte 0x8
.byte 0
.value 0
.value 0
.quad .Ltext0
.quad .Letext0-.Ltext0
.quad 0
.quad 0
.section .debug_line,"",@progbits
.Ldebug_line0:
.section .debug_str,"MS",@progbits,1
.LASF0:
.string "stop_frame"
.LASF3:
.string "dw2-undefined-ret-addr.c"
.LASF2:
.string "GNU C 4.7.2"
.LASF1:
.string "first_frame"
.LASF5:
.string "main"
.LASF4:
.string "/home/username/src/gdb/testsuite/gdb.dwarf2"
.ident "GCC: (GNU) 4.7.2"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 1,745
|
gdb/testsuite/gdb.dwarf2/dw2-filename.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2004-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* Debug information */
.section .debug_info
.Lcu1_begin:
/* CU header */
.4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */
.Lcu1_start:
.2byte 2 /* DWARF Version */
.4byte .Labbrev1_begin /* Offset into abbrev section */
.byte 4 /* Pointer size */
/* CU die */
.uleb128 1 /* Abbrev: DW_TAG_compile_unit */
.ascii "file1.txt\0" /* DW_AT_name */
.ascii "GNU C 3.3.3\0" /* DW_AT_producer */
.byte 1 /* DW_AT_language (C) */
.Lcu1_end:
/* Abbrev table */
.section .debug_abbrev
.Labbrev1_begin:
.uleb128 1 /* Abbrev code */
.uleb128 0x11 /* DW_TAG_compile_unit */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x25 /* DW_AT_producer */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x13 /* DW_AT_language */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
|
stsp/binutils-ia16
| 5,466
|
gdb/testsuite/gdb.dwarf2/dw2-producer.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2004-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This file contains some basic DWARF info. The only particularity about
this info is that this compile unit does not have a DW_AT_producer
attribute. The rest is a straight copy of one of the other assembly
files available in this directory.
The intent of this testcase is to verify that GDB is able to handle
the lack of the DW_AT_producer attribute without problem. */
/* Dummy function to provide debug information for. */
.text
.Lbegin_text1:
.globl func_cu1
.type func_cu1, %function
func_cu1:
.Lbegin_func_cu1:
.int 0
.Lend_func_cu1:
.size func_cu1, .-func_cu1
.Lend_text1:
/* Debug information */
.section .debug_info
.Lcu1_begin:
/* CU header */
.4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */
.Lcu1_start:
.2byte 2 /* DWARF Version */
.4byte .Labbrev1_begin /* Offset into abbrev section */
.byte 4 /* Pointer size */
/* CU die */
.uleb128 1 /* Abbrev: DW_TAG_compile_unit */
.4byte .Lline1_begin /* DW_AT_stmt_list */
.4byte .Lend_text1 /* DW_AT_high_pc */
.4byte .Lbegin_text1 /* DW_AT_low_pc */
.ascii "file1.txt\0" /* DW_AT_name */
.byte 1 /* DW_AT_language (C) */
/* func_cu1 */
.uleb128 2 /* Abbrev: DW_TAG_subprogram */
.byte 1 /* DW_AT_external */
.byte 1 /* DW_AT_decl_file */
.byte 2 /* DW_AT_decl_line */
.ascii "func_cu1\0" /* DW_AT_name */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.4byte .Lbegin_func_cu1 /* DW_AT_low_pc */
.4byte .Lend_func_cu1 /* DW_AT_high_pc */
.byte 1 /* DW_AT_frame_base: length */
.byte 0x55 /* DW_AT_frame_base: DW_OP_reg5 */
.Ltype_int:
.uleb128 3 /* Abbrev: DW_TAG_base_type */
.ascii "int\0" /* DW_AT_name */
.byte 4 /* DW_AT_byte_size */
.byte 5 /* DW_AT_encoding */
.byte 0 /* End of children of CU */
.Lcu1_end:
/* Abbrev table */
.section .debug_abbrev
.Labbrev1_begin:
.uleb128 1 /* Abbrev code */
.uleb128 0x11 /* DW_TAG_compile_unit */
.byte 1 /* has_children */
.uleb128 0x10 /* DW_AT_stmt_list */
.uleb128 0x6 /* DW_FORM_data4 */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x13 /* DW_AT_language */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 2 /* Abbrev code */
.uleb128 0x2e /* DW_TAG_subprogram */
.byte 0 /* has_children */
.uleb128 0x3f /* DW_AT_external */
.uleb128 0xc /* DW_FORM_flag */
.uleb128 0x3a /* DW_AT_decl_file */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3b /* DW_AT_decl_line */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x40 /* DW_AT_frame_base */
.uleb128 0xa /* DW_FORM_block1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 3 /* Abbrev code */
.uleb128 0x24 /* DW_TAG_base_type */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0xb /* DW_AT_byte_size */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3e /* DW_AT_encoding */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
/* Line table */
.section .debug_line
.Lline1_begin:
.4byte .Lline1_end - .Lline1_start /* Initial length */
.Lline1_start:
.2byte 2 /* Version */
.4byte .Lline1_lines - .Lline1_hdr /* header_length */
.Lline1_hdr:
.byte 1 /* Minimum insn length */
.byte 1 /* default_is_stmt */
.byte 1 /* line_base */
.byte 1 /* line_range */
.byte 0x10 /* opcode_base */
/* Standard lengths */
.byte 0
.byte 1
.byte 1
.byte 1
.byte 1
.byte 0
.byte 0
.byte 0
.byte 1
.byte 0
.byte 0
.byte 1
.byte 0
.byte 0
.byte 0
/* Include directories */
.byte 0
/* File names */
.ascii "file1.txt\0"
.uleb128 0
.uleb128 0
.uleb128 0
.byte 0
.Lline1_lines:
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
.4byte .Lbegin_func_cu1
.byte 3 /* DW_LNS_advance_line */
.sleb128 3 /* ... to 4 */
.byte 1 /* DW_LNS_copy */
.byte 1 /* DW_LNS_copy (second time as an end-of-prologue marker) */
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
.4byte .Lend_func_cu1
.byte 0 /* DW_LNE_end_of_sequence */
.uleb128 1
.byte 1
.Lline1_end:
|
stsp/binutils-ia16
| 3,514
|
gdb/testsuite/gdb.dwarf2/dw2-modula2-self-type.S
|
/* Copyright 2010-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* Compiled from:
MODULE m;
TYPE t = PROCEDURE (t);
VAR v: t;
BEGIN
END m.
But "v" has been removed afterwards. */
.data
v: .long 0
.section .debug_info
d:
.4byte .Ldebug_info_end - 1f /* Length of Compilation Unit Info */
1:
.2byte 0x3 /* DWARF version number */
.4byte .Ldebug_abbrev0 /* Offset Into Abbrev. Section */
.byte 0x4 /* Pointer Size (in bytes) */
dieb:
.uleb128 0x1 /* (DIE (0xb) DW_TAG_compile_unit) */
.4byte .LASF0 /* DW_AT_producer */
.byte 0xa /* DW_AT_language = DW_LANG_Modula2 */
.4byte .LASF1 /* DW_AT_name: "2.mod" */
.4byte .LASF2 /* DW_AT_comp_dir: "" */
die210:
.uleb128 0x5 /* (DIE (0x210) DW_TAG_subroutine_type) */
die215:
.uleb128 0x6 /* (DIE (0x215) DW_TAG_formal_parameter) */
.4byte die21b-d /* DW_AT_type */
.byte 0x0 /* end of children of DIE 0x210 */
die21b:
.uleb128 0x7 /* (DIE (0x21b) DW_TAG_pointer_type) */
.byte 0x4 /* DW_AT_byte_size */
.4byte die210-d /* DW_AT_type */
die221:
.uleb128 0x8 /* (DIE (0x221) DW_TAG_variable) */
.ascii "v\0" /* DW_AT_name */
.4byte die21b-d /* DW_AT_type */
.byte 2f-1f /* DW_AT_location */
1: .byte 0x3 /* DW_OP_addr */
.4byte v
2:
.byte 0x0 /* end of children of DIE 0xb */
.Ldebug_info_end:
.section .debug_abbrev
.Ldebug_abbrev0:
.uleb128 0x1 /* (abbrev code) */
.uleb128 0x11 /* (TAG: DW_TAG_compile_unit) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x25 /* (DW_AT_producer) */
.uleb128 0xe /* (DW_FORM_strp) */
.uleb128 0x13 /* (DW_AT_language) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0xe /* (DW_FORM_strp) */
.uleb128 0x1b /* (DW_AT_comp_dir) */
.uleb128 0xe /* (DW_FORM_strp) */
.byte 0x0
.byte 0x0
.uleb128 0x5 /* (abbrev code) */
.uleb128 0x15 /* (TAG: DW_TAG_subroutine_type) */
.byte 0x1 /* DW_children_yes */
.byte 0x0
.byte 0x0
.uleb128 0x6 /* (abbrev code) */
.uleb128 0x5 /* (TAG: DW_TAG_formal_parameter) */
.byte 0x0 /* DW_children_no */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0x0
.byte 0x0
.uleb128 0x7 /* (abbrev code) */
.uleb128 0xf /* (TAG: DW_TAG_pointer_type) */
.byte 0x0 /* DW_children_no */
.uleb128 0xb /* (DW_AT_byte_size) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0x0
.byte 0x0
.uleb128 0x8 /* (abbrev code) */
.uleb128 0x34 /* (TAG: DW_TAG_variable) */
.byte 0x0 /* DW_children_no */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.uleb128 0x2 /* (DW_AT_location) */
.uleb128 0xa /* (DW_FORM_block1) */
.byte 0x0
.byte 0x0
.byte 0x0
.section .debug_str
.LASF1:
.string "2.mod"
.LASF0:
.string "GNU Modula-2 0.78 (20100402) grafted onto GCC 4.1.2"
.LASF2:
.string ""
|
stsp/binutils-ia16
| 10,951
|
gdb/testsuite/gdb.dwarf2/pr11465.S
|
/* Copyright 2010-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* Compiled from:
namespace N
{
class C
{
public:
typedef void (*t) (C);
C (t) {}
};
typedef C::t u;
u f;
C c (f);
};
int
main ()
{
return 0;
}
*/
.text
text_start:
_ZN1N1cE:
/* Valid function must have non-empty PC range. */
.4byte 0
text_end:
.section .debug_info
d:
.4byte .Ldebug_info_end - 1f /* Length of CU info */
1:
.2byte 0x2 /* DWARF version number */
.4byte .Ldebug_abbrev0 /* Abbrev offset */
.byte 0x4 /* Pointer size */
dieb: .uleb128 0x1 /* DW_TAG_compile_unit */
.4byte .LASF4 /* DW_AT_producer */
.byte 0x4 /* DW_AT_language */
.4byte .LASF5 /* DW_AT_name */
.4byte .LASF6 /* DW_AT_comp_dir */
.4byte text_start /* DW_AT_low_pc */
.4byte text_end /* DW_AT_high_pc */
.4byte text_start /* DW_AT_entry_pc */
die29: .uleb128 0x2 /* DW_TAG_namespace */
.string "N" /* DW_AT_name */
die32: .uleb128 0x3 /* DW_TAG_class_type */
.string "C" /* DW_AT_name */
.byte 0x1 /* DW_AT_declaration */
die36: .uleb128 0x4 /* DW_TAG_typedef */
.string "u" /* DW_AT_name */
.4byte die7e-d /* DW_AT_type */
die3f: .uleb128 0x5 /* DW_TAG_variable */
.string "f" /* DW_AT_name */
.4byte .LASF0 /* DW_AT_MIPS_linkage_name */
.4byte die36-d /* DW_AT_type */
.byte 0x1 /* DW_AT_external */
.byte 0x1 /* DW_AT_declaration */
die4e: .uleb128 0x5 /* DW_TAG_variable */
.string "c" /* DW_AT_name */
.4byte .LASF1 /* DW_AT_MIPS_linkage_name */
.4byte die5e-d /* DW_AT_type */
.byte 0x1 /* DW_AT_external */
.byte 0x1 /* DW_AT_declaration */
.byte 0x0
die5e: .uleb128 0x6 /* DW_TAG_class_type */
.4byte die32-d /* DW_AT_specification */
.byte 0x1 /* DW_AT_byte_size */
die6a: .uleb128 0x7 /* DW_TAG_subprogram */
.byte 0x1 /* DW_AT_external */
.string "C" /* DW_AT_name */
.byte 0x1 /* DW_AT_declaration */
die71: .uleb128 0x8 /* DW_TAG_formal_parameter */
.4byte die8f-d /* DW_AT_type */
.byte 0x1 /* DW_AT_artificial */
die77: .uleb128 0x9 /* DW_TAG_formal_parameter */
.4byte die7e-d /* DW_AT_type */
.byte 0x0
.byte 0x0
die7e: .uleb128 0xa /* DW_TAG_pointer_type */
.byte PTRBITS / 8 /* DW_AT_byte_size */
.4byte die84-d /* DW_AT_type */
die84: .uleb128 0xb /* DW_TAG_subroutine_type */
die89: .uleb128 0x9 /* DW_TAG_formal_parameter */
.4byte die5e-d /* DW_AT_type */
.byte 0x0
die8f: .uleb128 0xa /* DW_TAG_pointer_type */
.byte PTRBITS / 8 /* DW_AT_byte_size */
.4byte die5e-d /* DW_AT_type */
die95: .uleb128 0xc /* DW_TAG_subprogram */
.4byte die6a-d /* DW_AT_specification */
.byte 0x2 /* DW_AT_inline */
die9f: .uleb128 0xd /* DW_TAG_formal_parameter */
.4byte .LASF7 /* DW_AT_name */
.4byte dieaf-d /* DW_AT_type */
.byte 0x1 /* DW_AT_artificial */
diea9: .uleb128 0x9 /* DW_TAG_formal_parameter */
.4byte die7e-d /* DW_AT_type */
.byte 0x0
dieaf: .uleb128 0xe /* DW_TAG_const_type */
.4byte die8f-d /* DW_AT_type */
dieb4: .uleb128 0xf /* DW_TAG_subprogram */
.4byte die95-d /* DW_AT_abstract_origin */
.4byte _ZN1N1cE /* DW_AT_low_pc */
.4byte _ZN1N1cE + (text_end - text_start)
/* DW_AT_high_pc */
diec9: .uleb128 0x10 /* DW_TAG_subprogram */
.4byte die9f-d /* DW_AT_abstract_origin */
.byte 2f-1f /* DW_AT_location */
1:
.byte 0x50 /* DW_OP_reg0 */
2:
died1: .uleb128 0x10 /* DW_TAG_formal_parameter */
.4byte diea9-d /* DW_AT_abstract_origin */
.byte 2f-1f /* DW_AT_location */
1:
.byte 0x51 /* DW_OP_reg1 */
2:
.byte 0x0
dieda: .uleb128 0x11 /* DW_TAG_subprogram */
.byte 0x1 /* DW_AT_external */
.4byte .LASF8 /* DW_AT_name */
.4byte dief2-d /* DW_AT_type */
.4byte _ZN1N1cE /* DW_AT_low_pc */
.4byte _ZN1N1cE + (text_end - text_start)
/* DW_AT_high_pc */
dief2: .uleb128 0x12 /* DW_TAG_base_type */
.byte 0x4 /* DW_AT_byte_size */
.byte 0x5 /* DW_AT_encoding */
.string "int" /* DW_AT_name */
die149: .uleb128 0x16 /* DW_TAG_variable */
.4byte die4e-d /* DW_AT_specification */
.byte 0x5 /* DW_AT_location */
.byte 0x3
.4byte _ZN1N1cE
.byte 0x0
.Ldebug_info_end:
.section .debug_abbrev
.Ldebug_abbrev0:
.uleb128 0x1 /* abbrev code*/
.uleb128 0x11 /* DW_TAG_compile_unit */
.byte 0x1 /* DW_children_yes */
.uleb128 0x25 /* DW_AT_producer*/
.uleb128 0xe /* DW_FORM_strp */
.uleb128 0x13 /* DW_AT_language */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0xe /* DW_FORM_strp */
.uleb128 0x1b /* DW_AT_comp_dir */
.uleb128 0xe /* DW_FORM_strp */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x52 /* DW_AT_entry_pc */
.uleb128 0x1 /* DW_FORM_addr */
.byte 0x0
.byte 0x0
.uleb128 0x2 /* abbrev code */
.uleb128 0x39 /* DW_TAG_namespace */
.byte 0x1 /* DW_children_yes */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.byte 0x0
.byte 0x0
.uleb128 0x3 /* abbrev code */
.uleb128 0x2 /* DW_TAG_class_type */
.byte 0x0 /* DW_has_children_no */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x3c /* DW_AT_declaration */
.uleb128 0xc /* DW_FORM_flag */
.byte 0x0
.byte 0x0
.uleb128 0x4 /* abbrev code */
.uleb128 0x16 /* DW_TAG_typedef */
.byte 0x0 /* DW_has_children_no */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.byte 0x0
.byte 0x0
.uleb128 0x5 /* abbrev code */
.uleb128 0x34 /* DW_TAG_variable */
.byte 0x0 /* DW_has_children_no */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x2007 /* DW_AT_MIPS_linkage_name */
.uleb128 0xe /* DW_FORM_strp */
.uleb128 0x49 /* DW_AT_TYPE */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x3f /* DW_AT_external */
.uleb128 0xc /* DW_FORM_flag */
.uleb128 0x3c /* DW_AT_declaration */
.uleb128 0xc /* DW_FORM_flag */
.byte 0x0
.byte 0x0
.uleb128 0x6 /* abbrev code */
.uleb128 0x2 /* DW_TAG_class_type */
.byte 0x1 /* DW_has_children_yes */
.uleb128 0x47 /* DW_AT_specification */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0xb /* DW_AT_byte_size */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0
.byte 0x0
.uleb128 0x7 /* abbrev code */
.uleb128 0x2e /* DW_TAG_subprogra */
.byte 0x1 /* DW_has_children_yes */
.uleb128 0x3f /* DW_AT_external */
.uleb128 0xc /* DW_FORM_flag */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x3c /* DW_AT_declaration */
.uleb128 0xc /* DW_FORM_flag */
.byte 0x0
.byte 0x0
.uleb128 0x8 /* abbrev code */
.uleb128 0x5 /* DW_TAG_formal_parameter */
.byte 0x0 /* DW_has_children_no */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x34 /* DW_AT_artificial */
.uleb128 0xc /* DW_FORM_flag */
.byte 0x0
.byte 0x0
.uleb128 0x9 /* abbrev code */
.uleb128 0x5 /* DW_TAG_formal_parameter */
.byte 0x0 /* DW_has_children_no */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.byte 0x0
.byte 0x0
.uleb128 0xa /* abbrev code */
.uleb128 0xf /* DW_TAG_pointer_type */
.byte 0x0 /* DW_has_children_no */
.uleb128 0xb /* DW_AT_byte_size */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.byte 0x0
.byte 0x0
.uleb128 0xb /* abbrev code */
.uleb128 0x15 /* DW_TAG_subroutine_type */
.byte 0x1 /* DW_has_children_yes */
.byte 0x0
.byte 0x0
.uleb128 0xc /* abbrev code */
.uleb128 0x2e /* DW_TAG_subprogram */
.byte 0x1 /* DW_has_children_yes */
.uleb128 0x47 /* DW_AT_specification */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x20 /* DW_AT_inline */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0
.byte 0x0
.uleb128 0xd /* abbrev code */
.uleb128 0x5 /* DW_TAG_formal_parameter */
.byte 0x0 /* DW_has_children_no */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0xe /* DW_FORM_strp */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x34 /* DW_AT_artificial */
.uleb128 0xc /* DW_FORM_flag */
.byte 0x0
.byte 0x0
.uleb128 0xe /* abbrev code */
.uleb128 0x26 /* DW_TAG_const_type */
.byte 0x0 /* DW_has_children_no */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.byte 0x0
.byte 0x0
.uleb128 0xf /* abbrev code */
.uleb128 0x2e /* DW_TAG_subprogram */
.byte 0x1 /* DW_has_children_yes */
.uleb128 0x31 /* DW_AT_abstract_origin */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.byte 0x0
.byte 0x0
.uleb128 0x10 /* abbrev code */
.uleb128 0x5 /* DW_TAG_formal_parameter */
.byte 0x0 /* DW_has_children_no */
.uleb128 0x31 /* DW_AT_abstract_origin */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x2 /* DW_AT_location */
.uleb128 0xa /* DW_FORM_block1 */
.byte 0x0
.byte 0x0
.uleb128 0x11 /* abbrev code */
.uleb128 0x2e /* DW_TAG_subprogram */
.byte 0x0 /* DW_has_children_no */
.uleb128 0x3f /* DW_AT_external */
.uleb128 0xc /* DW_FORM_flag */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0xe /* DW_FORM_strp */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.byte 0x0
.byte 0x0
.uleb128 0x12 /* abbrev code */
.uleb128 0x24 /* DW_TAG_base_type */
.byte 0x0 /* DW_has_children_no */
.uleb128 0xb /* DW_AT_byte_size */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3e /* DW_AT_encoding */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.byte 0x0
.byte 0x0
.uleb128 0x16 /* abbrev code */
.uleb128 0x34 /* DW_TAG_variable */
.byte 0x0 /* DW_has_children_no */
.uleb128 0x47 /* DW_AT_specification */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x2 /* DW_AT_location */
.uleb128 0xa /* DW_FORM_block1 */
.byte 0x0
.byte 0x0
.byte 0x0
.section .debug_str
.LASF0:
.string "_ZN1N1fE"
.LASF7:
.string "this"
.LASF6:
.string ""
.LASF8:
.string "main"
.LASF1:
.string "_ZN1N1cE"
.LASF5:
.string "pr11465.cc"
.LASF4:
.string "GNU C++ 4.4.2"
.ident "GCC: (GNU) 4.4.2"
|
stsp/binutils-ia16
| 5,545
|
gdb/testsuite/gdb.dwarf2/dw2-strp.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2008-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* Debug information */
.section .debug_info
.Lcu1_begin:
.4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */
.Lcu1_start:
.2byte 2 /* DWARF version number */
.4byte .Ldebug_abbrev0 /* Offset Into Abbrev. Section */
.byte 4 /* Pointer Size (in bytes) */
/* CU die */
.uleb128 1 /* Abbrev: DW_TAG_compile_unit */
.4byte .Lproducer /* DW_AT_producer */
/* Use C++ to exploit a bug in parsing DW_AT_name "". */
.byte 4 /* DW_AT_language (C++) - */
.Larray_type:
.uleb128 2 /* Abbrev: DW_TAG_array_type */
.4byte .Lchar_type-.Lcu1_begin /* DW_AT_type */
.uleb128 3 /* Abbrev: DW_TAG_subrange_type */
.4byte .Luint_type-.Lcu1_begin /* DW_AT_type */
.byte 0xd /* DW_AT_upper_bound */
.byte 0 /* End of children of die */
.Luint_type:
.uleb128 4 /* Abbrev: DW_TAG_base_type */
.4byte .Luint_str /* DW_AT_name */
.byte 4 /* DW_AT_byte_size */
.byte 7 /* DW_AT_encoding */
.Lchar_type:
.uleb128 4 /* Abbrev: DW_TAG_base_type */
.4byte .Lchar_str /* DW_AT_name */
.byte 1 /* DW_AT_byte_size */
.byte 6 /* DW_AT_encoding */
.uleb128 5 /* Abbrev: DW_TAG_variable DW_FORM_strp */
.4byte .Lvarname /* DW_AT_name */
.4byte .Lconst_type-.Lcu1_begin/* DW_AT_type */
.4byte .Lvarcontents /* DW_AT_const_value */
.byte 1 /* DW_AT_external */
.uleb128 6 /* Abbrev: DW_TAG_variable DW_FORM_string */
.string "a_string2" /* DW_AT_name */
.4byte .Lconst_type-.Lcu1_begin/* DW_AT_type */
.string "hello world2\n" /* DW_AT_const_value */
.byte 1 /* DW_AT_external */
.Lconst_type:
.uleb128 7 /* Abbrev: DW_TAG_const_type */
.4byte .Larray_type-.Lcu1_begin/* DW_AT_type */
.uleb128 8 /* Abbrev: DW_TAG_variable (name "") */
.4byte .Lemptyname /* DW_AT_name */
.byte 0 /* End of children of CU */
.Lcu1_end:
.section .debug_abbrev
.Ldebug_abbrev0:
.uleb128 1 /* Abbrev code */
.uleb128 0x11 /* DW_TAG_compile_unit */
.byte 0x1 /* has_children */
.uleb128 0x25 /* DW_AT_producer */
.uleb128 0xe /* DW_FORM_strp */
.uleb128 0x13 /* DW_AT_language */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 2 /* Abbrev code */
.uleb128 0x1 /* TAG: DW_TAG_array_type */
.byte 0x1 /* DW_children_yes */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 3 /* Abbrev code */
.uleb128 0x21 /* DW_TAG_subrange_type */
.byte 0x0 /* no children */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x2f /* DW_AT_upper_bound */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 4 /* Abbrev code */
.uleb128 0x24 /* DW_TAG_base_type */
.byte 0x0 /* no_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0xe /* DW_FORM_strp */
.uleb128 0xb /* DW_AT_byte_size */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3e /* DW_AT_encoding */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 5 /* Abbrev code */
.uleb128 0x34 /* DW_TAG_variable */
.byte 0x0 /* no_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0xe /* DW_FORM_strp */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x1c /* DW_AT_const_value */
.uleb128 0xe /* DW_FORM_strp */
.uleb128 0x3f /* DW_AT_external */
.uleb128 0xc /* DW_FORM_flag */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 6 /* Abbrev code */
.uleb128 0x34 /* DW_TAG_variable */
.byte 0x0 /* no_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x1c /* DW_AT_const_value */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x3f /* DW_AT_external */
.uleb128 0xc /* DW_FORM_flag */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 7 /* Abbrev code */
.uleb128 0x26 /* DW_TAG_const_type */
.byte 0x0 /* DW_children_no */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 8 /* Abbrev code */
.uleb128 0x34 /* DW_TAG_variable */
.byte 0x0 /* DW_children_no */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0xe /* DW_FORM_strp */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
/* String table */
.section .debug_str
.Lproducer:
.string "GNU C 3.3.3"
.Lchar_str:
.string "char"
.Luint_str:
.string "unsigned int"
.Lvarname:
.string "a_string"
.Lvarcontents:
.string "hello world!\n"
.Lemptyname:
.string ""
|
stsp/binutils-ia16
| 3,412
|
gdb/testsuite/gdb.dwarf2/dw2-empty-namespace.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2009-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* Test G++ 4.1 producing DW_TAG_namespace with DW_AT_name "::". */
.data
var: .4byte 1
.section .debug_info
.Lcu1_begin:
/* CU header */
.4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */
.Lcu1_start:
.2byte 2 /* DWARF Version */
.4byte .Labbrev1_begin /* Offset into abbrev section */
.byte 4 /* Pointer size */
/* CU die */
.uleb128 1 /* Abbrev: DW_TAG_compile_unit */
.ascii "file1.txt\0" /* DW_AT_name */
.ascii "GNU C 3.3.3\0" /* DW_AT_producer */
.byte 4 /* DW_LANG_C_plus_plus (C++) */
.Ltype_int:
.uleb128 2 /* Abbrev: DW_TAG_base_type */
.ascii "int\0" /* DW_AT_name */
.byte 4 /* DW_AT_byte_size */
.byte 5 /* DW_AT_encoding */
.uleb128 3 /* Abbrev: DW_TAG_namespace */
.ascii "::\0" /* DW_AT_name */
.uleb128 7 /* Abbrev: DW_TAG_variable (location) */
.ascii "var\0" /* DW_AT_name */
.byte 2f - 1f /* DW_AT_location */
1: .byte 3 /* DW_OP_addr */
.4byte var /* <addr> */
2: .4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.byte 0 /* End of children of DW_TAG_namespace */
.byte 0 /* End of children of CU */
.Lcu1_end:
/* Abbrev table */
.section .debug_abbrev
.Labbrev1_begin:
.uleb128 1 /* Abbrev code */
.uleb128 0x11 /* DW_TAG_compile_unit */
.byte 1 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x25 /* DW_AT_producer */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x13 /* DW_AT_language */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 2 /* Abbrev code */
.uleb128 0x24 /* DW_TAG_base_type */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0xb /* DW_AT_byte_size */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3e /* DW_AT_encoding */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 3 /* Abbrev code */
.uleb128 0x39 /* DW_TAG_namespace */
.byte 1 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 7 /* Abbrev code (location) */
.uleb128 0x34 /* DW_TAG_variable */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x2 /* DW_AT_location */
.uleb128 0xa /* DW_FORM_block1 */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
|
stsp/binutils-ia16
| 4,226
|
gdb/testsuite/gdb.dwarf2/dw2-case-insensitive-debug.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2011-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#if PTRBITS == 64
# define PTRBYTE .8byte
#elif PTRBITS == 32
# define PTRBYTE .4byte
#else
# error "Unsupported pointer size"
#endif
.section .debug_info
.Lcu1_begin:
/* CU header */
.4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */
.Lcu1_start:
.2byte 2 /* DWARF Version */
.4byte .Labbrev1_begin /* Offset into abbrev section */
.byte PTRBITS / 8 /* Pointer size */
/* CU die */
.uleb128 1 /* Abbrev: DW_TAG_compile_unit */
.ascii "file1.txt\0" /* DW_AT_name */
.ascii "GNU C 3.3.3\0" /* DW_AT_producer */
.byte 8 /* DW_AT_language (DW_LANG_Fortran90) */
PTRBYTE cu_text_start /* DW_AT_low_pc */
PTRBYTE cu_text_end /* DW_AT_high_pc */
.uleb128 3 /* Abbrev: DW_TAG_subprogram */
.byte 1 /* DW_AT_external */
.ascii "FUNC_lang\0" /* DW_AT_name */
PTRBYTE FUNC_lang_start /* DW_AT_low_pc */
PTRBYTE FUNC_lang_end /* DW_AT_high_pc */
.byte 1 /* DW_AT_prototyped */
.4byte .Ltype - .Lcu1_begin /* DW_AT_type */
.Ltype:
.uleb128 0x5 /* Abbrev: DW_TAG_base_type */
.byte 0x4 /* DW_AT_byte_size */
.byte 0x5 /* DW_AT_encoding */
.ascii "foo\0" /* DW_AT_name */
.byte 0 /* End of children of CU */
.Lcu1_end:
/* The .debug_names-based index support depends on
.debug_aranges generated by GCC. (.gdb_index includes a
gdb-generated map instead.) */
.section .debug_aranges,"",@progbits
.4byte .Laranges_end - .Laranges_start // Length of Address Ranges Info
.Laranges_start:
.2byte 0x2 // DWARF Version
.4byte .Lcu1_begin // .Ldebug_info0 - Offset of Compilation Unit Info
.byte PTRBITS / 8 // Size of Address
.byte 0 // Size of Segment Descriptor
.2byte 0 // Pad to 16 byte boundary
.2byte 0
PTRBYTE cu_text_start // Address
PTRBYTE 0x1000 // cu_text_end - cu_text_start // Length
PTRBYTE 0
PTRBYTE 0
.Laranges_end:
/* Abbrev table */
.section .debug_abbrev
.Labbrev1_begin:
.uleb128 1 /* Abbrev code */
.uleb128 0x11 /* DW_TAG_compile_unit */
.byte 1 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x25 /* DW_AT_producer */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x13 /* DW_AT_language */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 3 /* Abbrev code */
.uleb128 0x2e /* DW_TAG_subprogram */
.byte 0 /* has_children */
.uleb128 0x3f /* DW_AT_external */
.uleb128 0xc /* DW_FORM_flag */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x27 /* DW_AT_prototyped */
.uleb128 0xc /* DW_FORM_flag */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 0x5 /* Abbrev code */
.uleb128 0x24 /* DW_TAG_base_type */
.byte 0x0 /* DW_children_no */
.uleb128 0xb /* DW_AT_byte_size */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3e /* DW_AT_encoding */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
|
stsp/binutils-ia16
| 2,960
|
gdb/testsuite/gdb.dwarf2/dw2-var-zero-addr.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2011-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.data
.section .debug_info
.Lcu1_begin:
/* CU header */
.4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */
.Lcu1_start:
.2byte 2 /* DWARF Version */
.4byte .Labbrev1_begin /* Offset into abbrev section */
.byte 4 /* Pointer size */
/* CU die */
.uleb128 1 /* Abbrev: DW_TAG_compile_unit */
.ascii "dw2-var-zero-addr.c\0" /* DW_AT_name */
.ascii "GNU C 4.3.2\0" /* DW_AT_producer */
.byte 1 /* DW_AT_language (C) */
.Ltype_uchar:
.uleb128 2 /* Abbrev: DW_TAG_base_type */
.ascii "int\0" /* DW_AT_name */
.byte 4 /* DW_AT_byte_size */
.byte 5 /* DW_AT_encoding */
.uleb128 3 /* Abbrev: DW_TAG_variable (location) */
.ascii "var\0" /* DW_AT_name */
.byte 2f - 1f /* DW_AT_location */
1: .byte 3 /* DW_OP_addr */
.4byte 0 /* <addr> */
2: .4byte .Ltype_uchar-.Lcu1_begin /* DW_AT_type */
.byte 0 /* End of children of CU */
.Lcu1_end:
/* Abbrev table */
.section .debug_abbrev
.Labbrev1_begin:
.uleb128 1 /* Abbrev code */
.uleb128 0x11 /* DW_TAG_compile_unit */
.byte 1 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x25 /* DW_AT_producer */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x13 /* DW_AT_language */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 2 /* Abbrev code */
.uleb128 0x24 /* DW_TAG_base_type */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0xb /* DW_AT_byte_size */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3e /* DW_AT_encoding */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 3 /* Abbrev code (location) */
.uleb128 0x34 /* DW_TAG_variable */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x2 /* DW_AT_location */
.uleb128 0xa /* DW_FORM_block1 */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
|
stsp/binutils-ia16
| 3,124
|
gdb/testsuite/gdb.dwarf2/frame-inlined-in-outer-frame.S
|
/* Copyright 2020-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include <asm/unistd.h>
/* Define these for each architecture:
1) RETURN_ADDRESS_REGNO: The register number representing the return
address in the DWARF CFI. It can be easily be looked up using
`readelf --debug-dump=frames-interp` on an existing binary of that
architecture, where it says `ra=X`.
2) exit_0: a sequence of instruction to execute the exit syscall with
argument 0. */
#if defined(__x86_64__)
# define RETURN_ADDRESS_REGNO 16
.macro exit_0
mov $__NR_exit, %rax
mov $0, %rdi
syscall
.endm
#elif defined(__i386__)
# define RETURN_ADDRESS_REGNO 8
.macro exit_0
mov $__NR_exit, %eax
mov $0, %ebx
int $0x80
.endm
#elif defined(__aarch64__)
# define RETURN_ADDRESS_REGNO 30
.macro exit_0
mov x0, #0
mov x8, #__NR_exit
svc #0
.endm
#elif defined(__arm__)
# define RETURN_ADDRESS_REGNO 14
.macro exit_0
ldr r7, =__NR_exit
ldr r0, =0
swi 0x0
.endm
#elif defined __powerpc64__
# define RETURN_ADDRESS_REGNO 65
.macro exit_0
li 0, __NR_exit /* r0 - contains system call number */
li 3, 0 /* r3 - contains first argument for sys call */
sc
.endm
#else
# error "Unsupported architecture"
#endif
/* The following assembly program mimics this pseudo C program, where
everything has been inlined:
1 void bar(void) {
2 nop;
3 }
4
5 void foo(void) {
6 nop;
7 bar();
8 nop;
9 }
10
11 void _start(void) {
12 nop;
13 foo();
14 nop;
15 exit(0);
16 }
*/
#if defined __powerpc64__
# if _CALL_ELF == 2
.abiversion 2 /* Tell gdb what ELF version to use. */
.global _start
_start:
# else
.abiversion 1 /* Tell gdb what ELF version to use. */
.align 2
.global _start
.section ".opd", "aw"
.align 3
_start:
.quad ._start,.TOC.@tocbase,0
.previous
.type ._start,@function
._start:
# endif
#else
.global _start
_start:
#endif
.cfi_startproc
/* State that the return address for this frame is undefined. */
.cfi_undefined RETURN_ADDRESS_REGNO
.global __cu_low_pc
__cu_low_pc:
.global __start_low_pc
__start_low_pc:
/* Line 12 */
nop
.global __foo_low_pc
__foo_low_pc:
/* Line 6 */
nop
.global __bar_low_pc
__bar_low_pc:
/* Line 2 */
nop
.global __bar_high_pc
__bar_high_pc:
/* Line 8 */
nop
.global __foo_high_pc
__foo_high_pc:
/* Line 14 */
nop
/* Line 15 */
exit_0
.cfi_endproc
.global __start_high_pc
__start_high_pc:
.global __cu_high_pc
__cu_high_pc:
|
stsp/binutils-ia16
| 2,604
|
gdb/testsuite/gdb.dwarf2/dw2-bad-parameter-type.S
|
/* Copyright 2010-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.section .debug_info
debug_start:
.4byte debug_end - 1f /* Length of Compilation Unit Info */
1:
.2byte 0x3 /* DWARF version number */
.4byte .Ldebug_abbrev0 /* Offset Into Abbrev. Section */
.byte 0x4 /* Pointer Size (in bytes) */
.uleb128 0x1 /* (DIE (0xb) DW_TAG_compile_unit) */
.ascii "GNU C 4.4.3\0" /* DW_AT_producer */
.byte 0x1 /* DW_AT_language */
.ascii "1.c\0" /* DW_AT_name */
.uleb128 0x4 /* (DIE (0x3c) DW_TAG_subprogram) */
.ascii "f\0" /* DW_AT_name */
/* Value 0 would require has_section_at_zero != 0 (which is true, though). */
.4byte 1 /* DW_AT_low_pc */
.4byte 2 /* DW_AT_high_pc */
.byte 0x1 /* DW_AT_prototyped */
.uleb128 0x5 /* (DIE (0x42) DW_TAG_formal_parameter) */
/* Invalid value. */
.4byte 0x0 /* DW_AT_type */
.byte 0x0 /* end of children of DIE 0x3c */
.byte 0x0 /* end of children of DIE 0xb */
debug_end:
.section .debug_abbrev
.Ldebug_abbrev0:
.uleb128 0x1 /* (abbrev code) */
.uleb128 0x11 /* (TAG: DW_TAG_compile_unit) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x25 /* (DW_AT_producer) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x13 /* (DW_AT_language) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.byte 0x0
.byte 0x0
.uleb128 0x4 /* (abbrev code) */
.uleb128 0x2e /* (TAG: DW_TAG_subprogram) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x11 /* (DW_AT_low_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x12 /* (DW_AT_high_pc) */
.uleb128 0x1 /* (DW_FORM_addr) */
.uleb128 0x27 /* (DW_AT_prototyped) */
.uleb128 0xc /* (DW_FORM_flag) */
.byte 0x0
.byte 0x0
.uleb128 0x5 /* (abbrev code) */
.uleb128 0x5 /* (TAG: DW_TAG_formal_parameter) */
.byte 0x0 /* DW_children_no */
.uleb128 0x49 /* (DW_AT_type) */
.uleb128 0x13 /* (DW_FORM_ref4) */
.byte 0x0
.byte 0x0
.byte 0x0
|
stsp/binutils-ia16
| 8,095
|
gdb/testsuite/gdb.dwarf2/pieces-optimized-out.S
|
/*
Copyright 2010-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This was compiled with gcc version 4.7.2 using:
gcc -O3 -m32 -g -o pieces-optimized-out.S -S pieces-optimized-out.c
The contents of this file are otherwise unmodified. */
.file "pieces-optimized-out.c"
.text
.Ltext0:
.p2align 4,,15
.globl foo
.type foo, @function
foo:
.LFB0:
.file 1 "pieces-optimized-out.c"
.loc 1 33 0
.LVL0:
.loc 1 35 0
movl 4(%esp), %eax
ret
.LFE0:
.size foo, .-foo
.section .text.startup,"ax",@progbits
.p2align 4,,15
.globl main
.type main, @function
main:
.LFB1:
.loc 1 39 0
.LVL1:
subl $4, %esp
.LCFI0:
.loc 1 44 0
movl $10, (%esp)
call foo
.LVL2:
.loc 1 46 0
addl $4, %esp
.LCFI1:
.loc 1 45 0
addl $20, %eax
.LVL3:
.loc 1 46 0
ret
.LFE1:
.size main, .-main
.section .debug_frame,"",@progbits
.Lframe0:
.long .LECIE0-.LSCIE0
.LSCIE0:
.long 0xffffffff
.byte 0x1
.string ""
.uleb128 0x1
.sleb128 -4
.byte 0x8
.byte 0xc
.uleb128 0x4
.uleb128 0x4
.byte 0x88
.uleb128 0x1
.align 4
.LECIE0:
.LSFDE0:
.long .LEFDE0-.LASFDE0
.LASFDE0:
.long .Lframe0
.long .LFB0
.long .LFE0-.LFB0
.align 4
.LEFDE0:
.LSFDE2:
.long .LEFDE2-.LASFDE2
.LASFDE2:
.long .Lframe0
.long .LFB1
.long .LFE1-.LFB1
.byte 0x4
.long .LCFI0-.LFB1
.byte 0xe
.uleb128 0x8
.byte 0x4
.long .LCFI1-.LCFI0
.byte 0xe
.uleb128 0x4
.align 4
.LEFDE2:
.section .eh_frame,"a",@progbits
.Lframe1:
.long .LECIE1-.LSCIE1
.LSCIE1:
.long 0
.byte 0x1
.string ""
.uleb128 0x1
.sleb128 -4
.byte 0x8
.byte 0xc
.uleb128 0x4
.uleb128 0x4
.byte 0x88
.uleb128 0x1
.align 4
.LECIE1:
.LSFDE5:
.long .LEFDE5-.LASFDE5
.LASFDE5:
.long .LASFDE5-.Lframe1
.long .LFB0
.long .LFE0-.LFB0
.align 4
.LEFDE5:
.LSFDE7:
.long .LEFDE7-.LASFDE7
.LASFDE7:
.long .LASFDE7-.Lframe1
.long .LFB1
.long .LFE1-.LFB1
.byte 0x4
.long .LCFI0-.LFB1
.byte 0xe
.uleb128 0x8
.byte 0x4
.long .LCFI1-.LCFI0
.byte 0xe
.uleb128 0x4
.align 4
.LEFDE7:
.text
.Letext0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.long 0xe4
.value 0x2
.long .Ldebug_abbrev0
.byte 0x4
.uleb128 0x1
.long .LASF0
.byte 0x1
.long .LASF1
.long .LASF2
.long .Ldebug_ranges0+0
.long 0
.long 0
.long .Ldebug_line0
.uleb128 0x2
.string "str"
.byte 0xc
.byte 0x1
.byte 0x17
.long 0x6c
.uleb128 0x3
.string "a"
.byte 0x1
.byte 0x19
.long 0x6c
.byte 0x2
.byte 0x23
.uleb128 0
.uleb128 0x3
.string "b"
.byte 0x1
.byte 0x1a
.long 0x6c
.byte 0x2
.byte 0x23
.uleb128 0x4
.uleb128 0x4
.string "c"
.byte 0x1
.byte 0x1b
.long 0x6c
.byte 0x4
.byte 0x3
.byte 0x1d
.byte 0x2
.byte 0x23
.uleb128 0x8
.uleb128 0x4
.string "d"
.byte 0x1
.byte 0x1c
.long 0x6c
.byte 0x4
.byte 0x3
.byte 0x1a
.byte 0x2
.byte 0x23
.uleb128 0x8
.byte 0
.uleb128 0x5
.byte 0x4
.byte 0x5
.string "int"
.uleb128 0x6
.byte 0x1
.string "foo"
.byte 0x1
.byte 0x20
.byte 0x1
.long 0x6c
.long .LFB0
.long .LFE0
.byte 0x2
.byte 0x74
.sleb128 4
.byte 0x1
.long 0x9f
.uleb128 0x7
.string "arg"
.byte 0x1
.byte 0x20
.long 0x6c
.byte 0x2
.byte 0x91
.sleb128 0
.byte 0
.uleb128 0x8
.byte 0x1
.long .LASF3
.byte 0x1
.byte 0x26
.byte 0x1
.long 0x6c
.long .LFB1
.long .LFE1
.long .LLST0
.byte 0x1
.uleb128 0x9
.string "s"
.byte 0x1
.byte 0x28
.long 0x29
.byte 0x6
.byte 0x35
.byte 0x9f
.byte 0x93
.uleb128 0x4
.byte 0x93
.uleb128 0x8
.uleb128 0xa
.string "v"
.byte 0x1
.byte 0x29
.long 0x6c
.long .LLST1
.uleb128 0xb
.long .LVL2
.long 0x73
.uleb128 0xc
.byte 0x2
.byte 0x74
.sleb128 0
.byte 0x1
.byte 0x3a
.byte 0
.byte 0
.byte 0
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.uleb128 0x1
.uleb128 0x11
.byte 0x1
.uleb128 0x25
.uleb128 0xe
.uleb128 0x13
.uleb128 0xb
.uleb128 0x3
.uleb128 0xe
.uleb128 0x1b
.uleb128 0xe
.uleb128 0x55
.uleb128 0x6
.uleb128 0x11
.uleb128 0x1
.uleb128 0x52
.uleb128 0x1
.uleb128 0x10
.uleb128 0x6
.byte 0
.byte 0
.uleb128 0x2
.uleb128 0x13
.byte 0x1
.uleb128 0x3
.uleb128 0x8
.uleb128 0xb
.uleb128 0xb
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x1
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0x3
.uleb128 0xd
.byte 0
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x38
.uleb128 0xa
.byte 0
.byte 0
.uleb128 0x4
.uleb128 0xd
.byte 0
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0xb
.uleb128 0xb
.uleb128 0xd
.uleb128 0xb
.uleb128 0xc
.uleb128 0xb
.uleb128 0x38
.uleb128 0xa
.byte 0
.byte 0
.uleb128 0x5
.uleb128 0x24
.byte 0
.uleb128 0xb
.uleb128 0xb
.uleb128 0x3e
.uleb128 0xb
.uleb128 0x3
.uleb128 0x8
.byte 0
.byte 0
.uleb128 0x6
.uleb128 0x2e
.byte 0x1
.uleb128 0x3f
.uleb128 0xc
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x27
.uleb128 0xc
.uleb128 0x49
.uleb128 0x13
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x1
.uleb128 0x40
.uleb128 0xa
.uleb128 0x2117
.uleb128 0xc
.uleb128 0x1
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0x7
.uleb128 0x5
.byte 0
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x2
.uleb128 0xa
.byte 0
.byte 0
.uleb128 0x8
.uleb128 0x2e
.byte 0x1
.uleb128 0x3f
.uleb128 0xc
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x27
.uleb128 0xc
.uleb128 0x49
.uleb128 0x13
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x1
.uleb128 0x40
.uleb128 0x6
.uleb128 0x2117
.uleb128 0xc
.byte 0
.byte 0
.uleb128 0x9
.uleb128 0x34
.byte 0
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x2
.uleb128 0xa
.byte 0
.byte 0
.uleb128 0xa
.uleb128 0x34
.byte 0
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x2
.uleb128 0x6
.byte 0
.byte 0
.uleb128 0xb
.uleb128 0x4109
.byte 0x1
.uleb128 0x11
.uleb128 0x1
.uleb128 0x31
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0xc
.uleb128 0x410a
.byte 0
.uleb128 0x2
.uleb128 0xa
.uleb128 0x2111
.uleb128 0xa
.byte 0
.byte 0
.byte 0
.section .debug_loc,"",@progbits
.Ldebug_loc0:
.LLST0:
.long .LFB1
.long .LCFI0
.value 0x2
.byte 0x74
.sleb128 4
.long .LCFI0
.long .LCFI1
.value 0x2
.byte 0x74
.sleb128 8
.long .LCFI1
.long .LFE1
.value 0x2
.byte 0x74
.sleb128 4
.long 0
.long 0
.LLST1:
.long .LVL1
.long .LVL2
.value 0x2
.byte 0x3a
.byte 0x9f
.long .LVL2
.long .LVL3
.value 0x3
.byte 0x70
.sleb128 10
.byte 0x9f
.long .LVL3
.long .LFE1
.value 0x3
.byte 0x70
.sleb128 -10
.byte 0x9f
.long 0
.long 0
.section .debug_aranges,"",@progbits
.long 0x24
.value 0x2
.long .Ldebug_info0
.byte 0x4
.byte 0
.value 0
.value 0
.long .Ltext0
.long .Letext0-.Ltext0
.long .LFB1
.long .LFE1-.LFB1
.long 0
.long 0
.section .debug_ranges,"",@progbits
.Ldebug_ranges0:
.long .Ltext0
.long .Letext0
.long .LFB1
.long .LFE1
.long 0
.long 0
.section .debug_line,"",@progbits
.Ldebug_line0:
.section .debug_str,"MS",@progbits,1
.LASF2:
.string "/home/username/"
.LASF1:
.string "pieces-optimized-out.c"
.LASF0:
.string "GNU C 4.7.2"
.LASF3:
.string "main"
.ident "GCC: (GNU) 4.7.2"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 8,093
|
gdb/testsuite/gdb.dwarf2/dw2-icc-opaque.S
|
/* Copyright (C) 2011-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This test demonstrates a failure to resolve opaque structure types in
binaries compiled by the Intel C compiler. This is GDB PR symtab/13277.
The test was derived from opaque-pointer.c, which contains the single line:
struct opaque_struct_t *p_struct;
and opaque_struct.c, which looks like:
struct opaque_struct_t
{
int wrapped_value;
};
struct opaque_struct_t opaque_internal = { 0 };
What follows is a simplified version of the debug info generated by ICC
version 12.0.4.191. */
.file "opaque-pointer.c"
.data
.comm p_struct,8,8
.global p_struct
.section .debug_info
debug_info_seg1:
.4byte debug_info_seg1_end - 1f /* Length of compilation unit info. */
1:
.2byte 0x0002 /* DWARF version number. */
.4byte .debug_abbrev_seg1 /* Points to abbrev section for this unit. */
.byte 0x04 /* Target address size. */
.byte 0x01 /* DIE 1: DW_TAG_compile_unit. */
.byte 0x01 /* DW_AT_language = DW_LANG_C89. */
.ascii "Intel(R) C Intel(R) 64 Compiler XE " /* DW_AT_producer. */
.ascii "for applications running on Intel(R) 64, "
.ascii "Version 12.0.4.191 Build 20110427\n "
.asciz "Fixes SameLinkageName MemberPointers"
.byte 0x02 /* DIE 2: DW_TAG_variable. */
.byte 0x01 /* DW_AT_accessibility. */
.asciz "p_struct" /* DW_AT_name. */
.4byte 3f - debug_info_seg1 /* DW_AT_type. */
.byte 0x05 /* DW_AT_location: 5 bytes ... */
.byte 0x03 /* DW_OP_addr ... */
.4byte p_struct /* followed by the address of p_struct. */
.byte 0x01 /* DW_AT_external. */
3:
.byte 0x03 /* DIE 3: DW_TAG_pointer_type. */
.4byte 4f - debug_info_seg1 /* DW_AT_type. */
4:
.byte 0x04 /* DIE 4: DW_TAG_structure_type. */
.byte 0x01 /* DW_AT_accessibility. */
.byte 0x00 /* DW_AT_byte_size. */
.asciz "opaque_struct_t" /* DW_AT_name. */
.byte 0x00 /* End DIE 1. */
debug_info_seg1_end:
.section .debug_abbrev
.debug_abbrev_seg1:
.byte 0x01 /* Abbrev 1. */
.byte 0x11 /* DW_TAG_compile_unit. */
.byte 0x01 /* DW_CHILDREN_yes. */
.byte 0x13 /* DW_AT_language. */
.byte 0x0b /* DW_FORM_data1. */
.byte 0x25 /* DW_AT_producer. */
.byte 0x08 /* DW_AT_string. */
.2byte 0x0000 /* End abbrev. */
.byte 0x02 /* Abbrev 2. */
.byte 0x34 /* DW_TAG_variable. */
.byte 0x00 /* DW_CHILDREN_no. */
.byte 0x32 /* DW_AT_accessibility. */
.byte 0x0b /* DW_FORM_data1. */
.byte 0x03 /* DW_AT_name. */
.byte 0x08 /* DW_FORM_string. */
.byte 0x49 /* DW_AT_type. */
.byte 0x13 /* DW_FORM_ref4. */
.byte 0x02 /* DW_AT_location. */
.byte 0x0a /* DW_FORM_block1. */
.byte 0x3f /* DW_AT_external. */
.byte 0x0c /* DW_FORM_flag. */
.2byte 0x0000 /* End abbrev. */
.byte 0x03 /* Abbrev 3. */
.byte 0x0f /* DW_TAG_pointer_type. */
.byte 0x00 /* DW_CHILDREN_no. */
.byte 0x49 /* DW_AT_type. */
.byte 0x13 /* DW_FORM_ref4. */
.2byte 0x0000 /* End abbrev. */
.byte 0x04 /* Abbrev 4. */
.byte 0x13 /* DW_TAG_structure_type. */
.byte 0x00 /* DW_CHILDREN_no. */
.byte 0x32 /* DW_AT_accessibility. */
.byte 0x0b /* DW_FORM_data1. */
.byte 0x0b /* DW_AT_byte_size. */
.byte 0x0b /* DW_FORM_data1. */
.byte 0x03 /* DW_AT_name. */
.byte 0x08 /* DW_FORM_string. */
.2byte 0x0000 /* End abbrev. */
.byte 0x00 /* End abbrev table. */
.file "opaque-struct.c"
.section .debug_info
debug_info_seg2:
.4byte debug_info_seg2_end - 1f /* Length of compilation unit info. */
1:
.2byte 0x0002 /* DWARF version number. */
.4byte .debug_abbrev_seg2 /* Points to abbrev section for this unit. */
.byte 0x04 /* Target address size. */
.byte 0x01 /* DIE 1: DW_TAG_compile_unit. */
.byte 0x01 /* DW_AT_language = DW_LANG_C89. */
.ascii "Intel(R) C Intel(R) 64 Compiler XE " /* DW_AT_producer. */
.ascii "for applications running on Intel(R) 64, "
.ascii "Version 12.0.4.191 Build 20110427\n "
.asciz "Fixes SameLinkageName MemberPointers"
.byte 0x02 /* DIE 2: DW_TAG_structure_type. */
.byte 0x01 /* DW_AT_accessibility. */
.byte 0x04 /* DW_AT_byte_size. */
.asciz "opaque_struct_t" /* DW_AT_name. */
.byte 0x03 /* DIE 3: DW_TAG_member. */
.byte 0x02 /* DW_AT_data_member_location: 2 bytes ... */
.byte 0x23 /* DW_OP_plus_uconst ... */
.byte 0x00 /* followed by zero. */
.asciz "wrapped_value" /* DW_AT_name. */
.4byte 4f - debug_info_seg2 /* DW_AT_type. */
.byte 0x00
4:
.byte 0x04 /* DIE 4: DW_TAG_base_type. */
.byte 0x04 /* DW_AT_byte_size. */
.byte 0x05 /* DW_AT_encoding. */
.asciz "int" /* DW_AT_name. */
.byte 0x00 /* End DIE 1. */
debug_info_seg2_end:
.section .debug_abbrev
.debug_abbrev_seg2:
.byte 0x01 /* Abbrev 1. */
.byte 0x11 /* DW_TAG_compile_unit. */
.byte 0x01 /* DW_CHILDREN_yes. */
.byte 0x13 /* DW_AT_language. */
.byte 0x0b /* DW_FORM_data1. */
.byte 0x25 /* DW_AT_producer. */
.byte 0x08 /* DW_FORM_string. */
.2byte 0x0000 /* End abbrev. */
.byte 0x02 /* Abbrev 2. */
.byte 0x13 /* DW_TAG_structure_type. */
.byte 0x01 /* DW_CHILDREN_yes. */
.byte 0x32 /* DW_AT_accessibility. */
.byte 0x0b /* DW_FORM_data1. */
.byte 0x0b /* DW_AT_byte_size. */
.byte 0x0b /* DW_FORM_data1. */
.byte 0x03 /* DW_AT_name. */
.byte 0x08 /* DW_FORM_string. */
.2byte 0x0000 /* End abbrev. */
.byte 0x03 /* Abbrev 3. */
.byte 0x0d /* DW_TAG_member. */
.byte 0x00 /* DW_CHILDREN_no. */
.byte 0x38 /* DW_AT_data_member_location. */
.byte 0x0a /* DW_FORM_block1. */
.byte 0x03 /* DW_AT_name. */
.byte 0x08 /* DW_FORM_string. */
.byte 0x49 /* DW_AT_type. */
.byte 0x13 /* DW_FORM_ref4. */
.2byte 0x0000 /* End abbrev. */
.byte 0x04 /* Abbrev 4. */
.byte 0x24 /* DW_TAG_base_type. */
.byte 0x00 /* DW_CHILDREN_no. */
.byte 0x0b /* DW_AT_byte_size. */
.byte 0x0b /* DW_FORM_data1. */
.byte 0x3e /* DW_AT_encoding. */
.byte 0x0b /* DW_FORM_data1. */
.byte 0x03 /* DW_AT_name. */
.byte 0x08 /* DW_FORM_string. */
.2byte 0x0000 /* End abbrev. */
.byte 0x00 /* End abbrev table. */
.file "opaque-pointer2.c"
.section .debug_info
debug_info_seg3:
.4byte debug_info_seg3_end - 1f /* Length of compilation unit info. */
1:
.2byte 0x0002 /* DWARF version number. */
.4byte .debug_abbrev_seg3 /* Points to abbrev section for this unit. */
.byte 0x04 /* Target address size. */
.byte 0x01 /* DIE 1: DW_TAG_compile_unit. */
.byte 0x01 /* DW_AT_language = DW_LANG_C89. */
.ascii "Intel(R) C Intel(R) 64 Compiler XE " /* DW_AT_producer. */
.ascii "for applications running on Intel(R) 64, "
.ascii "Version 12.0.4.191 Build 20110427\n "
.asciz "Fixes SameLinkageName MemberPointers"
.byte 0x04 /* DIE 4: DW_TAG_structure_type. */
.byte 0x01 /* DW_AT_accessibility. */
.byte 0x00 /* DW_AT_byte_size. */
.asciz "opaque_struct_t" /* DW_AT_name. */
.byte 0x00 /* End DIE 1. */
debug_info_seg3_end:
.section .debug_abbrev
.debug_abbrev_seg3:
.byte 0x01 /* Abbrev 1. */
.byte 0x11 /* DW_TAG_compile_unit. */
.byte 0x01 /* DW_CHILDREN_yes. */
.byte 0x13 /* DW_AT_language. */
.byte 0x0b /* DW_FORM_data1. */
.byte 0x25 /* DW_AT_producer. */
.byte 0x08 /* DW_AT_string. */
.2byte 0x0000 /* End abbrev. */
.byte 0x04 /* Abbrev 4. */
.byte 0x13 /* DW_TAG_structure_type. */
.byte 0x00 /* DW_CHILDREN_no. */
.byte 0x32 /* DW_AT_accessibility. */
.byte 0x0b /* DW_FORM_data1. */
.byte 0x0b /* DW_AT_byte_size. */
.byte 0x0b /* DW_FORM_data1. */
.byte 0x03 /* DW_AT_name. */
.byte 0x08 /* DW_FORM_string. */
.2byte 0x0000 /* End abbrev. */
.byte 0x00 /* End abbrev table. */
|
stsp/binutils-ia16
| 1,977
|
gdb/testsuite/gdb.dwarf2/dw2-ada-ffffffff.S
|
/* Copyright 2010-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.section .debug_info
debug_start:
.4byte debug_end - 1f /* Length of Compilation Unit Info */
1:
.2byte 0x3 /* DWARF version number */
.4byte .Ldebug_abbrev0 /* Offset Into Abbrev. Section */
.byte 0x4 /* Pointer Size (in bytes) */
.uleb128 0x1 /* (DIE (0xb) DW_TAG_compile_unit) */
.ascii "GNU C 4.4.3\0" /* DW_AT_producer */
.byte 0x03 /* DW_AT_language = DW_LANG_Ada83 */
.ascii "1.adb\0" /* DW_AT_name */
.uleb128 0x4 /* DW_TAG_structure_type */
.ascii "t\0" /* DW_AT_name */
.4byte 0xffffffff /* DW_AT_byte_size */
.byte 0x0 /* end of children of CU */
debug_end:
.section .debug_abbrev
.Ldebug_abbrev0:
.uleb128 0x1 /* (abbrev code) */
.uleb128 0x11 /* (TAG: DW_TAG_compile_unit) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x25 /* (DW_AT_producer) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x13 /* (DW_AT_language) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.byte 0x0
.byte 0x0
.uleb128 0x4 /* (abbrev code) */
.uleb128 0x13 /* (TAG: DW_TAG_structure_type) */
.byte 0x0 /* DW_children_yes */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x0b /* (DW_AT_byte_size) */
.uleb128 0x6 /* (DW_FORM_data4) */
.byte 0x0
.byte 0x0
.byte 0x0
|
stsp/binutils-ia16
| 5,649
|
gdb/testsuite/gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S
|
/* Copyright 2014-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
.section .debug_info
.4byte .Ledebug_info0 - .Lsdebug_info0 /* Length of Compilation Unit Info */
.Lsdebug_info0:
.2byte 0x2 /* DWARF version number */
.4byte .Ldebug_abbrev0 /* Offset Into Abbrev. Section */
.byte 0x4 /* Pointer Size (in bytes) */
.uleb128 0x1 /* (DIE (0xb) DW_TAG_compile_unit) */
.ascii "GNU C 4.7.4 20140206 for GNAT Pro 7.3.0w (20140206)\0"
.byte 0x1 /* DW_AT_language */
.ascii "dw2-abs-hi-pc-world.c\0" /* DW_AT_name */
.ascii "/tmp\0" /* DW_AT_comp_dir */
.4byte WORLD_START /* DW_AT_low_pc */
.4byte WORLD_END /* DW_AT_high_pc */
.4byte .Ldebug_line0 /* DW_AT_stmt_list */
.uleb128 0x2 /* (DIE (0x2d) DW_TAG_subprogram) */
.byte 0x1 /* DW_AT_external */
.ascii "world\0"
.byte 0x1 /* DW_AT_decl_file (world.c) */
.byte 0x13 /* DW_AT_decl_line */
.byte 0x1 /* DW_AT_prototyped */
.4byte WORLD_START /* DW_AT_low_pc */
.4byte WORLD_END /* DW_AT_high_pc */
.byte 0 /* end of children of DIE 0xb */
.Ledebug_info0:
.section .debug_abbrev
.Ldebug_abbrev0:
.uleb128 0x1 /* (abbrev code) */
.uleb128 0x11 /* (TAG: DW_TAG_compile_unit) */
.byte 0x1 /* DW_children_yes */
.uleb128 0x25 /* (DW_AT_producer) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x13 /* (DW_AT_language) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x1b /* (DW_AT_comp_dir) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x11 /* (DW_AT_low_pc) */
.uleb128 0x6 /* (DW_FORM_data4) */
.uleb128 0x12 /* (DW_AT_high_pc) */
.uleb128 0x6 /* (DW_FORM_data4) */
.uleb128 0x10 /* (DW_AT_stmt_list) */
.uleb128 0x6 /* (DW_FORM_data4) */
.byte 0
.byte 0
.uleb128 0x2 /* (abbrev code) */
.uleb128 0x2e /* (TAG: DW_TAG_subprogram) */
.byte 0 /* DW_children_no */
.uleb128 0x3f /* (DW_AT_external) */
.uleb128 0xc /* (DW_FORM_flag) */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x3a /* (DW_AT_decl_file) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x3b /* (DW_AT_decl_line) */
.uleb128 0xb /* (DW_FORM_data1) */
.uleb128 0x27 /* (DW_AT_prototyped) */
.uleb128 0xc /* (DW_FORM_flag) */
.uleb128 0x11 /* (DW_AT_low_pc) */
.uleb128 0x6 /* (DW_FORM_data4) */
.uleb128 0x12 /* (DW_AT_high_pc) */
.uleb128 0x6 /* (DW_FORM_data4) */
.byte 0
.byte 0
.byte 0
.section .debug_line
.Ldebug_line0:
.4byte LELT-LSLT /* Length of Source Line Info */
LSLT:
.2byte 0x2 /* DWARF Version */
.4byte LELTP-LASLTP /* Prolog Length */
LASLTP:
.byte 0x1 /* Minimum Instruction Length */
.byte 0x1 /* Default is_stmt_start flag */
.byte 0x1 /* Line Base Value (Special Opcodes) */
.byte 0x1 /* Line Range Value (Special Opcodes) */
.byte 0xd /* Special Opcode Base */
.byte 0 /* opcode: 0x1 has 0 args */
.byte 0x1 /* opcode: 0x2 has 1 args */
.byte 0x1 /* opcode: 0x3 has 1 args */
.byte 0x1 /* opcode: 0x4 has 1 args */
.byte 0x1 /* opcode: 0x5 has 1 args */
.byte 0 /* opcode: 0x6 has 0 args */
.byte 0 /* opcode: 0x7 has 0 args */
.byte 0 /* opcode: 0x8 has 0 args */
.byte 0x1 /* opcode: 0x9 has 1 args */
.byte 0 /* opcode: 0xa has 0 args */
.byte 0 /* opcode: 0xb has 0 args */
.byte 0x1 /* opcode: 0xc has 1 args */
.byte 0 /* End directory table */
.ascii "dw2-abs-hi-pc-world.c\0" /* File Entry: 0x1 */
.uleb128 0
.uleb128 0
.uleb128 0
.byte 0 /* End file name table */
LELTP:
.byte 0 /* set address to .world_start */
.uleb128 0x5
.byte 0x2
.4byte WORLD_START
.byte 0x3 /* DW_LNS_advance_line */
.sleb128 22 /* ... to 23 */
.byte 0x5 /* column 0 */
.uleb128 0 /* 0 */
.byte 1 /* DW_LNS_copy */
.byte 0 /* set address to .world0 */
.uleb128 0x5
.byte 0x2
.4byte .world0
.byte 0x3 /* DW_LNS_advance_line */
.sleb128 1 /* ... to 24 */
.byte 0x5 /* column 0 */
.uleb128 0 /* 0 */
.byte 1 /* DW_LNS_copy */
.byte 0 /* set address to .world1 */
.uleb128 0x5
.byte 0x2
.4byte .world1
.byte 0x3 /* DW_LNS_advance_line */
.sleb128 1 /* ... to 25 */
.byte 0x5 /* column 0 */
.uleb128 0 /* 0 */
.byte 1 /* DW_LNS_copy */
.byte 0 /* set address to .world_end */
.uleb128 0x5
.byte 0x2
.4byte WORLD_END
.byte 0 /* end sequence */
.uleb128 0x1
.byte 0x1
LELT:
|
stsp/binutils-ia16
| 5,227
|
gdb/testsuite/gdb.dwarf2/dw2-op-call.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2009-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* Test DW_OP_call2 and DW_OP_call4, PR gdb/10640. */
.section .data
array1: .2byte 1
array2: .2byte 2
array3: .2byte 3
.section .debug_info
.Lcu0_begin:
/* CU header */
.4byte .Lcu0_end - .Lcu0_start /* Length of Compilation Unit */
.Lcu0_start:
.2byte 2 /* DWARF Version */
.4byte .Labbrev1_begin /* Offset into abbrev section */
.byte 4 /* Pointer size */
/* CU die */
.uleb128 1 /* Abbrev: DW_TAG_compile_unit */
.ascii "file0.txt\0" /* DW_AT_name */
.ascii "GNU C 3.3.3\0" /* DW_AT_producer */
.byte 2 /* DW_LANG_C (C) */
.byte 0 /* End of children of CU */
.Lcu0_end:
.Lcu1_begin:
/* CU header */
.4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */
.Lcu1_start:
.2byte 2 /* DWARF Version */
.4byte .Labbrev1_begin /* Offset into abbrev section */
.byte 4 /* Pointer size */
/* CU die */
.uleb128 1 /* Abbrev: DW_TAG_compile_unit */
.ascii "file1.txt\0" /* DW_AT_name */
.ascii "GNU C 3.3.3\0" /* DW_AT_producer */
.byte 2 /* DW_LANG_C (C) */
.L2byte_type:
.uleb128 2 /* Abbrev: DW_TAG_base_type */
.ascii "2byte\0" /* DW_AT_name */
.byte 2 /* DW_AT_byte_size */
.byte 7 /* DW_AT_encoding: DW_ATE_unsigned */
.Larray1:
.uleb128 3 /* Abbrev: DW_TAG_variable */
.ascii "array1\0" /* DW_AT_name */
.4byte .L2byte_type-.Lcu1_begin /* DW_AT_type */
.byte 2f - 1f /* DW_AT_location */
1: .byte 3 /* DW_OP_addr */
.4byte array1 /* <addr> */
2:
.uleb128 3 /* Abbrev: DW_TAG_variable */
.ascii "array2\0" /* DW_AT_name */
.4byte .L2byte_type-.Lcu1_begin /* DW_AT_type */
.byte 2f - 1f /* DW_AT_location */
1: .byte 0x98 /* DW_OP_call2 */
.2byte .Larray1-.Lcu1_begin /* <current CU offset> */
.byte 0x23 /* DW_OP_plus_uconst */
.uleb128 array2-array1 /* <uconst> */
2:
.uleb128 3 /* Abbrev: DW_TAG_variable */
.ascii "array3\0" /* DW_AT_name */
.4byte .L2byte_type-.Lcu1_begin /* DW_AT_type */
.byte 2f - 1f /* DW_AT_location */
1: .byte 0x99 /* DW_OP_call4 */
.4byte .Larray1-.Lcu1_begin /* <current CU offset> */
.byte 0x23 /* DW_OP_plus_uconst */
.uleb128 array3-array1 /* <uconst> */
2:
.uleb128 3 /* Abbrev: DW_TAG_variable */
.ascii "arraycallnoloc\0" /* DW_AT_name */
.4byte .L2byte_type-.Lcu1_begin /* DW_AT_type */
.byte 2f - 1f /* DW_AT_location */
1: .byte 0x99 /* DW_OP_call4 */
.4byte .Larraynoloc-.Lcu1_begin /* <current CU offset> */
2:
.Larraynoloc:
.uleb128 4 /* Abbrev: DW_TAG_variable-loclist */
.ascii "arraynoloc\0" /* DW_AT_name */
.4byte .L2byte_type-.Lcu1_begin /* DW_AT_type */
.4byte loclist /* DW_AT_location */
.byte 0 /* End of children of CU */
.Lcu1_end:
/* Location list. */
.section .debug_loc
loclist:
/* Location list end. */
.4byte 0, 0
/* Abbrev table */
.section .debug_abbrev
.Labbrev1_begin:
.uleb128 1 /* Abbrev code */
.uleb128 0x11 /* DW_TAG_compile_unit */
.byte 1 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x25 /* DW_AT_producer */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x13 /* DW_AT_language */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 2 /* Abbrev code */
.uleb128 0x24 /* DW_TAG_base_type */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0xb /* DW_AT_byte_size */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3e /* DW_AT_encoding */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 3 /* Abbrev code */
.uleb128 0x34 /* DW_TAG_variable */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x2 /* DW_AT_location */
.uleb128 0xa /* DW_FORM_block1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 4 /* Abbrev code */
.uleb128 0x34 /* DW_TAG_variable-loclist */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x2 /* DW_AT_location */
.uleb128 0x06 /* DW_FORM_data4 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
|
stsp/binutils-ia16
| 4,219
|
gdb/testsuite/gdb.dwarf2/dw2-linkage-name-trust.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2011-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* Debug information */
.data
.globl c
c: .4byte 0
.section .debug_info
.Lcu1_begin:
/* CU header */
.4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */
.Lcu1_start:
.2byte 2 /* DWARF Version */
.4byte .Labbrev1_begin /* Offset into abbrev section */
.byte 4 /* Pointer size */
/* CU die */
.uleb128 1 /* Abbrev: DW_TAG_compile_unit */
.4byte cu_text_start /* DW_AT_low_pc */
.4byte cu_text_end /* DW_AT_high_pc */
.ascii "file1.txt\0" /* DW_AT_name */
.ascii "GNU C 3.3.3\0" /* DW_AT_producer */
.byte 4 /* DW_AT_language (DW_LANG_C_plus_plus) */
.Ltype_class:
.uleb128 3 /* Abbrev: DW_TAG_class_type */
.ascii "C\0" /* DW_AT_name */
.uleb128 5 /* Abbrev: DW_TAG_subprogram */
.byte 1 /* DW_AT_external */
.ascii "membername\0" /* DW_AT_name */
.ascii "f\0" /* DW_AT_MIPS_linkage_name */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.byte 0 /* End of children of DW_TAG_class_type */
.uleb128 4 /* Abbrev: DW_TAG_variable */
.ascii "c\0" /* DW_AT_name */
.4byte .Ltype_class-.Lcu1_begin /* DW_AT_type */
.byte 1 /* DW_AT_external */
.Ltype_int:
.uleb128 2 /* Abbrev: DW_TAG_base_type */
.ascii "int\0" /* DW_AT_name */
.byte 4 /* DW_AT_byte_size */
.byte 5 /* DW_AT_encoding */
.byte 0 /* End of children of CU */
.Lcu1_end:
/* Abbrev table */
.section .debug_abbrev
.Labbrev1_begin:
.uleb128 1 /* Abbrev code */
.uleb128 0x11 /* DW_TAG_compile_unit */
.byte 1 /* has_children */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x25 /* DW_AT_producer */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x13 /* DW_AT_language */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 2 /* Abbrev code */
.uleb128 0x24 /* DW_TAG_base_type */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0xb /* DW_AT_byte_size */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3e /* DW_AT_encoding */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 3 /* Abbrev code */
.uleb128 0x2 /* DW_TAG_class_type */
.byte 1 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 4 /* Abbrev code */
.uleb128 0x34 /* DW_TAG_variable */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x3f /* DW_AT_external */
.uleb128 0xc /* DW_FORM_flag */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 5 /* Abbrev code */
.uleb128 0x2e /* DW_TAG_subprogram */
.byte 0 /* has_children */
.uleb128 0x3f /* DW_AT_external */
.uleb128 0xc /* DW_FORM_flag */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x2007 /* DW_AT_MIPS_linkage_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
|
stsp/binutils-ia16
| 9,335
|
gdb/testsuite/gdb.dwarf2/dw2-dup-frame.S
|
/*
Copyright 2013-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* The FDE entry for "stop_frame" in the .debug_frame section has
been hand modified to mark a set of registers as DW_CFA_same_value.
Otherwise this file is as generated by gcc 4.7.2 for x86_64. */
.file "dw2-dup-frame.c"
.text
.Ltext0:
.globl stop_frame
.type stop_frame, @function
stop_frame:
.LFB0:
.file 1 "dw2-dup-frame.c"
.loc 1 19 0
pushq %rbp
.LCFI0:
movq %rsp, %rbp
.LCFI1:
.loc 1 22 0
popq %rbp
.LCFI2:
ret
.LFE0:
.size stop_frame, .-stop_frame
.globl first_frame
.type first_frame, @function
first_frame:
.LFB1:
.loc 1 26 0
pushq %rbp
.LCFI3:
movq %rsp, %rbp
.LCFI4:
.loc 1 27 0
movl $0, %eax
call stop_frame
.loc 1 28 0
popq %rbp
.LCFI5:
ret
.LFE1:
.size first_frame, .-first_frame
.globl main
.type main, @function
main:
.LFB2:
.loc 1 32 0
pushq %rbp
.LCFI6:
movq %rsp, %rbp
.LCFI7:
.loc 1 33 0
movl $0, %eax
call first_frame
.loc 1 35 0
movl $0, %eax
.loc 1 36 0
popq %rbp
.LCFI8:
ret
.LFE2:
.size main, .-main
.section .debug_frame,"",@progbits
.Lframe0:
.long .LECIE0-.LSCIE0
.LSCIE0:
.long 0xffffffff
.byte 0x1
.string ""
.uleb128 0x1
.sleb128 -8
.byte 0x10
.byte 0xc
.uleb128 0x7
.uleb128 0x8
.byte 0x90
.uleb128 0x1
.align 8
.LECIE0:
/* This FDE entry, for stop_frame was modified to mark
registers 0 -> 16 (rax..ra/rip) as being DW_CFA_same_value. */
.LSFDE0:
.long .LEFDE0-.LASFDE0
.LASFDE0:
.long .Lframe0
.quad .LFB0
.quad .LFE0-.LFB0
/* START OF NEW CONTENT. */
.byte 0x8 /* DW_CFA_same_value */
.uleb128 0x0 /* ULEB128 register */
.byte 0x8 /* DW_CFA_same_value */
.uleb128 0x1 /* ULEB128 register */
.byte 0x8 /* DW_CFA_same_value */
.uleb128 0x2 /* ULEB128 register */
.byte 0x8 /* DW_CFA_same_value */
.uleb128 0x3 /* ULEB128 register */
.byte 0x8 /* DW_CFA_same_value */
.uleb128 0x4 /* ULEB128 register */
.byte 0x8 /* DW_CFA_same_value */
.uleb128 0x5 /* ULEB128 register */
.byte 0x8 /* DW_CFA_same_value */
.uleb128 0x6 /* ULEB128 register */
.byte 0x8 /* DW_CFA_same_value */
.uleb128 0x7 /* ULEB128 register */
.byte 0x8 /* DW_CFA_same_value */
.uleb128 0x8 /* ULEB128 register */
.byte 0x8 /* DW_CFA_same_value */
.uleb128 0x9 /* ULEB128 register */
.byte 0x8 /* DW_CFA_same_value */
.uleb128 0xa /* ULEB128 register */
.byte 0x8 /* DW_CFA_same_value */
.uleb128 0xb /* ULEB128 register */
.byte 0x8 /* DW_CFA_same_value */
.uleb128 0xc /* ULEB128 register */
.byte 0x8 /* DW_CFA_same_value */
.uleb128 0xd /* ULEB128 register */
.byte 0x8 /* DW_CFA_same_value */
.uleb128 0xe /* ULEB128 register */
.byte 0x8 /* DW_CFA_same_value */
.uleb128 0xf /* ULEB128 register */
.byte 0x8 /* DW_CFA_same_value */
.uleb128 0x10 /* ULEB128 register */
/* END OF NEW CONTENT. */
.byte 0x4
.long .LCFI0-.LFB0
.byte 0xe
.uleb128 0x10
.byte 0x86
.uleb128 0x2
.byte 0x4
.long .LCFI1-.LCFI0
.byte 0xd
.uleb128 0x6
.byte 0x4
.long .LCFI2-.LCFI1
.byte 0xc
.uleb128 0x7
.uleb128 0x8
.align 8
.LEFDE0:
.LSFDE2:
.long .LEFDE2-.LASFDE2
.LASFDE2:
.long .Lframe0
.quad .LFB1
.quad .LFE1-.LFB1
.byte 0x4
.long .LCFI3-.LFB1
.byte 0xe
.uleb128 0x10
.byte 0x86
.uleb128 0x2
.byte 0x4
.long .LCFI4-.LCFI3
.byte 0xd
.uleb128 0x6
.byte 0x4
.long .LCFI5-.LCFI4
.byte 0xc
.uleb128 0x7
.uleb128 0x8
.align 8
.LEFDE2:
.LSFDE4:
.long .LEFDE4-.LASFDE4
.LASFDE4:
.long .Lframe0
.quad .LFB2
.quad .LFE2-.LFB2
.byte 0x4
.long .LCFI6-.LFB2
.byte 0xe
.uleb128 0x10
.byte 0x86
.uleb128 0x2
.byte 0x4
.long .LCFI7-.LCFI6
.byte 0xd
.uleb128 0x6
.byte 0x4
.long .LCFI8-.LCFI7
.byte 0xc
.uleb128 0x7
.uleb128 0x8
.align 8
.LEFDE4:
.section .eh_frame,"a",@progbits
.Lframe1:
.long .LECIE1-.LSCIE1
.LSCIE1:
.long 0
.byte 0x1
.string "zR"
.uleb128 0x1
.sleb128 -8
.byte 0x10
.uleb128 0x1
.byte 0x3
.byte 0xc
.uleb128 0x7
.uleb128 0x8
.byte 0x90
.uleb128 0x1
.align 8
.LECIE1:
.LSFDE7:
.long .LEFDE7-.LASFDE7
.LASFDE7:
.long .LASFDE7-.Lframe1
.long .LFB0
.long .LFE0-.LFB0
.uleb128 0
.byte 0x4
.long .LCFI0-.LFB0
.byte 0xe
.uleb128 0x10
.byte 0x86
.uleb128 0x2
.byte 0x4
.long .LCFI1-.LCFI0
.byte 0xd
.uleb128 0x6
.byte 0x4
.long .LCFI2-.LCFI1
.byte 0xc
.uleb128 0x7
.uleb128 0x8
.align 8
.LEFDE7:
.LSFDE9:
.long .LEFDE9-.LASFDE9
.LASFDE9:
.long .LASFDE9-.Lframe1
.long .LFB1
.long .LFE1-.LFB1
.uleb128 0
.byte 0x4
.long .LCFI3-.LFB1
.byte 0xe
.uleb128 0x10
.byte 0x86
.uleb128 0x2
.byte 0x4
.long .LCFI4-.LCFI3
.byte 0xd
.uleb128 0x6
.byte 0x4
.long .LCFI5-.LCFI4
.byte 0xc
.uleb128 0x7
.uleb128 0x8
.align 8
.LEFDE9:
.LSFDE11:
.long .LEFDE11-.LASFDE11
.LASFDE11:
.long .LASFDE11-.Lframe1
.long .LFB2
.long .LFE2-.LFB2
.uleb128 0
.byte 0x4
.long .LCFI6-.LFB2
.byte 0xe
.uleb128 0x10
.byte 0x86
.uleb128 0x2
.byte 0x4
.long .LCFI7-.LCFI6
.byte 0xd
.uleb128 0x6
.byte 0x4
.long .LCFI8-.LCFI7
.byte 0xc
.uleb128 0x7
.uleb128 0x8
.align 8
.LEFDE11:
.text
.Letext0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.long 0x8c
.value 0x2
.long .Ldebug_abbrev0
.byte 0x8
.uleb128 0x1
.long .LASF2
.byte 0x1
.long .LASF3
.long .LASF4
.quad .Ltext0
.quad .Letext0
.long .Ldebug_line0
.uleb128 0x2
.byte 0x1
.long .LASF0
.byte 0x1
.byte 0x12
.quad .LFB0
.quad .LFE0
.long .LLST0
.byte 0x1
.uleb128 0x3
.byte 0x1
.long .LASF1
.byte 0x1
.byte 0x19
.quad .LFB1
.quad .LFE1
.long .LLST1
.byte 0x1
.uleb128 0x4
.byte 0x1
.long .LASF5
.byte 0x1
.byte 0x1f
.long 0x88
.quad .LFB2
.quad .LFE2
.long .LLST2
.byte 0x1
.uleb128 0x5
.byte 0x4
.byte 0x5
.string "int"
.byte 0
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.uleb128 0x1
.uleb128 0x11
.byte 0x1
.uleb128 0x25
.uleb128 0xe
.uleb128 0x13
.uleb128 0xb
.uleb128 0x3
.uleb128 0xe
.uleb128 0x1b
.uleb128 0xe
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x1
.uleb128 0x10
.uleb128 0x6
.byte 0
.byte 0
.uleb128 0x2
.uleb128 0x2e
.byte 0
.uleb128 0x3f
.uleb128 0xc
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x1
.uleb128 0x40
.uleb128 0x6
.uleb128 0x2117
.uleb128 0xc
.byte 0
.byte 0
.uleb128 0x3
.uleb128 0x2e
.byte 0
.uleb128 0x3f
.uleb128 0xc
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x1
.uleb128 0x40
.uleb128 0x6
.uleb128 0x2116
.uleb128 0xc
.byte 0
.byte 0
.uleb128 0x4
.uleb128 0x2e
.byte 0
.uleb128 0x3f
.uleb128 0xc
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x1
.uleb128 0x40
.uleb128 0x6
.uleb128 0x2116
.uleb128 0xc
.byte 0
.byte 0
.uleb128 0x5
.uleb128 0x24
.byte 0
.uleb128 0xb
.uleb128 0xb
.uleb128 0x3e
.uleb128 0xb
.uleb128 0x3
.uleb128 0x8
.byte 0
.byte 0
.byte 0
.section .debug_loc,"",@progbits
.Ldebug_loc0:
.LLST0:
.quad .LFB0-.Ltext0
.quad .LCFI0-.Ltext0
.value 0x2
.byte 0x77
.sleb128 8
.quad .LCFI0-.Ltext0
.quad .LCFI1-.Ltext0
.value 0x2
.byte 0x77
.sleb128 16
.quad .LCFI1-.Ltext0
.quad .LCFI2-.Ltext0
.value 0x2
.byte 0x76
.sleb128 16
.quad .LCFI2-.Ltext0
.quad .LFE0-.Ltext0
.value 0x2
.byte 0x77
.sleb128 8
.quad 0
.quad 0
.LLST1:
.quad .LFB1-.Ltext0
.quad .LCFI3-.Ltext0
.value 0x2
.byte 0x77
.sleb128 8
.quad .LCFI3-.Ltext0
.quad .LCFI4-.Ltext0
.value 0x2
.byte 0x77
.sleb128 16
.quad .LCFI4-.Ltext0
.quad .LCFI5-.Ltext0
.value 0x2
.byte 0x76
.sleb128 16
.quad .LCFI5-.Ltext0
.quad .LFE1-.Ltext0
.value 0x2
.byte 0x77
.sleb128 8
.quad 0
.quad 0
.LLST2:
.quad .LFB2-.Ltext0
.quad .LCFI6-.Ltext0
.value 0x2
.byte 0x77
.sleb128 8
.quad .LCFI6-.Ltext0
.quad .LCFI7-.Ltext0
.value 0x2
.byte 0x77
.sleb128 16
.quad .LCFI7-.Ltext0
.quad .LCFI8-.Ltext0
.value 0x2
.byte 0x76
.sleb128 16
.quad .LCFI8-.Ltext0
.quad .LFE2-.Ltext0
.value 0x2
.byte 0x77
.sleb128 8
.quad 0
.quad 0
.section .debug_aranges,"",@progbits
.long 0x2c
.value 0x2
.long .Ldebug_info0
.byte 0x8
.byte 0
.value 0
.value 0
.quad .Ltext0
.quad .Letext0-.Ltext0
.quad 0
.quad 0
.section .debug_line,"",@progbits
.Ldebug_line0:
.section .debug_str,"MS",@progbits,1
.LASF0:
.string "stop_frame"
.LASF3:
.string "dw2-reg-undefined.c"
.LASF2:
.string "GNU C 4.7.2"
.LASF1:
.string "first_frame"
.LASF5:
.string "main"
.LASF4:
.string "/home/username/src/gdb/testsuite/gdb.dwarf2"
.ident "GCC: (GNU) 4.7.2"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 5,408
|
gdb/testsuite/gdb.dwarf2/dw2-intermix.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2005-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* Test a minimal file containing intermixed 32-bit and 64-bit DWARF
formats. This is not allowed by the (draft) DWARF-3 standard, but
GDB should handle it gracefully nevertheless. */
/* Dummy function to provide debug information for. */
.text
.Lbegin_text1:
.globl func_cu1
.type func_cu1, %function
func_cu1:
.Lbegin_func_cu1:
.int 0
.Lend_func_cu1:
.size func_cu1, .-func_cu1
.Lend_text1:
/* Debug information */
.section .debug_info
.Lcu1_begin:
/* CU header */
.4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */
.Lcu1_start:
.2byte 2 /* DWARF Version */
.4byte .Labbrev1_begin /* Offset into abbrev section */
.byte 4 /* Pointer size */
/* CU die */
.uleb128 1 /* Abbrev: DW_TAG_compile_unit */
.4byte .Lline1_begin /* DW_AT_stmt_list */
.4byte .Lend_text1 /* DW_AT_high_pc */
.4byte .Lbegin_text1 /* DW_AT_low_pc */
.ascii "file1.txt\0" /* DW_AT_name */
.ascii "GNU C 3.3.3\0" /* DW_AT_producer */
.byte 1 /* DW_AT_language (C) */
/* func_cu1 */
.uleb128 2 /* Abbrev: DW_TAG_subprogram */
.byte 1 /* DW_AT_external */
.byte 1 /* DW_AT_decl_file */
.byte 2 /* DW_AT_decl_line */
.ascii "func_cu1\0" /* DW_AT_name */
.4byte .Ltype_int-.Lcu1_begin /* DW_AT_type */
.4byte .Lbegin_func_cu1 /* DW_AT_low_pc */
.4byte .Lend_func_cu1 /* DW_AT_high_pc */
.byte 1 /* DW_AT_frame_base: length */
.byte 0x55 /* DW_AT_frame_base: DW_OP_reg5 */
.Ltype_int:
.uleb128 3 /* Abbrev: DW_TAG_base_type */
.ascii "int\0" /* DW_AT_name */
.byte 4 /* DW_AT_byte_size */
.byte 5 /* DW_AT_encoding */
.byte 0 /* End of children of CU */
.Lcu1_end:
/* Abbrev table */
.section .debug_abbrev
.Labbrev1_begin:
.uleb128 1 /* Abbrev code */
.uleb128 0x11 /* DW_TAG_compile_unit */
.byte 1 /* has_children */
.uleb128 0x10 /* DW_AT_stmt_list */
.uleb128 0x6 /* DW_FORM_data4 */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x25 /* DW_AT_producer */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x13 /* DW_AT_language */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 2 /* Abbrev code */
.uleb128 0x2e /* DW_TAG_subprogram */
.byte 0 /* has_children */
.uleb128 0x3f /* DW_AT_external */
.uleb128 0xc /* DW_FORM_flag */
.uleb128 0x3a /* DW_AT_decl_file */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3b /* DW_AT_decl_line */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0x49 /* DW_AT_type */
.uleb128 0x13 /* DW_FORM_ref4 */
.uleb128 0x11 /* DW_AT_low_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x12 /* DW_AT_high_pc */
.uleb128 0x1 /* DW_FORM_addr */
.uleb128 0x40 /* DW_AT_frame_base */
.uleb128 0xa /* DW_FORM_block1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.uleb128 3 /* Abbrev code */
.uleb128 0x24 /* DW_TAG_base_type */
.byte 0 /* has_children */
.uleb128 0x3 /* DW_AT_name */
.uleb128 0x8 /* DW_FORM_string */
.uleb128 0xb /* DW_AT_byte_size */
.uleb128 0xb /* DW_FORM_data1 */
.uleb128 0x3e /* DW_AT_encoding */
.uleb128 0xb /* DW_FORM_data1 */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
.byte 0x0 /* Terminator */
/* Line table */
.section .debug_line
.Lline1_begin:
.4byte 0xffffffff
.8byte .Lline1_end - .Lline1_start /* Initial length */
.Lline1_start:
.2byte 2 /* Version */
.8byte .Lline1_lines - .Lline1_hdr /* header_length */
.Lline1_hdr:
.byte 1 /* Minimum insn length */
.byte 1 /* default_is_stmt */
.byte 1 /* line_base */
.byte 1 /* line_range */
.byte 0x10 /* opcode_base */
/* Standard lengths */
.byte 0
.byte 1
.byte 1
.byte 1
.byte 1
.byte 0
.byte 0
.byte 0
.byte 1
.byte 0
.byte 0
.byte 1
.byte 0
.byte 0
.byte 0
/* Include directories */
.byte 0
/* File names */
.ascii "file1.txt\0"
.uleb128 0
.uleb128 0
.uleb128 0
.byte 0
.Lline1_lines:
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
.4byte .Lbegin_func_cu1
.byte 3 /* DW_LNS_advance_line */
.sleb128 3 /* ... to 4 */
.byte 1 /* DW_LNS_copy */
.byte 1 /* DW_LNS_copy (second time as an end-of-prologue marker) */
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
.4byte .Lend_func_cu1
.byte 0 /* DW_LNE_end_of_sequence */
.uleb128 1
.byte 1
.Lline1_end:
|
stsp/binutils-ia16
| 21,308
|
gdb/testsuite/gdb.dwarf2/typeddwarf-amd64.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2011-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This source file was generated from typeddwarf.c using the following
command line:
gcc -S -g -O2 typeddwarf.c -o typeddwarf-amd64.S
*/
.file "typeddwarf.c"
.text
.Ltext0:
.globl f1
.type f1, @function
f1:
.LFB0:
.file 1 "typeddwarf.c"
.loc 1 10 0
.cfi_startproc
.LVL0:
.loc 1 29 0
movl vv(%rip), %eax
addl $1, %eax
movl %eax, vv(%rip)
.loc 1 30 0
ret
.cfi_endproc
.LFE0:
.size f1, .-f1
.globl f2
.type f2, @function
f2:
.LFB1:
.loc 1 34 0
.cfi_startproc
.LVL1:
.loc 1 53 0
movl vv(%rip), %eax
addl $1, %eax
movl %eax, vv(%rip)
.loc 1 54 0
cvttsd2si %xmm0, %eax
movl %eax, vv(%rip)
.loc 1 55 0
cvttsd2si %xmm1, %eax
movl %eax, vv(%rip)
.loc 1 56 0
cvttsd2si %xmm2, %eax
movl %eax, vv(%rip)
.loc 1 57 0
cvttss2si %xmm3, %eax
movl %eax, vv(%rip)
.loc 1 58 0
cvttss2si %xmm4, %r8d
movl %r8d, vv(%rip)
.loc 1 59 0
movl %edi, vv(%rip)
.loc 1 60 0
movl %esi, vv(%rip)
.loc 1 61 0
movl %edx, vv(%rip)
.loc 1 62 0
movl %ecx, vv(%rip)
.loc 1 63 0
movl %eax, vv(%rip)
.loc 1 64 0
ret
.cfi_endproc
.LFE1:
.size f2, .-f2
.globl f3
.type f3, @function
f3:
.LFB2:
.loc 1 68 0
.cfi_startproc
.LVL2:
.loc 1 73 0
movl vv(%rip), %eax
addl $1, %eax
movl %eax, vv(%rip)
.loc 1 74 0
ret
.cfi_endproc
.LFE2:
.size f3, .-f3
.globl f4
.type f4, @function
f4:
.LFB3:
.loc 1 78 0
.cfi_startproc
.LVL3:
.loc 1 82 0
movl vv(%rip), %eax
addl $1, %eax
movl %eax, vv(%rip)
.loc 1 83 0
ret
.cfi_endproc
.LFE3:
.size f4, .-f4
.globl _start
.type _start, @function
_start:
.LFB4:
.loc 1 87 0
.cfi_startproc
subq $8, %rsp
.LCFI0:
.cfi_def_cfa_offset 16
.loc 1 88 0
movl $9, %ecx
movl $8, %edx
movl $7, %esi
movl $6, %edi
movss .LC2(%rip), %xmm4
movss .LC3(%rip), %xmm3
movsd .LC0(%rip), %xmm2
movsd .LC1(%rip), %xmm1
movsd .LC4(%rip), %xmm0
call f1
.LVL4:
.loc 1 89 0
movl $9, %ecx
movl $8, %edx
movl $7, %esi
movl $6, %edi
movss .LC2(%rip), %xmm4
movss .LC3(%rip), %xmm3
movsd .LC0(%rip), %xmm2
movsd .LC1(%rip), %xmm1
movsd .LC4(%rip), %xmm0
call f2
.LVL5:
.loc 1 90 0
movl $4, %ecx
movl $3, %edx
movl $2, %esi
movl $1, %edi
call f3
.LVL6:
.loc 1 91 0
movdqa .LC5(%rip), %xmm2
movq .LC6(%rip), %xmm1
movd .LC7(%rip), %xmm0
call f4
.LVL7:
.loc 1 93 0
movl $0, %eax
addq $8, %rsp
.LCFI1:
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE4:
.size _start, .-_start
.comm vv,4,4
.section .rodata.cst8,"aM",@progbits,8
.align 8
.LC0:
.long 0
.long 1074266112
.align 8
.LC1:
.long 0
.long 1073741824
.section .rodata.cst4,"aM",@progbits,4
.align 4
.LC2:
.long 1084227584
.align 4
.LC3:
.long 1082130432
.section .rodata.cst8
.align 8
.LC4:
.long 0
.long 1072693248
.section .rodata.cst16,"aM",@progbits,16
.align 16
.LC5:
.quad 640
.quad 3476215962376601600
.section .rodata.cst8
.align 8
.LC6:
.quad 3575858104132173984
.section .rodata.cst4
.align 4
.LC7:
.long 838860880
.text
.Letext0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.long 0x6c4
.value 0x2
.long .Ldebug_abbrev0
.byte 0x8
.uleb128 0x1
.long .LASF8
.byte 0x1
.long .LASF9
.long .LASF10
.quad .Ltext0
.quad .Letext0
.long .Ldebug_line0
.uleb128 0x2
.byte 0x8
.byte 0x4
.long .LASF0
.uleb128 0x2
.byte 0x4
.byte 0x4
.long .LASF1
.uleb128 0x2
.byte 0x8
.byte 0x7
.long .LASF2
.uleb128 0x2
.byte 0x8
.byte 0x5
.long .LASF3
.uleb128 0x2
.byte 0x4
.byte 0x7
.long .LASF4
.uleb128 0x3
.byte 0x4
.byte 0x5
.string "int"
.uleb128 0x2
.byte 0x8
.byte 0xf
.long .LASF5
.uleb128 0x2
.byte 0x4
.byte 0xf
.long .LASF6
.uleb128 0x2
.byte 0x10
.byte 0xf
.long .LASF7
.uleb128 0x4
.byte 0x1
.string "f1"
.byte 0x1
.byte 0x9
.byte 0x1
.quad .LFB0
.quad .LFE0
.byte 0x2
.byte 0x77
.sleb128 8
.byte 0x1
.long 0x22b
.uleb128 0x5
.string "a"
.byte 0x1
.byte 0x9
.long 0x2d
.byte 0x1
.byte 0x61
.uleb128 0x5
.string "b"
.byte 0x1
.byte 0x9
.long 0x2d
.byte 0x1
.byte 0x62
.uleb128 0x5
.string "c"
.byte 0x1
.byte 0x9
.long 0x2d
.byte 0x1
.byte 0x63
.uleb128 0x5
.string "d"
.byte 0x1
.byte 0x9
.long 0x34
.byte 0x1
.byte 0x64
.uleb128 0x5
.string "e"
.byte 0x1
.byte 0x9
.long 0x34
.byte 0x1
.byte 0x65
.uleb128 0x5
.string "f"
.byte 0x1
.byte 0x9
.long 0x50
.byte 0x1
.byte 0x55
.uleb128 0x5
.string "g"
.byte 0x1
.byte 0x9
.long 0x49
.byte 0x1
.byte 0x54
.uleb128 0x5
.string "h"
.byte 0x1
.byte 0x9
.long 0x22b
.byte 0x1
.byte 0x51
.uleb128 0x5
.string "i"
.byte 0x1
.byte 0x9
.long 0x232
.byte 0x1
.byte 0x52
.uleb128 0x6
.string "j"
.byte 0x1
.byte 0xb
.long 0x2d
.byte 0x6
.byte 0xf5
.uleb128 0x14
.uleb128 0x34
.byte 0xf7
.uleb128 0x2d
.byte 0x9f
.uleb128 0x6
.string "l"
.byte 0x1
.byte 0xc
.long 0x22b
.byte 0x8
.byte 0xf5
.uleb128 0x14
.uleb128 0x34
.byte 0xf7
.uleb128 0x2d
.byte 0xf9
.uleb128 0x3b
.byte 0x9f
.uleb128 0x6
.string "m"
.byte 0x1
.byte 0xe
.long 0x22b
.byte 0x1
.byte 0x63
.uleb128 0x6
.string "n"
.byte 0x1
.byte 0x10
.long 0x34
.byte 0x7
.byte 0x72
.sleb128 0
.byte 0xf7
.uleb128 0x3b
.byte 0xf7
.uleb128 0x34
.byte 0x9f
.uleb128 0x6
.string "o"
.byte 0x1
.byte 0x11
.long 0x2d
.byte 0x7
.byte 0x71
.sleb128 0
.byte 0xf7
.uleb128 0x42
.byte 0xf7
.uleb128 0x2d
.byte 0x9f
.uleb128 0x6
.string "p"
.byte 0x1
.byte 0x12
.long 0x34
.byte 0x7
.byte 0x74
.sleb128 0
.byte 0xf7
.uleb128 0x49
.byte 0xf7
.uleb128 0x34
.byte 0x9f
.uleb128 0x6
.string "q"
.byte 0x1
.byte 0x13
.long 0x2d
.byte 0x7
.byte 0x75
.sleb128 0
.byte 0xf7
.uleb128 0x50
.byte 0xf7
.uleb128 0x2d
.byte 0x9f
.uleb128 0x6
.string "r"
.byte 0x1
.byte 0x14
.long 0x232
.byte 0x6
.byte 0xf5
.uleb128 0x11
.uleb128 0x2d
.byte 0xf7
.uleb128 0x3b
.byte 0x9f
.uleb128 0x6
.string "s"
.byte 0x1
.byte 0x15
.long 0x22b
.byte 0x8
.byte 0xf5
.uleb128 0x13
.uleb128 0x2d
.byte 0xf7
.uleb128 0x42
.byte 0xf7
.uleb128 0
.byte 0x9f
.uleb128 0x6
.string "t"
.byte 0x1
.byte 0x16
.long 0x49
.byte 0x8
.byte 0xf5
.uleb128 0x14
.uleb128 0x34
.byte 0xf7
.uleb128 0x49
.byte 0xf7
.uleb128 0
.byte 0x9f
.uleb128 0x6
.string "u"
.byte 0x1
.byte 0x17
.long 0x50
.byte 0x8
.byte 0xf5
.uleb128 0x12
.uleb128 0x2d
.byte 0xf7
.uleb128 0x50
.byte 0xf7
.uleb128 0
.byte 0x9f
.uleb128 0x6
.string "v"
.byte 0x1
.byte 0x18
.long 0x34
.byte 0x6
.byte 0xf5
.uleb128 0x11
.uleb128 0x2d
.byte 0xf7
.uleb128 0x34
.byte 0x9f
.uleb128 0x6
.string "w"
.byte 0x1
.byte 0x19
.long 0x2d
.byte 0x12
.byte 0xf5
.uleb128 0x14
.uleb128 0x34
.byte 0xf7
.uleb128 0x2d
.byte 0xf4
.uleb128 0x2d
.byte 0x8
.long 0
.long 0x3fd00000
.byte 0x1e
.byte 0x9f
.uleb128 0x6
.string "x"
.byte 0x1
.byte 0x1a
.long 0x2d
.byte 0x14
.byte 0xf5
.uleb128 0x11
.uleb128 0x2d
.byte 0xf5
.uleb128 0x12
.uleb128 0x2d
.byte 0x22
.byte 0xf4
.uleb128 0x2d
.byte 0x8
.long 0
.long 0x3ff00000
.byte 0x22
.byte 0x9f
.uleb128 0x6
.string "y"
.byte 0x1
.byte 0x1b
.long 0x2d
.byte 0x14
.byte 0xf5
.uleb128 0x12
.uleb128 0x2d
.byte 0xf5
.uleb128 0x13
.uleb128 0x2d
.byte 0x22
.byte 0xf4
.uleb128 0x2d
.byte 0x8
.long 0
.long 0x40000000
.byte 0x22
.byte 0x9f
.uleb128 0x6
.string "z"
.byte 0x1
.byte 0x1c
.long 0x34
.byte 0x12
.byte 0xf5
.uleb128 0x14
.uleb128 0x34
.byte 0xf3
.uleb128 0x3
.byte 0xf5
.uleb128 0x15
.uleb128 0x34
.byte 0x22
.byte 0xf4
.uleb128 0x34
.byte 0x4
.long 0x40400000
.byte 0x22
.byte 0x9f
.byte 0
.uleb128 0x2
.byte 0x8
.byte 0x5
.long .LASF11
.uleb128 0x2
.byte 0x8
.byte 0x7
.long .LASF12
.uleb128 0x4
.byte 0x1
.string "f2"
.byte 0x1
.byte 0x21
.byte 0x1
.quad .LFB1
.quad .LFE1
.byte 0x2
.byte 0x77
.sleb128 8
.byte 0x1
.long 0x402
.uleb128 0x5
.string "a"
.byte 0x1
.byte 0x21
.long 0x2d
.byte 0x1
.byte 0x61
.uleb128 0x5
.string "b"
.byte 0x1
.byte 0x21
.long 0x2d
.byte 0x1
.byte 0x62
.uleb128 0x5
.string "c"
.byte 0x1
.byte 0x21
.long 0x2d
.byte 0x1
.byte 0x63
.uleb128 0x5
.string "d"
.byte 0x1
.byte 0x21
.long 0x34
.byte 0x1
.byte 0x64
.uleb128 0x5
.string "e"
.byte 0x1
.byte 0x21
.long 0x34
.byte 0x1
.byte 0x65
.uleb128 0x5
.string "f"
.byte 0x1
.byte 0x21
.long 0x50
.byte 0x1
.byte 0x55
.uleb128 0x5
.string "g"
.byte 0x1
.byte 0x21
.long 0x49
.byte 0x1
.byte 0x54
.uleb128 0x5
.string "h"
.byte 0x1
.byte 0x21
.long 0x22b
.byte 0x1
.byte 0x51
.uleb128 0x5
.string "i"
.byte 0x1
.byte 0x21
.long 0x232
.byte 0x1
.byte 0x52
.uleb128 0x6
.string "j"
.byte 0x1
.byte 0x23
.long 0x2d
.byte 0x6
.byte 0xf5
.uleb128 0x14
.uleb128 0x34
.byte 0xf7
.uleb128 0x2d
.byte 0x9f
.uleb128 0x6
.string "l"
.byte 0x1
.byte 0x24
.long 0x22b
.byte 0x8
.byte 0xf5
.uleb128 0x14
.uleb128 0x34
.byte 0xf7
.uleb128 0x2d
.byte 0xf9
.uleb128 0x3b
.byte 0x9f
.uleb128 0x6
.string "m"
.byte 0x1
.byte 0x26
.long 0x22b
.byte 0x1
.byte 0x63
.uleb128 0x6
.string "n"
.byte 0x1
.byte 0x28
.long 0x34
.byte 0x7
.byte 0x72
.sleb128 0
.byte 0xf7
.uleb128 0x3b
.byte 0xf7
.uleb128 0x34
.byte 0x9f
.uleb128 0x6
.string "o"
.byte 0x1
.byte 0x29
.long 0x2d
.byte 0x7
.byte 0x71
.sleb128 0
.byte 0xf7
.uleb128 0x42
.byte 0xf7
.uleb128 0x2d
.byte 0x9f
.uleb128 0x6
.string "p"
.byte 0x1
.byte 0x2a
.long 0x34
.byte 0x7
.byte 0x74
.sleb128 0
.byte 0xf7
.uleb128 0x49
.byte 0xf7
.uleb128 0x34
.byte 0x9f
.uleb128 0x6
.string "q"
.byte 0x1
.byte 0x2b
.long 0x2d
.byte 0x7
.byte 0x75
.sleb128 0
.byte 0xf7
.uleb128 0x50
.byte 0xf7
.uleb128 0x2d
.byte 0x9f
.uleb128 0x6
.string "r"
.byte 0x1
.byte 0x2c
.long 0x232
.byte 0x6
.byte 0xf5
.uleb128 0x11
.uleb128 0x2d
.byte 0xf7
.uleb128 0x3b
.byte 0x9f
.uleb128 0x6
.string "s"
.byte 0x1
.byte 0x2d
.long 0x22b
.byte 0x8
.byte 0xf5
.uleb128 0x13
.uleb128 0x2d
.byte 0xf7
.uleb128 0x42
.byte 0xf7
.uleb128 0
.byte 0x9f
.uleb128 0x6
.string "t"
.byte 0x1
.byte 0x2e
.long 0x49
.byte 0x8
.byte 0xf5
.uleb128 0x14
.uleb128 0x34
.byte 0xf7
.uleb128 0x49
.byte 0xf7
.uleb128 0
.byte 0x9f
.uleb128 0x6
.string "u"
.byte 0x1
.byte 0x2f
.long 0x50
.byte 0x8
.byte 0xf5
.uleb128 0x12
.uleb128 0x2d
.byte 0xf7
.uleb128 0x50
.byte 0xf7
.uleb128 0
.byte 0x9f
.uleb128 0x6
.string "v"
.byte 0x1
.byte 0x30
.long 0x34
.byte 0x6
.byte 0xf5
.uleb128 0x11
.uleb128 0x2d
.byte 0xf7
.uleb128 0x34
.byte 0x9f
.uleb128 0x6
.string "w"
.byte 0x1
.byte 0x31
.long 0x2d
.byte 0x12
.byte 0xf5
.uleb128 0x14
.uleb128 0x34
.byte 0xf7
.uleb128 0x2d
.byte 0xf4
.uleb128 0x2d
.byte 0x8
.long 0
.long 0x3fd00000
.byte 0x1e
.byte 0x9f
.uleb128 0x6
.string "x"
.byte 0x1
.byte 0x32
.long 0x2d
.byte 0x20
.byte 0xf5
.uleb128 0x11
.uleb128 0x2d
.byte 0xf5
.uleb128 0x12
.uleb128 0x2d
.byte 0x22
.byte 0xf4
.uleb128 0x2d
.byte 0x8
.long 0
.long 0x40080000
.byte 0x1c
.byte 0xf4
.uleb128 0x2d
.byte 0x8
.long 0x78b58c40
.long 0x4415af1d
.byte 0x22
.byte 0x9f
.uleb128 0x6
.string "y"
.byte 0x1
.byte 0x33
.long 0x2d
.byte 0x14
.byte 0xf5
.uleb128 0x13
.uleb128 0x2d
.byte 0xf4
.uleb128 0x2d
.byte 0x8
.long 0
.long 0x401c0000
.byte 0x1e
.byte 0xf5
.uleb128 0x12
.uleb128 0x2d
.byte 0x22
.byte 0x9f
.uleb128 0x6
.string "z"
.byte 0x1
.byte 0x34
.long 0x34
.byte 0x10
.byte 0xf5
.uleb128 0x14
.uleb128 0x34
.byte 0xf5
.uleb128 0x15
.uleb128 0x34
.byte 0x22
.byte 0xf4
.uleb128 0x34
.byte 0x4
.long 0x40400000
.byte 0x22
.byte 0x9f
.byte 0
.uleb128 0x4
.byte 0x1
.string "f3"
.byte 0x1
.byte 0x43
.byte 0x1
.quad .LFB2
.quad .LFE2
.byte 0x2
.byte 0x77
.sleb128 8
.byte 0x1
.long 0x4cd
.uleb128 0x5
.string "a"
.byte 0x1
.byte 0x43
.long 0x22b
.byte 0x1
.byte 0x55
.uleb128 0x5
.string "b"
.byte 0x1
.byte 0x43
.long 0x50
.byte 0x1
.byte 0x54
.uleb128 0x5
.string "c"
.byte 0x1
.byte 0x43
.long 0x22b
.byte 0x1
.byte 0x51
.uleb128 0x5
.string "d"
.byte 0x1
.byte 0x43
.long 0x49
.byte 0x1
.byte 0x52
.uleb128 0x6
.string "w"
.byte 0x1
.byte 0x45
.long 0x22b
.byte 0x14
.byte 0x72
.sleb128 0
.byte 0xc
.long 0xffffffff
.byte 0x1a
.byte 0x12
.byte 0x75
.sleb128 0
.byte 0x16
.byte 0x14
.byte 0x2b
.byte 0x28
.value 0x1
.byte 0x16
.byte 0x13
.byte 0x9f
.uleb128 0x6
.string "x"
.byte 0x1
.byte 0x46
.long 0x22b
.byte 0xe
.byte 0x74
.sleb128 0
.byte 0x8
.byte 0x20
.byte 0x24
.byte 0x8
.byte 0x20
.byte 0x26
.byte 0x75
.sleb128 0
.byte 0x22
.byte 0x23
.uleb128 0x7
.byte 0x9f
.uleb128 0x6
.string "y"
.byte 0x1
.byte 0x47
.long 0x22b
.byte 0x13
.byte 0x72
.sleb128 0
.byte 0xc
.long 0xffffffff
.byte 0x1a
.byte 0x71
.sleb128 0
.byte 0x22
.byte 0x23
.uleb128 0x912345678
.byte 0x9f
.uleb128 0x6
.string "z"
.byte 0x1
.byte 0x48
.long 0x50
.byte 0x21
.byte 0x74
.sleb128 0
.byte 0x8
.byte 0x20
.byte 0x24
.byte 0x8
.byte 0x20
.byte 0x26
.byte 0x75
.sleb128 0
.byte 0x22
.byte 0x23
.uleb128 0x7
.byte 0x72
.sleb128 0
.byte 0xc
.long 0xffffffff
.byte 0x1a
.byte 0x71
.sleb128 0
.byte 0x22
.byte 0x23
.uleb128 0x912345678
.byte 0x22
.byte 0x9f
.byte 0
.uleb128 0x4
.byte 0x1
.string "f4"
.byte 0x1
.byte 0x4d
.byte 0x1
.quad .LFB3
.quad .LFE3
.byte 0x2
.byte 0x77
.sleb128 8
.byte 0x1
.long 0x576
.uleb128 0x5
.string "a"
.byte 0x1
.byte 0x4d
.long 0x5e
.byte 0x1
.byte 0x61
.uleb128 0x5
.string "b"
.byte 0x1
.byte 0x4d
.long 0x57
.byte 0x1
.byte 0x62
.uleb128 0x5
.string "c"
.byte 0x1
.byte 0x4d
.long 0x65
.byte 0x1
.byte 0x63
.uleb128 0x6
.string "w"
.byte 0x1
.byte 0x4f
.long 0x5e
.byte 0x14
.byte 0xf5
.uleb128 0x11
.uleb128 0x5e
.byte 0xf4
.uleb128 0x5e
.byte 0x4
.long 0x32000050
.byte 0x1e
.byte 0xf4
.uleb128 0x5e
.byte 0x4
.long 0x3200003c
.byte 0x22
.byte 0x9f
.uleb128 0x6
.string "x"
.byte 0x1
.byte 0x50
.long 0x57
.byte 0x1c
.byte 0xf5
.uleb128 0x12
.uleb128 0x57
.byte 0xf4
.uleb128 0x57
.byte 0x8
.long 0x50
.long 0x31a00000
.byte 0x1b
.byte 0xf4
.uleb128 0x57
.byte 0x8
.long 0x3c
.long 0x31a00000
.byte 0x1c
.byte 0x9f
.uleb128 0x6
.string "y"
.byte 0x1
.byte 0x51
.long 0x65
.byte 0x19
.byte 0xf5
.uleb128 0x13
.uleb128 0x65
.byte 0x1f
.byte 0xf4
.uleb128 0x65
.byte 0x10
.long 0x50
.long 0
.long 0
.long 0x303e0000
.byte 0x1b
.byte 0x9f
.byte 0
.uleb128 0x7
.byte 0x1
.long .LASF13
.byte 0x1
.byte 0x56
.long 0x50
.quad .LFB4
.quad .LFE4
.long .LLST0
.byte 0x1
.long 0x6a1
.uleb128 0x8
.quad .LVL4
.long 0x6c
.long 0x604
.uleb128 0x9
.byte 0x1
.byte 0x61
.byte 0xb
.byte 0xf4
.uleb128 0x2d
.byte 0x8
.long 0
.long 0x3ff00000
.uleb128 0x9
.byte 0x1
.byte 0x62
.byte 0xb
.byte 0xf4
.uleb128 0x2d
.byte 0x8
.long 0
.long 0x40000000
.uleb128 0x9
.byte 0x1
.byte 0x63
.byte 0xb
.byte 0xf4
.uleb128 0x2d
.byte 0x8
.long 0
.long 0x40080000
.uleb128 0x9
.byte 0x1
.byte 0x64
.byte 0x7
.byte 0xf4
.uleb128 0x34
.byte 0x4
.long 0x40800000
.uleb128 0x9
.byte 0x1
.byte 0x65
.byte 0x7
.byte 0xf4
.uleb128 0x34
.byte 0x4
.long 0x40a00000
.uleb128 0x9
.byte 0x1
.byte 0x55
.byte 0x1
.byte 0x36
.uleb128 0x9
.byte 0x1
.byte 0x54
.byte 0x1
.byte 0x37
.uleb128 0x9
.byte 0x1
.byte 0x51
.byte 0x1
.byte 0x38
.uleb128 0x9
.byte 0x1
.byte 0x52
.byte 0x1
.byte 0x39
.byte 0
.uleb128 0x8
.quad .LVL5
.long 0x239
.long 0x66d
.uleb128 0x9
.byte 0x1
.byte 0x61
.byte 0xb
.byte 0xf4
.uleb128 0x2d
.byte 0x8
.long 0
.long 0x3ff00000
.uleb128 0x9
.byte 0x1
.byte 0x62
.byte 0xb
.byte 0xf4
.uleb128 0x2d
.byte 0x8
.long 0
.long 0x40000000
.uleb128 0x9
.byte 0x1
.byte 0x63
.byte 0xb
.byte 0xf4
.uleb128 0x2d
.byte 0x8
.long 0
.long 0x40080000
.uleb128 0x9
.byte 0x1
.byte 0x64
.byte 0x7
.byte 0xf4
.uleb128 0x34
.byte 0x4
.long 0x40800000
.uleb128 0x9
.byte 0x1
.byte 0x65
.byte 0x7
.byte 0xf4
.uleb128 0x34
.byte 0x4
.long 0x40a00000
.uleb128 0x9
.byte 0x1
.byte 0x55
.byte 0x1
.byte 0x36
.uleb128 0x9
.byte 0x1
.byte 0x54
.byte 0x1
.byte 0x37
.uleb128 0x9
.byte 0x1
.byte 0x51
.byte 0x1
.byte 0x38
.uleb128 0x9
.byte 0x1
.byte 0x52
.byte 0x1
.byte 0x39
.byte 0
.uleb128 0x8
.quad .LVL6
.long 0x402
.long 0x693
.uleb128 0x9
.byte 0x1
.byte 0x55
.byte 0x1
.byte 0x31
.uleb128 0x9
.byte 0x1
.byte 0x54
.byte 0x1
.byte 0x32
.uleb128 0x9
.byte 0x1
.byte 0x51
.byte 0x1
.byte 0x33
.uleb128 0x9
.byte 0x1
.byte 0x52
.byte 0x1
.byte 0x34
.byte 0
.uleb128 0xa
.quad .LVL7
.long 0x4cd
.byte 0
.uleb128 0xb
.string "vv"
.byte 0x1
.byte 0x5
.long 0x6ad
.byte 0x1
.byte 0x1
.uleb128 0xc
.long 0x50
.uleb128 0xd
.string "vv"
.byte 0x1
.byte 0x5
.long 0x6ad
.byte 0x1
.byte 0x9
.byte 0x3
.quad vv
.byte 0
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.uleb128 0x1
.uleb128 0x11
.byte 0x1
.uleb128 0x25
.uleb128 0xe
.uleb128 0x13
.uleb128 0xb
.uleb128 0x3
.uleb128 0xe
.uleb128 0x1b
.uleb128 0xe
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x1
.uleb128 0x10
.uleb128 0x6
.byte 0
.byte 0
.uleb128 0x2
.uleb128 0x24
.byte 0
.uleb128 0xb
.uleb128 0xb
.uleb128 0x3e
.uleb128 0xb
.uleb128 0x3
.uleb128 0xe
.byte 0
.byte 0
.uleb128 0x3
.uleb128 0x24
.byte 0
.uleb128 0xb
.uleb128 0xb
.uleb128 0x3e
.uleb128 0xb
.uleb128 0x3
.uleb128 0x8
.byte 0
.byte 0
.uleb128 0x4
.uleb128 0x2e
.byte 0x1
.uleb128 0x3f
.uleb128 0xc
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x27
.uleb128 0xc
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x1
.uleb128 0x40
.uleb128 0xa
.uleb128 0x2117
.uleb128 0xc
.uleb128 0x1
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0x5
.uleb128 0x5
.byte 0
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x2
.uleb128 0xa
.byte 0
.byte 0
.uleb128 0x6
.uleb128 0x34
.byte 0
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x2
.uleb128 0xa
.byte 0
.byte 0
.uleb128 0x7
.uleb128 0x2e
.byte 0x1
.uleb128 0x3f
.uleb128 0xc
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x1
.uleb128 0x40
.uleb128 0x6
.uleb128 0x2117
.uleb128 0xc
.uleb128 0x1
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0x8
.uleb128 0x4109
.byte 0x1
.uleb128 0x11
.uleb128 0x1
.uleb128 0x31
.uleb128 0x13
.uleb128 0x1
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0x9
.uleb128 0x410a
.byte 0
.uleb128 0x2
.uleb128 0xa
.uleb128 0x2111
.uleb128 0xa
.byte 0
.byte 0
.uleb128 0xa
.uleb128 0x4109
.byte 0
.uleb128 0x11
.uleb128 0x1
.uleb128 0x31
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0xb
.uleb128 0x34
.byte 0
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x3f
.uleb128 0xc
.uleb128 0x3c
.uleb128 0xc
.byte 0
.byte 0
.uleb128 0xc
.uleb128 0x35
.byte 0
.uleb128 0x49
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0xd
.uleb128 0x34
.byte 0
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x3f
.uleb128 0xc
.uleb128 0x2
.uleb128 0xa
.byte 0
.byte 0
.byte 0
.section .debug_loc,"",@progbits
.Ldebug_loc0:
.LLST0:
.quad .LFB4-.Ltext0
.quad .LCFI0-.Ltext0
.value 0x2
.byte 0x77
.sleb128 8
.quad .LCFI0-.Ltext0
.quad .LCFI1-.Ltext0
.value 0x2
.byte 0x77
.sleb128 16
.quad .LCFI1-.Ltext0
.quad .LFE4-.Ltext0
.value 0x2
.byte 0x77
.sleb128 8
.quad 0
.quad 0
.section .debug_aranges,"",@progbits
.long 0x2c
.value 0x2
.long .Ldebug_info0
.byte 0x8
.byte 0
.value 0
.value 0
.quad .Ltext0
.quad .Letext0-.Ltext0
.quad 0
.quad 0
.section .debug_line,"",@progbits
.Ldebug_line0:
.section .debug_str,"MS",@progbits,1
.LASF4:
.string "unsigned int"
.LASF6:
.string "_Decimal32"
.LASF7:
.string "_Decimal128"
.LASF2:
.string "long unsigned int"
.LASF12:
.string "long long unsigned int"
.LASF5:
.string "_Decimal64"
.LASF13:
.string "main"
.LASF3:
.string "long int"
.LASF10:
.string "/tmp"
.LASF0:
.string "double"
.LASF11:
.string "long long int"
.LASF1:
.string "float"
.LASF8:
.string "GNU C 4.7.0 20110708 (experimental) [trunk revision 176048]"
.LASF9:
.string "typeddwarf.c"
.ident "GCC: (GNU) 4.7.0 20110708 (experimental) [trunk revision 176048]"
.section .note.GNU-stack,"",@progbits
|
stsp/binutils-ia16
| 1,190
|
gdb/testsuite/gdb.dwarf2/dw2-restore.S
|
/*
Copyright 2009-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* Compile with "gcc -nostdlib dw2-restore.S" */
.text
.globl _start
.func _start
_start: call foo
mov $0,%rax
ret
.endfunc
.func foo
foo: .cfi_startproc
push %rbp
.cfi_adjust_cfa_offset 8
mov %rsp,%rbp
.cfi_def_cfa_register %rbp
.cfi_remember_state
jmp 2f
1: mov %rbp,%rsp
.cfi_restore %rbp
pop %rbp
.cfi_adjust_cfa_offset -8
.cfi_def_cfa_register %rsp
ret
.cfi_restore_state
2: movq $0,%rax
movq $0,(%rax) /* crash here */
jmp 1b
.cfi_endproc
.endfunc
|
stsp/binutils-ia16
| 10,838
|
gdb/testsuite/gdb.dwarf2/dw2-single-line-discriminators.S
|
/* This testcase is part of GDB, the GNU debugger.
Copyright 2014-2022 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* This was made from dw2-single-line-discriminators.c using
clang -dA -S -g
and then hand-editing the assembly a bit (simplify paths,
tweak so gas accepts it). */
.text
.file "dw2-single-line-discriminators.c"
.section .debug_info,"",@progbits
.Lsection_info:
.section .debug_abbrev,"",@progbits
.Lsection_abbrev:
.section .debug_line,"",@progbits
.Lsection_line:
.section .debug_pubnames,"",@progbits
.section .debug_pubtypes,"",@progbits
.section .debug_str,"MS",@progbits,1
.Linfo_string:
.section .debug_loc,"",@progbits
.Lsection_debug_loc:
.section .debug_ranges,"",@progbits
.Ldebug_range:
.file 1 "gdb.dwarf2/dw2-single-line-discriminators.c"
.text
.globl main
.align 16, 0x90
.type main,@function
main: # @main
.Lfunc_begin0:
.loc 1 22 0 # dw2-single-line-discriminators.c:22:0
.cfi_startproc
# BB#0:
pushq %rbp
.Ltmp0:
.cfi_def_cfa_offset 16
.Ltmp1:
.cfi_offset %rbp, -16
movq %rsp, %rbp
.Ltmp2:
.cfi_def_cfa_register %rbp
movl $0, -4(%rbp)
.loc 1 26 3 prologue_end # dw2-single-line-discriminators.c:26:3
.Ltmp3:
movl $0, x
.loc 1 28 8 # dw2-single-line-discriminators.c:28:8
.Ltmp4:
movl $0, -8(%rbp)
.LBB0_1: # =>This Inner Loop Header: Depth=1
.loc 1 28 8 discriminator 4 # dw2-single-line-discriminators.c:28:8
.Ltmp5:
cmpl $10, -8(%rbp)
jge .LBB0_4
.Ltmp6:
# BB#2: # in Loop: Header=BB0_1 Depth=1
.loc 1 28 28 discriminator 2 # dw2-single-line-discriminators.c:28:28
jmp .LBB0_3
.Ltmp7:
.LBB0_3: # in Loop: Header=BB0_1 Depth=1
.loc 1 28 23 discriminator 3 # dw2-single-line-discriminators.c:28:23
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp .LBB0_1
.Ltmp8:
.LBB0_4:
movl $0, %eax
.loc 1 30 3 # dw2-single-line-discriminators.c:30:3
popq %rbp
retq
.Ltmp9:
.Ltmp10:
.size main, .Ltmp10-main
.Lfunc_end0:
.cfi_endproc
.type x,@object # @x
.comm x,4,4
.Ldebug_end1:
.section .debug_str,"MS",@progbits,1
.Linfo_string0:
.asciz "clang version (trunk r215195)"
.Linfo_string1:
.asciz "dw2-single-line-discriminators.c"
.Linfo_string2:
.asciz "/tmp/obj/gdb/testsuite"
.Linfo_string3:
.asciz "x"
.Linfo_string4:
.asciz "int"
.Linfo_string5:
.asciz "main"
.Linfo_string6:
.asciz "i"
.section .debug_info,"",@progbits
.L.debug_info_begin0:
.long 108 # Length of Unit
.short 4 # DWARF version number
.long .Lsection_abbrev # Offset Into Abbrev. Section
.byte 8 # Address Size (in bytes)
.byte 1 # Abbrev [1] 0xb:0x65 DW_TAG_compile_unit
.long .Linfo_string0 # DW_AT_producer
.short 12 # DW_AT_language
.long .Linfo_string1 # DW_AT_name
.long .Lline_table_start0 # DW_AT_stmt_list
.long .Linfo_string2 # DW_AT_comp_dir
.quad .Lfunc_begin0 # DW_AT_low_pc
.Lset0 = .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc
.long .Lset0
.byte 2 # Abbrev [2] 0x2a:0x15 DW_TAG_variable
.long .Linfo_string3 # DW_AT_name
.long 63 # DW_AT_type
# DW_AT_external
.byte 1 # DW_AT_decl_file
.byte 18 # DW_AT_decl_line
.byte 9 # DW_AT_location
.byte 3
.quad x
.byte 3 # Abbrev [3] 0x3f:0x7 DW_TAG_base_type
.long .Linfo_string4 # DW_AT_name
.byte 5 # DW_AT_encoding
.byte 4 # DW_AT_byte_size
.byte 4 # Abbrev [4] 0x46:0x29 DW_TAG_subprogram
.quad .Lfunc_begin0 # DW_AT_low_pc
.Lset1 = .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc
.long .Lset1
.byte 1 # DW_AT_frame_base
.byte 86
.long .Linfo_string5 # DW_AT_name
.byte 1 # DW_AT_decl_file
.byte 21 # DW_AT_decl_line
.long 63 # DW_AT_type
# DW_AT_external
.byte 1 # DW_AT_accessibility
# DW_ACCESS_public
.byte 5 # Abbrev [5] 0x60:0xe DW_TAG_variable
.byte 2 # DW_AT_location
.byte 145
.byte 120
.long .Linfo_string6 # DW_AT_name
.byte 1 # DW_AT_decl_file
.byte 23 # DW_AT_decl_line
.long 63 # DW_AT_type
.byte 0 # End Of Children Mark
.byte 0 # End Of Children Mark
.L.debug_info_end0:
.section .debug_abbrev,"",@progbits
.byte 1 # Abbreviation Code
.byte 17 # DW_TAG_compile_unit
.byte 1 # DW_CHILDREN_yes
.byte 37 # DW_AT_producer
.byte 14 # DW_FORM_strp
.byte 19 # DW_AT_language
.byte 5 # DW_FORM_data2
.byte 3 # DW_AT_name
.byte 14 # DW_FORM_strp
.byte 16 # DW_AT_stmt_list
.byte 23 # DW_FORM_sec_offset
.byte 27 # DW_AT_comp_dir
.byte 14 # DW_FORM_strp
.byte 17 # DW_AT_low_pc
.byte 1 # DW_FORM_addr
.byte 18 # DW_AT_high_pc
.byte 6 # DW_FORM_data4
.byte 0 # EOM(1)
.byte 0 # EOM(2)
.byte 2 # Abbreviation Code
.byte 52 # DW_TAG_variable
.byte 0 # DW_CHILDREN_no
.byte 3 # DW_AT_name
.byte 14 # DW_FORM_strp
.byte 73 # DW_AT_type
.byte 19 # DW_FORM_ref4
.byte 63 # DW_AT_external
.byte 25 # DW_FORM_flag_present
.byte 58 # DW_AT_decl_file
.byte 11 # DW_FORM_data1
.byte 59 # DW_AT_decl_line
.byte 11 # DW_FORM_data1
.byte 2 # DW_AT_location
.byte 24 # DW_FORM_exprloc
.byte 0 # EOM(1)
.byte 0 # EOM(2)
.byte 3 # Abbreviation Code
.byte 36 # DW_TAG_base_type
.byte 0 # DW_CHILDREN_no
.byte 3 # DW_AT_name
.byte 14 # DW_FORM_strp
.byte 62 # DW_AT_encoding
.byte 11 # DW_FORM_data1
.byte 11 # DW_AT_byte_size
.byte 11 # DW_FORM_data1
.byte 0 # EOM(1)
.byte 0 # EOM(2)
.byte 4 # Abbreviation Code
.byte 46 # DW_TAG_subprogram
.byte 1 # DW_CHILDREN_yes
.byte 17 # DW_AT_low_pc
.byte 1 # DW_FORM_addr
.byte 18 # DW_AT_high_pc
.byte 6 # DW_FORM_data4
.byte 64 # DW_AT_frame_base
.byte 24 # DW_FORM_exprloc
.byte 3 # DW_AT_name
.byte 14 # DW_FORM_strp
.byte 58 # DW_AT_decl_file
.byte 11 # DW_FORM_data1
.byte 59 # DW_AT_decl_line
.byte 11 # DW_FORM_data1
.byte 73 # DW_AT_type
.byte 19 # DW_FORM_ref4
.byte 63 # DW_AT_external
.byte 25 # DW_FORM_flag_present
.byte 50 # DW_AT_accessibility
.byte 11 # DW_FORM_data1
.byte 0 # EOM(1)
.byte 0 # EOM(2)
.byte 5 # Abbreviation Code
.byte 52 # DW_TAG_variable
.byte 0 # DW_CHILDREN_no
.byte 2 # DW_AT_location
.byte 24 # DW_FORM_exprloc
.byte 3 # DW_AT_name
.byte 14 # DW_FORM_strp
.byte 58 # DW_AT_decl_file
.byte 11 # DW_FORM_data1
.byte 59 # DW_AT_decl_line
.byte 11 # DW_FORM_data1
.byte 73 # DW_AT_type
.byte 19 # DW_FORM_ref4
.byte 0 # EOM(1)
.byte 0 # EOM(2)
.byte 0 # EOM(3)
.section .debug_ranges,"",@progbits
.section .debug_loc,"",@progbits
.section .debug_pubnames,"",@progbits
.Lset2 = .LpubNames_end0-.LpubNames_begin0 # Length of Public Names Info
.long .Lset2
.LpubNames_begin0:
.short 2 # DWARF Version
.long .L.debug_info_begin0 # Offset of Compilation Unit Info
.Lset3 = .L.debug_info_end0-.L.debug_info_begin0 # Compilation Unit Length
.long .Lset3
.long 70 # DIE offset
.asciz "main" # External Name
.long 42 # DIE offset
.asciz "x" # External Name
.long 0 # End Mark
.LpubNames_end0:
.section .debug_pubtypes,"",@progbits
.Lset4 = .LpubTypes_end0-.LpubTypes_begin0 # Length of Public Types Info
.long .Lset4
.LpubTypes_begin0:
.short 2 # DWARF Version
.long .L.debug_info_begin0 # Offset of Compilation Unit Info
.Lset5 = .L.debug_info_end0-.L.debug_info_begin0 # Compilation Unit Length
.long .Lset5
.long 63 # DIE offset
.asciz "int" # External Name
.long 0 # End Mark
.LpubTypes_end0:
.ident "clang version (trunk r215195)"
.section ".note.GNU-stack","",@progbits
.section .debug_line,"",@progbits
.Lline_table_start0:
|
stsp/binutils-ia16
| 1,070
|
gas/testsuite/gas/sh/tlsd.s
|
.section .tdata,"awT",@progbits
.align 2
.global foo, bar
.hidden bar
foo: .long 25
bar: .long 27
baz: .long 29
.text
.align 1
.global fn
.type fn, @function
fn:
mov.l r12,@-r15
mov.l r14,@-r15
sts.l pr,@-r15
mova .L3,r0
mov.l .L3,r12
add r0,r12
mov r15,r14
! Dynamic TLS model, foo not known to be in the current object
mov.l 1f,r4
mova 2f,r0
mov.l 2f,r1
add r0,r1
jsr @r1
add r12,r4
bra 3f
nop
.align 2
1: .long foo@TLSGD
2: .long __tls_get_addr@PLT
3:
! Dynamic TLS model, bar and baz known to be in the current object
mov.l 1f,r4
mova 2f,r0
mov.l 2f,r1
add r0,r1
jsr @r1
add r12,r4
bra 3f
nop
.align 2
1: .long bar@TLSLDM
2: .long __tls_get_addr@PLT
3:
! Just show that there can be arbitrary instructions here
mov #1,r2
mov.l .L4,r1
add r1,r0
! r0 now contains &bar
! Again, arbitrary instructions
mov.l r2,@r0
mov.l .L5,r1
add r1,r0
! r0 now contains &baz
mov r14,r15
lds.l @r15+,pr
mov.l @r15+,r14
rts
mov.l @r15+,r12
.align 2
.L3: .long _GLOBAL_OFFSET_TABLE_
.L4: .long bar@DTPOFF
.L5: .long baz@DTPOFF
|
stsp/binutils-ia16
| 1,660
|
gas/testsuite/gas/sh/sh4al-dsp.s
|
.text
.p2align 2
ldrc r3
ldrc r12
ldrc #10
ldrc #243
setdmx
setdmy
clrdmxy
movx.w @r4,x0 movy.w a0,@r7+
movx.w @r0,x1
movx.w @r1+,y0 nopy
nopy movx.w @r5+r8,y1
movx.l @r5,x1
movx.l @r0,x0
movx.l @r1+,y0 nopy
nopy movx.l @r4+r8,y1
movx.w a0,@r4+ movy.w @r6+r9,y0
movx.w x0,@r1
movx.w a1,@r0+ nopy
nopy movx.w x1,@r5+r8
movx.l a0,@r5
movx.l x0,@r0
movx.l x1,@r1+ nopy
nopy movx.l a1,@r4+r8
movy.w @r7,y1 movx.w a1,@r4+r8
movy.w @r3,y0
movy.w @r2+,x1 nopx
nopx movy.w @r6+r9,x0
movy.l @r6,y1
movy.l @r2,y0
movy.l @r3+,x0 nopx
nopx movy.l @r7+r9,x1
movy.w a1,@r6+ movx.w @r5+r8,x1
movy.w y1,@r2
movy.w a0,@r3+ nopx
nopx movy.w y0,@r7+r9
movy.l a1,@r7
movy.l y0,@r3
movy.l y1,@r2+ nopx
nopx movy.l a0,@r6+r9
pabs x1,a0
pabs y0,m1
dct pabs a1,m0
dct pabs x0,x1
dcf pabs a0,y1
dcf pabs x1,a0
dct pabs y1,x0
dct pabs m0,m1
dcf pabs m1,y0
dcf pabs y0,a1
pmuls a1,x0,m0
pmuls y0,a1,m1
pclr a0
dct pclr a1
pclr x0 pmuls a1,x0,m0
pclr a1 pmuls x0,y0,a0
pclr a0 pmuls x1,y1,a1
pclr y0 pmuls y0,a1,m1
psub a0,m0,x0
psub m1,x1,x1
psub y0,a0,y0
dct psub a1,y1,y1
dct psub m0,x1,a0
dct psub y1,a0,a1
dcf psub x1,m1,m0
dcf psub y0,x1,m1
dcf psub m1,a0,a1
pswap a1,m1
pswap x0,a0
pswap m1,y0
pswap y0,x1
dct pswap a0,y1
dct pswap x1,x0
dct pswap y1,a1
dct pswap m0,m0
dcf pswap a0,a0
dcf pswap x1,m1
dcf pswap m1,x0
dcf pswap y0,y1
prnd a0,a1
prnd y1,m0
dct prnd a1,x0
dct prnd x0,y1
dct prnd m1,a0
dct prnd y0,x1
dcf prnd a0,y0
dcf prnd x1,m1
dcf prnd y1,a0
dcf prnd m0,a1
|
stsp/binutils-ia16
| 1,105
|
gas/testsuite/gas/sh/sh2a.s
|
.text
# New instructions
band.b #7,@(4095,r3)
bandnot.b #7,@(4095,r3)
bclr.b #7,@(4095,r3)
bclr #7,r3
bld.b #7,@(4095,r3)
bld #7,r3
bldnot.b #7,@(4095,r3)
bor.b #7,@(4095,r3)
bornot.b #7,@(4095,r3)
bset.b #7,@(4095,r3)
bset #7,r3
bst.b #7,@(4095,r3)
bst #7,r3
bxor.b #7,@(4095,r3)
clips.b r3
clips.w r3
clipu.b r3
clipu.w r3
divs r0,r3
divu r0,r3
fmov.s fr3,@(4095*4,r3)
fmov.d dr2,@(4095*8,r3)
fmov.s @(4095*4,r3),fr3
fmov.d @(4095*8,r3),dr2
jsr/n @r3
jsr/n @@(255*4,tbr)
ldbank @r3,r0
ldc r3,tbr
mov.b r3,@(4095,r4)
mov.w r3,@(4095*2,r4)
mov.l r3,@(4095*4,r4)
mov.b @(4095,r4),r5
mov.w @(4095*2,r4),r5
mov.l @(4095*4,r4),r5
mov.b r0,@r3+
mov.w r0,@r3+
mov.l r0,@r3+
mov.b @-r3,r0
mov.w @-r3,r0
mov.l @-r3,r0
movi20 #524287,r3
movi20 #-524288,r3
movi20s #524287*256,r3
movi20s #-524288*256,r3
movml.l r3,@-r15
movml.l @r15+,r3
movmu.l r3,@-r15
movmu.l @r15+,r3
movrt r3
movu.b @(4095,r3),r4
movu.w @(4095*2,r3),r4
mulr r0,r4
nott
pref @r5
resbank
rts/n
rtv/n r3
shad r3,r4
shld r3,r4
stbank r0,@r5
stc tbr,r4
|
stsp/binutils-ia16
| 2,266
|
gas/testsuite/gas/xgate/all_insns.s
|
# Example of XGATE instructions
.sect .text
_start:
L0: adc r1, r2, r3
L1: bcc END_CODE
L2: add r4, r5, r6
L3: add r7 , #225
L4: addh r1, 255
L5: addl r2, #255
L6: add r4, 8004
L7: and r3, r4, r5
L8: and r1, #0x8004
L9: add r5, END_CODE
L10: and r7, END_CODE
L11: and r4, #65281
L12: andl r3, #01
L13: andh r6, #255
L14: asr r0, #3
L15: asr r1, r2
L16: bcc END_CODE
L17: bcs END_CODE
L18: beq END_CODE
L19: bfext r3, r4, r5
L20: bffo r6, r7
L21: bfins r0, r1, r2
L22: bfinsi r3, r4, r5
L23: bfinsx r6, r7, r0
L24: bge END_CODE
L25: bgt END_CODE
L26: bhi END_CODE
L27: bhs END_CODE
L28: bith r1, #32
L29: bitl r2, #0
L30: ble END_CODE
L31: blo END_CODE
L32: bls END_CODE
L33: blt END_CODE
L34: bmi END_CODE
L35: bne END_CODE
L36: bpl END_CODE
L37: bra END_CODE
L38: brk
L39: bvc END_CODE
L40: bvs END_CODE
L41: cmp r1, r2
L42: cmpl r3, #255
L43: com r4, r5
L44: cpc r6, r7
L45: cmp r1, #65535
L46: cpch r2, #255
L47: csem #4
L48: csem r5
L49: csl r6, #11
L50: csl r7, r0
L51: csr r1, #2
L52: csr r2, r3
L53: jal r4
L54: ldb r5, (r6, #20)
L55: ldb r7, (r0, r1+)
L56: ldb r7, (r0, -r1)
L57: ldb r0, (r0, r0)
L58: ldh r1, #255
L59: ldl r2, #255
L60: ldd r3, END_CODE
L61: ldw r4, (r5, #20)
L62: ldw r5, (r6, r7+)
L63: ldw r5, (r6, -r7)
L64: ldw r1, (r2, r4)
L65: lsl r1, #4
L66: lsl r2, r3
L67: lsr r4, #5
L68: lsr r5, r6
L69: mov r6, r7
L70: neg r1, r2
L71: nop
L72: or r1, r2, r3
L73: orh r4, #255
L74: orl r5, #255
L75: par r6
L76: rol r7, #6
L77: rol r1, r2
L78: ror r3, #5
L79: ror r4, r5
L80: rts
L81: sbc r1, r2, r3
L82: ssem #4
L83: ssem r1
L84: sex r2
L85: sif
L86: sif r4
L87: stb r5, (r6, #5)
L88: stb r0, (r0, r0+)
L89: stb r0, (r0, -r0)
L90: stb r2, (r0, r0)
L91: stw r1, (r2, #16)
L92: stw r1, (r2, r3+)
L93: stw r1, (r2, -r3)
L94: stw r2, (r3 ,r4)
L95: sub r3, r4, r6
L96: sub r4, #65535
L97: subh r5, #255
L98: subl r6, #255
L99: tfr r7, pc
L100: tfr r7,ccr
L101: tfr ccr, r7
L102: tst r1
L103: xnor r1, r2, r3
L104: xnorh r4, #255
L105: xnorl r5, #255
L106: com r3
END_CODE:
|
stsp/binutils-ia16
| 1,361
|
gas/testsuite/gas/s12z/opr-symbol.s
|
#sym1: set $123456
#sym2: set $abcdef
.equiv sym1, 0x123456
.equiv sym2, 0xabcdef
mov.b #23, sym1
mov.w #23, sym1
mov.p #23, sym1
mov.l #23, sym1
mov.b sym1, sym2
mov.w sym1, sym2
mov.p sym1, sym2
mov.l sym1, sym2
add d1, sym1
and d2, sym1
sub d3, sym1
or d4, sym1
inc.b sym1
inc.w sym1
inc.l sym1
ld d4, sym1
jmp sym2
jsr sym1
dec.b sym1
dec.w sym1
dec.l sym1
clr.b sym1
clr.w sym1
clr.l sym1
st d5, sym1
com.b sym1
com.w sym1
com.l sym1
neg.b sym1
neg.w sym1
neg.l sym1
cmp d5, sym1
ld s, sym1
st s, sym1
cmp s, sym1
minu d2, sym1
maxu d2, sym1
mins d2, sym1
maxs d2, sym1
adc d3, sym1
bit d3, sym1
sbc d3, sym1
eor d3, sym1
brclr.b sym1, d1, *+3
brclr.w sym1, #2, *+4
brset.b sym2, d2, *+5
brset.w sym2, #3, *+6
mulu.b d1, d2, sym1
mulu.ll d6, sym1, sym2
muls.b d1, d2, sym1
muls.ll d6, sym1, sym2
qmuls.b d1, d2, sym1
qmuls.ll d6, sym1, sym2
divu.b d1, d2, sym1
divu.ll d6, sym1, sym2
divs.b d1, d2, sym1
divs.ll d6, sym1, sym2
bclr.b sym1, #2
bclr.w sym2, d2
bset.b sym1, #2
bset.w sym2, d2
btgl.b sym1, #2
btgl.w sym2, d2
tbne.b sym1, *+8
dbpl.w sym2, *+9
bfins.b d2, sym1, d2
bfins.w sym1, d2, d2
bfins.p d2, sym1, #8:1
bfins.l sym1, d2, #8:1
bfext.b d2, sym1, d2
bfext.w sym1, d2, d2
bfext.p d2, sym1, #8:1
bfext.l sym1, d2, #7:2
|
stsp/binutils-ia16
| 1,224
|
gas/testsuite/gas/s12z/trap.s
|
trap #146
trap #147
trap #148
trap #149
trap #150
trap #151
trap #152
trap #153
trap #154
trap #155
trap #156
trap #157
trap #158
trap #159
trap #168
trap #169
trap #170
trap #171
trap #172
trap #173
trap #174
trap #175
trap #184
trap #185
trap #186
trap #187
trap #188
trap #189
trap #190
trap #191
trap #192
trap #193
trap #194
trap #195
trap #196
trap #197
trap #198
trap #199
trap #200
trap #201
trap #202
trap #203
trap #204
trap #205
trap #206
trap #207
trap #208
trap #209
trap #210
trap #211
trap #212
trap #213
trap #214
trap #215
trap #216
trap #217
trap #218
trap #219
trap #220
trap #221
trap #222
trap #223
trap #224
trap #225
trap #226
trap #227
trap #228
trap #229
trap #230
trap #231
trap #232
trap #233
trap #234
trap #235
trap #236
trap #237
trap #238
trap #239
trap #240
trap #241
trap #242
trap #243
trap #244
trap #245
trap #246
trap #247
trap #248
trap #249
trap #250
trap #251
trap #252
trap #253
trap #254
trap #255
|
stsp/binutils-ia16
| 23,409
|
gas/testsuite/gas/alpha/elf-reloc-8.s
|
.set noat
.set noreorder
.set nomacro
.arch ev6
.section .init.data,"aw",@progbits
.align 2
.type mount_initrd, @object
.size mount_initrd, 4
mount_initrd:
.long 0
.globl root_mountflags
.section .sdata,"aw",@progbits
.align 2
.type root_mountflags, @object
.size root_mountflags, 4
root_mountflags:
.long 32769
.section .sbss,"aw"
.type do_devfs, @object
.size do_devfs, 4
.align 2
do_devfs:
.zero 4
.section .init.text,"ax",@progbits
.align 2
.align 4
.ent load_ramdisk
load_ramdisk:
.frame $30,16,$26,0
.mask 0x4000000,-16
ldah $29,0($27) !gpdisp!1
lda $29,0($29) !gpdisp!1
$load_ramdisk..ng:
ldq $27,simple_strtol($29) !literal!2
lda $30,-16($30)
mov $31,$17
mov $31,$18
stq $26,0($30)
.prologue 1
jsr $26,($27),simple_strtol !lituse_jsr!2
ldah $29,0($26) !gpdisp!3
lda $29,0($29) !gpdisp!3
ldq $26,0($30)
and $0,3,$0
ldah $1,rd_doload($29) !gprelhigh
stl $0,rd_doload($1) !gprellow
lda $0,1($31)
lda $30,16($30)
ret $31,($26),1
.end load_ramdisk
.section .init.data
.type __setup_str_load_ramdisk, @object
.size __setup_str_load_ramdisk, 14
__setup_str_load_ramdisk:
.ascii "load_ramdisk=\0"
.section .init.setup,"aw",@progbits
.align 3
.type __setup_load_ramdisk, @object
.size __setup_load_ramdisk, 16
__setup_load_ramdisk:
.quad __setup_str_load_ramdisk
.quad load_ramdisk
.section .init.text
.align 2
.align 4
.ent readonly
readonly:
.frame $30,0,$26,0
ldah $29,0($27) !gpdisp!4
lda $29,0($29) !gpdisp!4
$readonly..ng:
.prologue 1
ldbu $1,0($16)
mov $31,$0
bne $1,$L167
ldl $1,root_mountflags($29) !gprel
lda $0,1($31)
bis $1,1,$1
stl $1,root_mountflags($29) !gprel
$L167:
ret $31,($26),1
.end readonly
.align 2
.align 4
.ent readwrite
readwrite:
.frame $30,0,$26,0
ldah $29,0($27) !gpdisp!5
lda $29,0($29) !gpdisp!5
$readwrite..ng:
.prologue 1
ldbu $1,0($16)
mov $31,$0
bne $1,$L169
ldl $1,root_mountflags($29) !gprel
lda $0,1($31)
bic $1,1,$1
stl $1,root_mountflags($29) !gprel
$L169:
ret $31,($26),1
.end readwrite
.section .init.data
.type __setup_str_readonly, @object
.size __setup_str_readonly, 3
__setup_str_readonly:
.ascii "ro\0"
.section .init.setup
.align 3
.type __setup_readonly, @object
.size __setup_readonly, 16
__setup_readonly:
.quad __setup_str_readonly
.quad readonly
.section .init.data
.type __setup_str_readwrite, @object
.size __setup_str_readwrite, 3
__setup_str_readwrite:
.ascii "rw\0"
.section .init.setup
.align 3
.type __setup_readwrite, @object
.size __setup_readwrite, 16
__setup_readwrite:
.quad __setup_str_readwrite
.quad readwrite
.section .rodata.str1.1,"aMS",@progbits,1
$LC1:
.ascii "/sys/block/%s/dev\0"
$LC2:
.ascii "/sys/block/%s/range\0"
.section .init.text
.align 2
.align 4
.ent try_name
try_name:
.frame $30,160,$26,0
.mask 0x4003e00,-160
ldah $29,0($27) !gpdisp!6
lda $29,0($29) !gpdisp!6
$try_name..ng:
lda $30,-160($30)
ldq $27,sprintf($29) !literal!25
stq $10,16($30)
stq $12,32($30)
mov $16,$10
mov $17,$12
ldah $17,$LC1($29) !gprelhigh
stq $26,0($30)
stq $9,8($30)
lda $16,48($30)
stq $11,24($30)
stq $13,40($30)
.prologue 1
mov $10,$18
lda $17,$LC1($17) !gprellow
jsr $26,($27),sprintf !lituse_jsr!25
ldah $29,0($26) !gpdisp!26
lda $29,0($29) !gpdisp!26
lda $16,48($30)
mov $31,$18
mov $31,$17
ldq $27,sys_open($29) !literal!23
jsr $26,($27),sys_open !lituse_jsr!23
ldah $29,0($26) !gpdisp!24
addl $31,$0,$9
lda $29,0($29) !gpdisp!24
blt $9,$L174
ldq $27,sys_read($29) !literal!21
lda $11,112($30)
mov $9,$16
lda $18,32($31)
mov $11,$17
jsr $26,($27),sys_read !lituse_jsr!21
ldah $29,0($26) !gpdisp!22
lda $29,0($29) !gpdisp!22
addl $31,$9,$16
addl $31,$0,$9
ldq $27,sys_close($29) !literal!19
jsr $26,($27),sys_close !lituse_jsr!19
ldah $29,0($26) !gpdisp!20
cmpeq $9,32,$2
cmple $9,0,$1
lda $29,0($29) !gpdisp!20
bis $1,$2,$1
bne $1,$L174
subl $9,1,$2
addq $11,$2,$0
ldbu $1,0($0)
cmpeq $1,10,$1
bne $1,$L189
$L174:
mov $31,$0
$L171:
ldq $26,0($30)
ldq $9,8($30)
ldq $10,16($30)
ldq $11,24($30)
ldq $12,32($30)
ldq $13,40($30)
lda $30,160($30)
ret $31,($26),1
$L189:
ldq $27,simple_strtoul($29) !literal!17
mov $11,$16
lda $17,144($30)
lda $18,16($31)
stb $31,0($0)
jsr $26,($27),simple_strtoul !lituse_jsr!17
ldah $29,0($26) !gpdisp!18
ldq $1,144($30)
lda $29,0($29) !gpdisp!18
addl $31,$0,$13
ldbu $2,0($1)
bne $2,$L174
mov $13,$0
beq $12,$L171
ldq $27,sprintf($29) !literal!15
ldah $17,$LC2($29) !gprelhigh
mov $10,$18
lda $16,48($30)
lda $17,$LC2($17) !gprellow
jsr $26,($27),sprintf !lituse_jsr!15
ldah $29,0($26) !gpdisp!16
lda $29,0($29) !gpdisp!16
lda $16,48($30)
mov $31,$18
mov $31,$17
ldq $27,sys_open($29) !literal!13
jsr $26,($27),sys_open !lituse_jsr!13
ldah $29,0($26) !gpdisp!14
addl $31,$0,$9
lda $29,0($29) !gpdisp!14
blt $9,$L174
ldq $27,sys_read($29) !literal!11
mov $9,$16
mov $11,$17
lda $18,32($31)
jsr $26,($27),sys_read !lituse_jsr!11
ldah $29,0($26) !gpdisp!12
lda $29,0($29) !gpdisp!12
addl $31,$9,$16
addl $31,$0,$9
ldq $27,sys_close($29) !literal!9
jsr $26,($27),sys_close !lituse_jsr!9
ldah $29,0($26) !gpdisp!10
cmpeq $9,32,$2
cmple $9,0,$1
lda $29,0($29) !gpdisp!10
bis $1,$2,$1
bne $1,$L174
subl $9,1,$2
addq $11,$2,$0
ldbu $1,0($0)
cmpeq $1,10,$1
beq $1,$L174
ldq $27,simple_strtoul($29) !literal!7
mov $11,$16
lda $17,144($30)
lda $18,10($31)
stb $31,0($0)
jsr $26,($27),simple_strtoul !lituse_jsr!7
ldah $29,0($26) !gpdisp!8
ldq $1,144($30)
lda $29,0($29) !gpdisp!8
addl $31,$0,$0
ldbu $2,0($1)
bne $2,$L174
cmplt $12,$0,$1
addl $13,$12,$0
bne $1,$L171
br $31,$L174
.end try_name
.section .rodata.str1.1
$LC3:
.ascii "/sys\0"
$LC4:
.ascii "sysfs\0"
$LC5:
.ascii "/dev/\0"
$LC6:
.ascii "nfs\0"
.section .init.text
.align 2
.align 4
.globl name_to_dev_t
.ent name_to_dev_t
name_to_dev_t:
.frame $30,96,$26,0
.mask 0x4001e00,-96
ldah $29,0($27) !gpdisp!27
lda $29,0($29) !gpdisp!27
$name_to_dev_t..ng:
lda $30,-96($30)
ldq $27,sys_mkdir($29) !literal!46
lda $17,448($31)
stq $12,32($30)
stq $9,8($30)
ldah $12,$LC3($29) !gprelhigh
lda $9,$LC3($12) !gprellow
stq $10,16($30)
stq $11,24($30)
mov $16,$10
stq $26,0($30)
.prologue 1
mov $31,$11
mov $9,$16
jsr $26,($27),sys_mkdir !lituse_jsr!46
ldah $29,0($26) !gpdisp!47
lda $29,0($29) !gpdisp!47
mov $9,$17
mov $31,$19
mov $31,$20
ldah $16,$LC4($29) !gprelhigh
ldq $27,sys_mount($29) !literal!44
lda $16,$LC4($16) !gprellow
mov $16,$18
jsr $26,($27),sys_mount !lituse_jsr!44
ldah $29,0($26) !gpdisp!45
lda $29,0($29) !gpdisp!45
blt $0,$L192
ldq $27,memcmp($29) !literal!42
ldah $17,$LC5($29) !gprelhigh
mov $10,$16
lda $18,5($31)
lda $17,$LC5($17) !gprellow
jsr $26,($27),memcmp !lituse_jsr!42
ldah $29,0($26) !gpdisp!43
lda $29,0($29) !gpdisp!43
bne $0,$L219
ldq $27,memcmp($29) !literal!38
lda $10,5($10)
ldah $17,$LC6($29) !gprelhigh
lda $18,4($31)
lda $11,255($31)
mov $10,$16
lda $17,$LC6($17) !gprellow
jsr $26,($27),memcmp !lituse_jsr!38
ldah $29,0($26) !gpdisp!39
lda $29,0($29) !gpdisp!39
beq $0,$L196
ldq $27,strlen($29) !literal!36
mov $10,$16
jsr $26,($27),strlen !lituse_jsr!36
ldah $29,0($26) !gpdisp!37
cmpule $0,31,$0
lda $29,0($29) !gpdisp!37
beq $0,$L195
ldq $27,strcpy($29) !literal!34
mov $10,$17
lda $16,48($30)
jsr $26,($27),strcpy !lituse_jsr!34
ldah $29,0($26) !gpdisp!35
ldbu $1,48($30)
lda $16,48($30)
lda $29,0($29) !gpdisp!35
mov $16,$2
stq $16,80($30)
beq $1,$L217
lda $3,46($31)
.align 4
$L204:
ldbu $1,0($2)
cmpeq $1,47,$1
bne $1,$L220
$L201:
lda $16,1($16)
stq $16,80($30)
mov $16,$2
ldbu $1,0($16)
bne $1,$L204
$L217:
lda $16,48($30)
mov $31,$17
bsr $26,try_name !samegp
addl $31,$0,$11
bne $11,$L196
ldq $16,80($30)
lda $2,48($30)
cmpule $16,$2,$1
mov $16,$3
bne $1,$L207
ldq $4,_ctype($29) !literal
ldbu $1,-1($16)
addq $1,$4,$1
ldbu $2,0($1)
and $2,4,$2
beq $2,$L207
.align 4
$L210:
lda $16,-1($3)
lda $2,48($30)
cmpule $16,$2,$1
stq $16,80($30)
mov $16,$3
bne $1,$L207
ldbu $1,-1($16)
addq $1,$4,$1
ldbu $2,0($1)
and $2,4,$2
bne $2,$L210
.align 4
$L207:
lda $2,48($30)
cmpeq $16,$2,$1
bne $1,$L195
ldbu $1,0($16)
sextb $1,$1
beq $1,$L195
cmpeq $1,48,$1
bne $1,$L195
ldq $27,simple_strtoul($29) !literal!32
mov $31,$17
lda $18,10($31)
jsr $26,($27),simple_strtoul !lituse_jsr!32
ldah $29,0($26) !gpdisp!33
ldq $1,80($30)
addl $31,$0,$9
lda $29,0($29) !gpdisp!33
lda $16,48($30)
mov $9,$17
stb $31,0($1)
bsr $26,try_name !samegp
addl $31,$0,$11
bne $11,$L196
ldq $4,80($30)
lda $1,50($30)
cmpult $4,$1,$1
bne $1,$L195
ldbu $1,-2($4)
ldq $3,_ctype($29) !literal
addq $1,$3,$1
ldbu $2,0($1)
and $2,4,$2
beq $2,$L195
ldbu $1,-1($4)
cmpeq $1,112,$1
bne $1,$L221
.align 4
$L195:
mov $31,$11
$L196:
ldq $27,sys_umount($29) !literal!30
lda $16,$LC3($12) !gprellow
mov $31,$17
jsr $26,($27),sys_umount !lituse_jsr!30
ldah $29,0($26) !gpdisp!31
lda $29,0($29) !gpdisp!31
$L192:
ldq $27,sys_rmdir($29) !literal!28
lda $16,$LC3($12) !gprellow
jsr $26,($27),sys_rmdir !lituse_jsr!28
ldah $29,0($26) !gpdisp!29
mov $11,$0
ldq $26,0($30)
ldq $9,8($30)
lda $29,0($29) !gpdisp!29
ldq $10,16($30)
ldq $11,24($30)
ldq $12,32($30)
lda $30,96($30)
ret $31,($26),1
$L221:
stb $31,-1($4)
mov $9,$17
lda $16,48($30)
bsr $26,try_name !samegp
addl $31,$0,$11
br $31,$L196
.align 4
$L220:
stb $3,0($2)
ldq $16,80($30)
br $31,$L201
.align 4
$L219:
ldq $27,simple_strtoul($29) !literal!40
mov $10,$16
lda $17,80($30)
lda $18,16($31)
jsr $26,($27),simple_strtoul !lituse_jsr!40
ldah $29,0($26) !gpdisp!41
ldq $1,80($30)
lda $29,0($29) !gpdisp!41
addl $31,$0,$11
ldbu $2,0($1)
beq $2,$L196
br $31,$L195
.end name_to_dev_t
.align 2
.align 4
.ent root_dev_setup
root_dev_setup:
.frame $30,16,$26,0
.mask 0x4000200,-16
ldah $29,0($27) !gpdisp!48
lda $29,0($29) !gpdisp!48
$root_dev_setup..ng:
lda $30,-16($30)
ldq $27,strncpy($29) !literal!49
mov $16,$17
lda $18,64($31)
stq $9,8($30)
stq $26,0($30)
.prologue 1
ldah $9,saved_root_name($29) !gprelhigh
lda $9,saved_root_name($9) !gprellow
mov $9,$16
jsr $26,($27),strncpy !lituse_jsr!49
ldah $29,0($26) !gpdisp!50
stb $31,63($9)
lda $0,1($31)
lda $29,0($29) !gpdisp!50
ldq $26,0($30)
ldq $9,8($30)
lda $30,16($30)
ret $31,($26),1
.end root_dev_setup
.section .init.data
.type __setup_str_root_dev_setup, @object
.size __setup_str_root_dev_setup, 6
__setup_str_root_dev_setup:
.ascii "root=\0"
.section .init.setup
.align 3
.type __setup_root_dev_setup, @object
.size __setup_root_dev_setup, 16
__setup_root_dev_setup:
.quad __setup_str_root_dev_setup
.quad root_dev_setup
.section .init.text
.align 2
.align 4
.ent root_data_setup
root_data_setup:
.frame $30,0,$26,0
ldah $29,0($27) !gpdisp!51
lda $29,0($29) !gpdisp!51
$root_data_setup..ng:
.prologue 1
ldah $1,root_mount_data($29) !gprelhigh
lda $0,1($31)
stq $16,root_mount_data($1) !gprellow
ret $31,($26),1
.end root_data_setup
.align 2
.align 4
.ent fs_names_setup
fs_names_setup:
.frame $30,0,$26,0
ldah $29,0($27) !gpdisp!52
lda $29,0($29) !gpdisp!52
$fs_names_setup..ng:
.prologue 1
ldah $1,root_fs_names($29) !gprelhigh
lda $0,1($31)
stq $16,root_fs_names($1) !gprellow
ret $31,($26),1
.end fs_names_setup
.section .init.data
.type __setup_str_root_data_setup, @object
.size __setup_str_root_data_setup, 11
__setup_str_root_data_setup:
.ascii "rootflags=\0"
.section .init.setup
.align 3
.type __setup_root_data_setup, @object
.size __setup_root_data_setup, 16
__setup_root_data_setup:
.quad __setup_str_root_data_setup
.quad root_data_setup
.section .init.data
.type __setup_str_fs_names_setup, @object
.size __setup_str_fs_names_setup, 12
__setup_str_fs_names_setup:
.ascii "rootfstype=\0"
.section .init.setup
.align 3
.type __setup_fs_names_setup, @object
.size __setup_fs_names_setup, 16
__setup_fs_names_setup:
.quad __setup_str_fs_names_setup
.quad fs_names_setup
.section .init.text
.align 2
.align 4
.ent get_fs_names
get_fs_names:
.frame $30,32,$26,0
.mask 0x4000600,-32
ldah $29,0($27) !gpdisp!53
lda $29,0($29) !gpdisp!53
$get_fs_names..ng:
ldah $1,root_fs_names($29) !gprelhigh
lda $30,-32($30)
ldq $17,root_fs_names($1) !gprellow
stq $10,16($30)
mov $16,$10
stq $26,0($30)
stq $9,8($30)
.prologue 1
beq $17,$L226
ldq $27,strcpy($29) !literal!58
jsr $26,($27),strcpy !lituse_jsr!58
ldah $29,0($26) !gpdisp!59
ldbu $1,0($10)
lda $29,0($29) !gpdisp!59
lda $10,1($10)
beq $1,$L232
.align 4
$L231:
ldbu $1,-1($10)
cmpeq $1,44,$1
bne $1,$L245
$L227:
ldbu $1,0($10)
lda $10,1($10)
bne $1,$L231
.align 4
$L232:
stb $31,0($10)
ldq $26,0($30)
ldq $9,8($30)
ldq $10,16($30)
lda $30,32($30)
ret $31,($26),1
.align 4
$L245:
stb $31,-1($10)
br $31,$L227
$L226:
ldq $27,get_filesystem_list($29) !literal!56
jsr $26,($27),get_filesystem_list !lituse_jsr!56
ldah $29,0($26) !gpdisp!57
addq $10,$0,$0
lda $9,-1($10)
lda $29,0($29) !gpdisp!57
stb $31,0($0)
beq $9,$L232
.align 4
$L241:
ldq $27,strchr($29) !literal!54
lda $9,1($9)
lda $17,10($31)
mov $9,$16
jsr $26,($27),strchr !lituse_jsr!54
ldah $29,0($26) !gpdisp!55
ldbu $1,0($9)
lda $29,0($29) !gpdisp!55
lda $9,1($9)
cmpeq $1,9,$1
bne $1,$L238
$L235:
mov $0,$9
bne $0,$L241
br $31,$L232
.align 4
$L238:
ldbu $1,0($9)
lda $9,1($9)
cmpeq $1,10,$2
stb $1,0($10)
lda $10,1($10)
beq $2,$L238
stb $31,-1($10)
br $31,$L235
.end get_fs_names
.section .rodata.str1.1
$LC7:
.ascii "/root\0"
$LC8:
.ascii "VFS: Cannot open root device \"%s\" or %s\12\0"
$LC9:
.ascii "Please append a correct \"root=\" boot option\12\0"
$LC10:
.ascii "VFS: Unable to mount root fs on %s\0"
$LC12:
.ascii " readonly\0"
$LC13:
.ascii "\0"
$LC11:
.ascii "VFS: Mounted root (%s filesystem)%s.\12\0"
.section .init.text
.align 2
.align 4
.ent mount_block_root
mount_block_root:
.frame $30,64,$26,0
.mask 0x400fe00,-64
ldah $29,0($27) !gpdisp!60
lda $29,0($29) !gpdisp!60
$mount_block_root..ng:
ldq $1,names_cachep($29) !literal
lda $30,-64($30)
ldq $27,kmem_cache_alloc($29) !literal!82
stq $12,32($30)
stq $11,24($30)
mov $16,$12
mov $17,$11
stq $26,0($30)
stq $9,8($30)
lda $17,464($31)
ldq $16,0($1)
stq $10,16($30)
stq $13,40($30)
stq $14,48($30)
stq $15,56($30)
.prologue 1
jsr $26,($27),kmem_cache_alloc !lituse_jsr!82
ldah $29,0($26) !gpdisp!83
lda $29,0($29) !gpdisp!83
mov $0,$16
mov $0,$10
bsr $26,get_fs_names !samegp
$L247:
ldbu $1,0($10)
mov $10,$9
beq $1,$L267
ldah $1,$LC7($29) !gprelhigh
ldah $13,root_mount_data($29) !gprelhigh
ldq $15,ROOT_DEV($29) !literal
lda $14,$LC7($1) !gprellow
$L262:
ldq $20,root_mount_data($13) !gprellow
ldq $27,sys_mount($29) !literal!80
mov $9,$18
mov $12,$16
mov $14,$17
mov $11,$19
jsr $26,($27),sys_mount !lituse_jsr!80
ldah $29,0($26) !gpdisp!81
addl $31,$0,$0
lda $29,0($29) !gpdisp!81
mov $9,$16
lda $1,13($0)
lda $2,22($0)
beq $1,$L255
bgt $1,$L259
beq $2,$L250
$L252:
ldl $1,0($15)
ldq $27,kdevname($29) !literal!78
bis $31,$1,$16
jsr $26,($27),kdevname !lituse_jsr!78
ldah $29,0($26) !gpdisp!79
lda $29,0($29) !gpdisp!79
mov $0,$18
ldq $27,printk($29) !literal!76
ldah $17,root_device_name($29) !gprelhigh
ldah $16,$LC8($29) !gprelhigh
lda $17,root_device_name($17) !gprellow
lda $16,$LC8($16) !gprellow
jsr $26,($27),printk !lituse_jsr!76
ldah $29,0($26) !gpdisp!77
lda $29,0($29) !gpdisp!77
ldq $27,printk($29) !literal!74
ldah $16,$LC9($29) !gprelhigh
lda $16,$LC9($16) !gprellow
jsr $26,($27),printk !lituse_jsr!74
ldah $29,0($26) !gpdisp!75
lda $29,0($29) !gpdisp!75
ldl $1,0($15)
ldq $27,kdevname($29) !literal!72
bis $31,$1,$16
jsr $26,($27),kdevname !lituse_jsr!72
ldah $29,0($26) !gpdisp!73
lda $29,0($29) !gpdisp!73
$L269:
mov $0,$17
ldah $16,$LC10($29) !gprelhigh
lda $16,$LC10($16) !gprellow
ldq $27,panic($29) !literal!67
jsr $26,($27),panic !lituse_jsr!67
.align 4
$L250:
ldq $27,strlen($29) !literal!70
jsr $26,($27),strlen !lituse_jsr!70
ldah $29,0($26) !gpdisp!71
addq $9,$0,$0
lda $29,0($29) !gpdisp!71
ldbu $1,1($0)
lda $9,1($0)
bne $1,$L262
$L267:
ldq $1,ROOT_DEV($29) !literal
ldq $27,kdevname($29) !literal!68
ldl $2,0($1)
bis $31,$2,$16
jsr $26,($27),kdevname !lituse_jsr!68
ldah $29,0($26) !gpdisp!69
lda $29,0($29) !gpdisp!69
br $31,$L269
$L259:
bne $0,$L252
$L254:
ldq $1,names_cachep($29) !literal
ldq $27,kmem_cache_free($29) !literal!65
mov $10,$17
ldq $16,0($1)
jsr $26,($27),kmem_cache_free !lituse_jsr!65
ldah $29,0($26) !gpdisp!66
lda $29,0($29) !gpdisp!66
mov $14,$16
ldq $27,sys_chdir($29) !literal!63
jsr $26,($27),sys_chdir !lituse_jsr!63
ldah $29,0($26) !gpdisp!64
ldq $4,64($8)
lda $29,0($29) !gpdisp!64
ldah $1,$LC12($29) !gprelhigh
lda $18,$LC12($1) !gprellow
ldq $2,1264($4)
ldq $3,40($2)
ldq $2,ROOT_DEV($29) !literal
ldq $1,40($3)
ldl $3,16($1)
ldq $4,56($1)
ldq $5,96($1)
stl $3,0($2)
ldq $17,0($4)
blbs $5,$L265
ldah $1,$LC13($29) !gprelhigh
lda $18,$LC13($1) !gprellow
$L265:
ldq $27,printk($29) !literal!61
ldah $16,$LC11($29) !gprelhigh
lda $16,$LC11($16) !gprellow
jsr $26,($27),printk !lituse_jsr!61
ldah $29,0($26) !gpdisp!62
ldq $26,0($30)
ldq $9,8($30)
lda $29,0($29) !gpdisp!62
ldq $10,16($30)
ldq $11,24($30)
ldq $12,32($30)
ldq $13,40($30)
ldq $14,48($30)
ldq $15,56($30)
lda $30,64($30)
ret $31,($26),1
$L255:
bis $11,1,$11
br $31,$L247
.end mount_block_root
.align 2
.align 4
.ent create_dev
create_dev:
.frame $30,96,$26,0
.mask 0x4000600,-96
ldah $29,0($27) !gpdisp!84
lda $29,0($29) !gpdisp!84
$create_dev..ng:
ldq $27,sys_unlink($29) !literal!87
lda $30,-96($30)
stq $9,8($30)
stq $10,16($30)
mov $16,$9
mov $17,$10
stq $26,0($30)
.prologue 1
jsr $26,($27),sys_unlink !lituse_jsr!87
ldah $29,0($26) !gpdisp!88
lda $29,0($29) !gpdisp!88
lda $0,-1($31)
mov $9,$16
mov $10,$18
ldl $1,do_devfs($29) !gprel
lda $17,24960($31)
beq $1,$L280
$L270:
ldq $26,0($30)
ldq $9,8($30)
ldq $10,16($30)
lda $30,96($30)
ret $31,($26),1
.align 4
$L280:
ldq $27,sys_mknod($29) !literal!85
jsr $26,($27),sys_mknod !lituse_jsr!85
ldah $29,0($26) !gpdisp!86
lda $29,0($29) !gpdisp!86
addl $31,$0,$0
br $31,$L270
.end create_dev
.align 2
.align 4
.ent rd_load_image
$rd_load_image..ng:
rd_load_image:
.frame $30,0,$26,0
.prologue 0
mov $31,$0
ret $31,($26),1
.end rd_load_image
.section .rodata.str1.1
$LC14:
.ascii "/dev/root\0"
.section .init.text
.align 2
.align 4
.ent rd_load_disk
rd_load_disk:
.frame $30,0,$26,0
ldah $29,0($27) !gpdisp!89
lda $29,0($29) !gpdisp!89
$rd_load_disk..ng:
.prologue 1
ldah $16,$LC14($29) !gprelhigh
lda $16,$LC14($16) !gprellow
br $31,rd_load_image !samegp
.end rd_load_disk
.align 2
.align 4
.ent mount_root
mount_root:
.frame $30,16,$26,0
.mask 0x4000200,-16
ldah $29,0($27) !gpdisp!90
lda $29,0($29) !gpdisp!90
$mount_root..ng:
ldq $1,ROOT_DEV($29) !literal
lda $30,-16($30)
ldah $18,root_device_name($29) !gprelhigh
stq $9,8($30)
lda $18,root_device_name($18) !gprellow
stq $26,0($30)
.prologue 1
ldah $9,$LC14($29) !gprelhigh
lda $9,$LC14($9) !gprellow
ldl $17,0($1)
mov $9,$16
bsr $26,create_dev !samegp
ldq $26,0($30)
mov $9,$16
ldl $17,root_mountflags($29) !gprel
ldq $9,8($30)
lda $30,16($30)
br $31,mount_block_root !samegp
.end mount_root
.align 2
.align 4
.ent handle_initrd
$handle_initrd..ng:
handle_initrd:
.frame $30,0,$26,0
.prologue 0
ret $31,($26),1
.end handle_initrd
.section .rodata.str1.1
$LC15:
.ascii "/dev/initrd\0"
.section .init.text
.align 2
.align 4
.ent initrd_load
initrd_load:
.frame $30,0,$26,0
ldah $29,0($27) !gpdisp!91
lda $29,0($29) !gpdisp!91
$initrd_load..ng:
.prologue 1
ldah $16,$LC15($29) !gprelhigh
lda $16,$LC15($16) !gprellow
br $31,rd_load_image !samegp
.end initrd_load
.section .rodata.str1.1
$LC16:
.ascii "/dev\0"
$LC17:
.ascii ".\0"
$LC18:
.ascii "/\0"
.text
.align 2
.align 4
.globl prepare_namespace
.ent prepare_namespace
prepare_namespace:
.frame $30,32,$26,0
.mask 0x4000e00,-32
ldah $29,0($27) !gpdisp!92
lda $29,0($29) !gpdisp!92
$prepare_namespace..ng:
lda $30,-32($30)
stq $10,16($30)
stq $9,8($30)
ldah $9,saved_root_name($29) !gprelhigh
ldq $10,ROOT_DEV($29) !literal
stq $11,24($30)
stq $26,0($30)
.prologue 1
ldbu $2,saved_root_name($9) !gprellow
ldl $1,0($10)
zapnot $1,15,$1
srl $1,8,$1
cmpeq $1,2,$11
bne $2,$L296
$L287:
ldl $17,0($10)
ldah $16,$LC14($29) !gprelhigh
mov $31,$18
lda $16,$LC14($16) !gprellow
bsr $26,create_dev !samegp
ldah $1,mount_initrd($29) !gprelhigh
ldl $2,mount_initrd($1) !gprellow
beq $2,$L290
bsr $26,initrd_load !samegp
beq $0,$L293
ldl $1,0($10)
lda $1,-256($1)
bne $1,$L297
.align 4
$L293:
bsr $26,mount_root !samegp
$L292:
ldq $27,sys_umount($29) !literal!98
ldah $16,$LC16($29) !gprelhigh
mov $31,$17
lda $16,$LC16($16) !gprellow
jsr $26,($27),sys_umount !lituse_jsr!98
ldah $29,0($26) !gpdisp!99
lda $29,0($29) !gpdisp!99
mov $31,$18
lda $19,8192($31)
mov $31,$20
ldah $9,$LC17($29) !gprelhigh
ldq $27,sys_mount($29) !literal!96
ldah $17,$LC18($29) !gprelhigh
lda $9,$LC17($9) !gprellow
lda $17,$LC18($17) !gprellow
mov $9,$16
jsr $26,($27),sys_mount !lituse_jsr!96
ldah $29,0($26) !gpdisp!97
lda $29,0($29) !gpdisp!97
mov $9,$16
ldq $27,sys_chroot($29) !literal!94
jsr $26,($27),sys_chroot !lituse_jsr!94
ldah $29,0($26) !gpdisp!95
lda $29,0($29) !gpdisp!95
ldq $1,security_ops($29) !literal
ldq $2,0($1)
ldq $27,184($2)
jsr $26,($27),0
ldah $29,0($26) !gpdisp!93
ldq $26,0($30)
ldq $9,8($30)
lda $29,0($29) !gpdisp!93
ldq $10,16($30)
ldq $11,24($30)
lda $30,32($30)
ret $31,($26),1
$L297:
bsr $26,handle_initrd !samegp
br $31,$L292
.align 4
$L290:
beq $11,$L293
ldah $1,rd_doload($29) !gprelhigh
ldl $2,rd_doload($1) !gprellow
beq $2,$L293
mov $31,$16
bsr $26,rd_load_disk !samegp
beq $0,$L293
lda $1,256($31)
stl $1,0($10)
br $31,$L293
.align 4
$L296:
lda $9,saved_root_name($9) !gprellow
mov $9,$16
bsr $26,name_to_dev_t !samegp
mov $9,$16
ldq $27,memcmp($29) !literal!102
ldah $17,$LC5($29) !gprelhigh
stl $0,0($10)
lda $18,5($31)
lda $17,$LC5($17) !gprellow
jsr $26,($27),memcmp !lituse_jsr!102
ldah $29,0($26) !gpdisp!103
lda $29,0($29) !gpdisp!103
lda $1,5($9)
cmoveq $0,$1,$9
ldq $27,strcpy($29) !literal!100
ldah $16,root_device_name($29) !gprelhigh
lda $16,root_device_name($16) !gprellow
mov $9,$17
jsr $26,($27),strcpy !lituse_jsr!100
ldah $29,0($26) !gpdisp!101
lda $29,0($29) !gpdisp!101
br $31,$L287
.end prepare_namespace
.comm ROOT_DEV,4,4
.globl rd_doload
.section .init.data
.align 2
.type rd_doload, @object
.size rd_doload, 4
rd_doload:
.zero 4
.section .bss
.type root_device_name, @object
.size root_device_name, 64
root_device_name:
.zero 64
.type saved_root_name, @object
.size saved_root_name, 64
saved_root_name:
.zero 64
.section .init.data
.align 3
.type root_mount_data, @object
.size root_mount_data, 8
root_mount_data:
.zero 8
.align 3
.type root_fs_names, @object
.size root_fs_names, 8
root_fs_names:
.zero 8
.ident "GCC: (GNU) 3.3 20021103 (experimental)"
|
stsp/binutils-ia16
| 1,599
|
gas/testsuite/gas/bfin/flow.s
|
.data
foodata: .word 42
.text
footext:
.text
.global jump
jump:
jump(P5);
Jump (pc + p3);
jUMp (0);
JumP.l (-16777216);
jumP.L (0x00fffffe);
JUMP.s (4094);
JUMP.L (0X00FF0000);
jump (footext);
.text
.global ccjump
ccjump:
if cc jump (-1024);
IF CC JUMP (1022) (BP);
if !cc jump (0xffffFc00) (Bp);
if !cc jumP (0x0112);
if cC JuMp (footext);
if CC jUmP (footext) (bp);
if !cc jump (FOOTEXT) (bP);
if !Cc JUMP (FooText);
.text
.global call
call:
call (P3);
Call (PC+p2);
cALL (0xff000000);
CalL(0x00FFFFFe);
CAll call_test;
.text
.global return
return:
rts;
rTi;
rtX;
Rtn;
RTE;
.text
.text
.global loop_lc0
loop_lc0:
loop first_loop lc0;
Loop_Begin first_loop;
R0 = [FP+-3604];
R1 = 9 (X);
R0 = [FP+-3604];
P0 = R0;
P2 = P0 << 2;
P2 = P2 + FP;
R0 = -1200 (X);
P1 = R0;
P2 = P2 + P1;
R0 = 0 (X);
[P2] = R0;
R0 = [FP+-3604];
R0 += 1;
[FP+-3604] = R0;
LOOP_END first_loop;
lOOP second_loop Lc0 = P4;
Loop_Begin second_loop;
NOP;
Loop_End second_loop;
LOOP third_loop lC0 = P1 >> 1;
Lsetup (4, 2046) Lc0;
LSETUP(30, 1024) LC0 = P5;
LSeTuP (30, 4) lc0 = p0 >> 1;
.global loop_lc1
loop_lc1:
loop my_loop lc1;
lOOP other_loop Lc1 = P4;
LOOP another_loop lC1 = P1 >> 1;
Lsetup (4, 2046) Lc1;
LSETUP (30, 1024) LC1 = P5;
LSeTuP (30, 4) lc1 = p0 >> 1;
Loop_Begin another_loop;
R0 = [FP+-3608];
P0 = R0;
P2 = P0 << 2;
P2 = P2 + FP;
R0 = -3600 (X);
P0 = R0;
P1 = P2 + P0;
R0 = [FP+-3608];
P0 = R0;
P2 = P0 << 2;
P2 = P2 + FP;
R0 = -1200 (X);
P0 = R0;
P2 = P2 + P0;
R0 = [P2];
[P1] = R0;
LOOP_END another_loop;
|
stsp/binutils-ia16
| 1,442
|
gas/testsuite/gas/bfin/shift.s
|
.text
.global add_with_shift
add_with_shift:
P0 = (P0 + p1) << 1;
P2 = (p2 + p5) << 2;
r7 = (R7 + r1) << 2;
r3 = (r3 + R0) << 1;
.text
.global shift_with_add
shift_with_add:
P5 = p4 + (P0 << 2);
P0 = p2 + (p1 << 1);
.text
.global arithmetic_shift
arithmetic_shift:
A0 = A0 >> 31;
a0 = a0 << 31;
a1 = a1 >> 0;
A1 = A1 << 0;
r7 = r5 << 31 (s);
R3 = r2 >>> 22;
r1.L = R2.H << 15 (S);
r5.h = r2.l >>> 2;
r0 <<= 0;
r1 >>>= 31;
r0 >>>= R1;
R2 <<= R1;
r3.l = Ashift r4.h by r2.l;
R7.H = ASHIFT R7.L by R0.L (S);
r7.h = ashift r7.l by r0.l (s);
r6 = AShiFT R5 by R2.L;
R0 = Ashift R4 by r1.l (s);
r2 = ashift r6 BY r3.L (S);
A0 = Ashift a0 by r1.l;
a1 = ASHIFT a1 by r0.L;
.text
.global logical_shift
logical_shift:
p0 = p0 >> 1;
P1 = p2 >> 2;
P3 = P1 << 1;
p4 = p5 << 2;
r0 >>= 31;
R7 <<= 31;
r1.H = r2.l >> 15;
r7.l = r0.L << 0;
r5 = r5 >> 31;
r0 = r0 << 12;
A0 = A0 >> 1;
A0 = A0 << 0;
a1 = A1 << 31;
a1 = a1 >> 16;
r5 >>= R7;
R6 <<= r0;
R1.H = LShift r2.h by r0.l;
r0.l = LSHIFT r0.h by r1.l;
r7.L = lshift r6.L BY r2.l;
r5 = LShIft R4 bY r3.L;
A0 = Lshift a0 By R6.L;
A1 = LsHIFt a1 by r5.l;
.text
.global rotate
rotate:
r7 = ROT r7 by -32;
R6 = Rot r7 by -31;
R5 = RoT R7 by 31;
R4 = Rot r7 by 30;
a0 = rot A0 by 0;
A0 = ROT a0 BY 10;
A1 = ROT A1 by -20;
A1 = ROT a1 By -32;
r0 = rot r1 by r2.L;
R0 = Rot R4 BY R3.L;
A0 = ROT A0 by r7.l;
A1 = rot a1 bY r6.l;
|
stsp/binutils-ia16
| 2,513
|
gas/testsuite/gas/bfin/expected_errors.s
|
.text
p0.H = 0x12345678;
P0.l = 0x12345678;
CC = R3 < 4;
CC = R3 < 7;
CC = R3 < 8;
CC = R3 <= 4;
CC = R3 <= 7;
CC = R3 <= 8;
A1 -= M2.h * R3.L, A0 -= M2.l * R3.L;
R1.H = (A1=R7.L*R5.L) , A0 += R1.L*R0.L (IS);
a0 += R2.L * R3.L (IU);
a0 += R2.L * R3.L (T);
a0 += R2.L * R3.L (TFU);
a0 += R2.L * R3.L (S2RND);
a0 += R2.L * R3.L (ISS2);
a0 += R2.L * R3.L (IH);
R0.H = (A1 = R4.L * R3.L) (T), A0 = R4.H * R3.L;
R0.L = (A0 = R7.L * R4.H) (T), A1 += R7.H * R4.H;
R0 = (A1 += R1.H * R3.H) (IU)
R0.L = (A1 += R1.H * R3.H) (IU)
R1 = (A0 += R1.H * R3.H) (IU)
R1.H = (A0 += R1.H * R3.H) (IU)
W [p0 + 1] = r0;
[p0 + 1] = r0;
[p0 + 2] = r0;
[p0 + 3] = r0;
B [p0 + 32768] = r0;
W [p0 + 65536] = r0;
[p0 + 131072] = r0;
B [p0 + -32769] = r0;
W [p0 + -65538] = r0;
[p0 + -131076] = r0;
r0 = W [p0 + 1] (x);
r0 = [p0 + 1];
r0 = [p0 + 2];
r0 = [p0 + 3];
r0 = [p0 + foo];
r0 = W [p0 + foo];
r0 = B [p0 + foo];
r0 = [p0 + 131076];
r0 = W [p0 + 65536];
r0 = B [p0 + 131076];
[ R0 ++ M2 ] = R2;
[ I0 ++ R2 ] = R2;
[ R0 ++ P2 ] = R2;
[ P0 ++ R2 ] = R2;
[ P0 ++ M2 ] = R2;
[ I0 ++ P2 ] = R2;
W [ R0 ++ M2 ] = R2.h;
W [ I0 ++ R2 ] = R2.h;
W [ R0 ++ P2 ] = R2.h;
W [ P0 ++ R2 ] = R2.h;
W [ P0 ++ M2 ] = R2.h;
W [ I0 ++ P2 ] = R2.h;
[ R0 ++ ] = R2;
[ I0 ++ ] = P2;
W [ R0 ++ ] = R2.h;
W [ I0 ++ ] = P2.h;
W [ R0 ++ ] = R2;
W [ I0 ++ ] = R2;
W [ P0 ++ ] = P2;
B [ R0 ++ ] = R2;
B [ I0 ++ ] = R2;
B [ P0 ++ ] = P2;
R2 = [ R0 ++ M2 ];
R2 = [ I0 ++ R2 ];
R2 = [ R0 ++ P2 ];
R2 = [ P0 ++ R2 ];
R2 = [ P0 ++ M2 ];
R2 = [ I0 ++ P2 ];
R2.h = W [ R0 ++ M2 ];
R2.h = W [ I0 ++ R2 ];
R2.h = W [ R0 ++ P2 ];
R2.h = W [ P0 ++ R2 ];
R2.h = W [ P0 ++ M2 ];
R2.h = W [ I0 ++ P2 ];
R2 = [ R0 ++ ];
P2 = [ I0 ++ ];
R0.l = B [ P0 ++ ];
R0.l = B [ I0 ++ ];
R0.l = W [ P0 ++ ];
R2.h = W [ R0 ++ ];
P2.h = W [ I0 ++ ];
R2 = W [ R0 ++ ] (X);
R2 = W [ I0 ++ ] (X);
P2 = W [ P0 ++ ] (X);
R2 = B [ R0 ++ ] (X);
R2 = B [ I0 ++ ] (X);
P2 = B [ P0 ++ ] (X);
(R3, R3) = SEARCH R0 (GE);
BITMUX (R4, R4, A0) (ASR);
R0 = A0, R3 = A1;
R0.L = A0, R1.H = A1;
R0 = A0, R1.H = A1;
R0 = R1 +|+ R2, R0 = R1 -|- R2;
R0 = R4 +|+ R5, R1 = R6 -|- R7;
R1 = R3 +|- R7, R1 = R3 -|+ R7;
R7 = R3 +|- R4, R1 = R1 -|+ R2;
R0 = R3 + R4, R1 = R5 - R6;
R7 = A1.L + A1.H, R7 = A0.L + A0.H;
(R0, R0) = BYTEOP16P (R1:0, R3:2);
(R7, R7) = BYTEOP16P (R1:0, R3:2);
(R1, R1) = BYTEOP16M (R1:0, R3:2);
(R4, R4) = BYTEOP16M (R1:0, R3:2);
(R5, R5) = BYTEUNPACK R3:2;
|
stsp/binutils-ia16
| 6,705
|
gas/testsuite/gas/bfin/shift2.s
|
.EXTERN MY_LABEL2;
.section .text;
//
//9 SHIFT/ROTATE OPERATIONS
//
//Preg = ( Preg + Preg ) << 1 ; /* dest_reg = (dest_reg + src_reg) x 2 (a) */
P0 = (P0+P0)<<1;
P0 = (P0+P1)<<1;
P2 = (P2+P0)<<1;
P1 = (P1+P2)<<1;
//P0 = (P2+P0)<<1;
//Preg = ( Preg + Preg ) << 2 ; /* dest_reg = (dest_reg + src_reg) x 4 (a) */
P0 = (P0+P0)<<2;
P0 = (P0+P1)<<2;
P2 = (P2+P0)<<2;
P1 = (P1+P2)<<2;
//P0 = (P2+P0)<<2;
//Dreg = (Dreg + Dreg) << 1 ; /* dest_reg = (dest_reg + src_reg) x 2 (a) */
R0 = (R0+R0)<<1;
R0 = (R0+R1)<<1;
R2 = (R2+R0)<<1;
R1 = (R1+R2)<<1;
//R0 = (R2+R0)<<1;
//Dreg = (Dreg + Dreg) << 2 ; /* dest_reg = (dest_reg + src_reg) x 4 (a) */
R0 = (R0+R0)<<2;
R0 = (R0+R1)<<2;
R2 = (R2+R0)<<2;
R1 = (R1+R2)<<2;
//R0 = (R2+R0)<<2;
//Preg = Preg + ( Preg << 1 ) ; /* adder_pntr + (src_pntr x 2) (a) */
P0 = P0 + (P0 << 1);
P0 = P0 + (P1 << 1);
P0 = P0 + (P2 << 1);
P0 = P1 + (P2 << 1);
P0 = P2 + (P3 << 1);
P1 = P0 + (P0 << 1);
P1 = P0 + (P1 << 1);
P1 = P0 + (P2 << 1);
P1 = P1 + (P2 << 1);
P1 = P2 + (P3 << 1);
//Preg = Preg + ( Preg << 2 ) ; /* adder_pntr + (src_pntr x 4) (a) */
P0 = P0 + (P0 << 2);
P0 = P0 + (P1 << 2);
P0 = P0 + (P2 << 2);
P0 = P1 + (P2 << 2);
P0 = P2 + (P3 << 2);
P1 = P0 + (P0 << 2);
P1 = P0 + (P1 << 2);
P1 = P0 + (P2 << 2);
P1 = P1 + (P2 << 2);
P1 = P2 + (P3 << 2);
//Dreg >>>= uimm5 ; /* arithmetic right shift (a) */
R0 >>>= 0;
R0 >>>= 31;
R0 >>>= 5;
R5 >>>= 0;
R5 >>>= 31;
R5 >>>= 5;
//Dreg <<= uimm5 ; /* logical left shift (a) */
R0 <<= 0;
R0 <<= 31;
R0 <<= 5;
R5 <<= 0;
R5 <<= 31;
R5 <<= 5;
//Dreg_lo_hi = Dreg_lo_hi >>> uimm4 ; /* arithmetic right shift (b) */
R0.L = R0.L >>> 0;
R0.L = R0.L >>> 15;
R0.L = R0.H >>> 0;
R0.L = R0.H >>> 15;
R0.H = R0.L >>> 0;
R0.H = R0.L >>> 15;
R0.H = R0.H >>> 0;
R0.H = R0.H >>> 15;
R0.L = R1.L >>> 0;
R0.L = R1.L >>> 15;
R0.L = R1.H >>> 0;
R0.L = R1.H >>> 15;
R0.H = R1.L >>> 0;
R0.H = R1.L >>> 15;
R0.H = R1.H >>> 0;
R0.H = R1.H >>> 15;
R0.L = R7.L >>> 0;
R1.L = R6.L >>> 15;
R2.L = R5.H >>> 0;
R3.L = R4.H >>> 15;
R4.H = R3.L >>> 0;
R5.H = R2.L >>> 15;
R6.H = R1.H >>> 0;
R7.H = R0.H >>> 15;
//Dreg_lo_hi = Dreg_lo_hi << uimm4 (S) ; /* arithmetic left shift (b) */
R0.L = R0.L << 0(S);
R0.L = R0.L << 15(S);
R0.L = R0.H << 0(S);
R0.L = R0.H << 15(S);
R0.H = R0.L << 0(S);
R0.H = R0.L << 15(S);
R0.H = R0.H << 0(S);
R0.H = R0.H << 15(S);
R0.L = R1.L << 0(S);
R0.L = R1.L << 15(S);
R0.L = R1.H << 0(S);
R0.L = R1.H << 15(S);
R0.H = R1.L << 0(S);
R0.H = R1.L << 15(S);
R0.H = R1.H << 0(S);
R0.H = R1.H << 15(S);
R0.L = R7.L << 0(S);
R1.L = R6.L << 15(S);
R2.L = R5.H << 0(S);
R3.L = R4.H << 15(S);
R4.H = R3.L << 0(S);
R5.H = R2.L << 15(S);
R6.H = R1.H << 0(S);
R7.H = R0.H << 15(S);
//Dreg = Dreg >>> uimm5 ; /* arithmetic right shift (b) */
R0 = R0 >>> 0;
R0 = R0 >>> 31;
R0 = R1 >>> 0;
R0 = R1 >>> 31;
R7 = R0 >>> 0;
R6 = R1 >>> 31;
R5 = R2 >>> 0;
R4 = R3 >>> 31;
R3 = R4 >>> 0;
R2 = R5 >>> 31;
R1 = R6 >>> 0;
R0 = R7 >>> 31;
//Dreg = Dreg << uimm5 (S) ; /* arithmetic left shift (b) */
R0 = R0 << 0(S);
R0 = R0 << 31(S);
R0 = R1 << 0(S);
R0 = R1 << 31(S);
R7 = R0 << 0(S);
R6 = R1 << 31(S);
R5 = R2 << 0(S);
R4 = R3 << 31(S);
R3 = R4 << 0(S);
R2 = R5 << 31(S);
R1 = R6 << 0(S);
R0 = R7 << 31(S);
//A0 = A0 >>> uimm5 ; /* arithmetic right shift (b) */
A0 = A0 >>> 0;
A0 = A0 >>> 15;
A0 = A0 >>> 31;
//A0 = A0 << uimm5 ; /* logical left shift (b) */
A0 = A0 << 0;
A0 = A0 << 15;
A0 = A0 << 31;
//A1 = A1 >>> uimm5 ; /* arithmetic right shift (b) */
A1 = A1 >>> 0;
A1 = A1 >>> 15;
A1 = A1 >>> 31;
//A1 = A1 << uimm5 ; /* logical left shift (b) */
A1 = A1 << 0;
A1 = A1 << 15;
A1 = A1 << 31;
//Dreg >>>= Dreg ; /* arithmetic right shift (a) */
R0 >>>= R0;
R0 >>>= R1;
R1 >>>= R0;
R1 >>>= R7;
//Dreg <<= Dreg ; /* logical left shift (a) */
R0 <<= R0;
R0 <<= R1;
R1 <<= R0;
R1 <<= R7;
//Dreg_lo_hi = ASHIFT Dreg_lo_hi BY Dreg_lo (opt_sat) ; /* arithmetic right shift (b) */
r3.l = ashift r0.h by r7.l ; /* shift, half-word */
r3.h = ashift r0.l by r7.l ;
r3.h = ashift r0.h by r7.l ;
r3.l = ashift r0.l by r7.l ;
r3.l = ashift r0.h by r7.l(s) ; /* shift, half-word, saturated */
r3.h = ashift r0.l by r7.l(s) ; /* shift, half-word, saturated */
r3.h = ashift r0.h by r7.l(s) ;
r3.l = ashift r0.l by r7.l (s) ;
//Dreg = ASHIFT Dreg BY Dreg_lo (opt_sat) ; /* arithmetic right shift (b) */
r4 = ashift r2 by r7.l ; /* shift, word */
r4 = ashift r2 by r7.l (s) ; /* shift, word, saturated */
//A0 = ASHIFT A0 BY Dreg_lo ; /* arithmetic right shift (b)*/
A0 = ashift A0 by r7.l ; /* shift, Accumulator */
//A1 = ASHIFT A1 BY Dreg_lo ; /* arithmetic right shift (b)*/
A1 = ashift A1 by r7.l ; /* shift, Accumulator */
p3 = p2 >> 1 ; /* pointer right shift by 1 */
p3 = p3 >> 2 ; /* pointer right shift by 2 */
p4 = p5 << 1 ; /* pointer left shift by 1 */
p0 = p1 << 2 ; /* pointer left shift by 2 */
r3 >>= 17 ; /* data right shift */
r3 <<= 17 ; /* data left shift */
r3.l = r0.l >> 4 ; /* data right shift, half-word register */
r3.l = r0.h >> 4 ; /* same as above; half-word register combinations are arbitrary */
r3.h = r0.l << 12 ; /* data left shift, half-word register */
r3.h = r0.h << 14 ; /* same as above; half-word register combinations are arbitrary */
r3 = r6 >> 4 ; /* right shift, 32-bit word */
r3 = r6 << 4 ; /* left shift, 32-bit word */
a0 = a0 >> 7 ; /* Accumulator right shift */
a1 = a1 >> 25 ; /* Accumulator right shift */
a0 = a0 << 7 ; /* Accumulator left shift */
a1 = a1 << 14 ; /* Accumulator left shift */
r3 >>= r0 ; /* data right shift */
r3 <<= r1 ; /* data left shift */
r3.l = lshift r0.l by r2.l ; /* shift direction controlled by sign of R2.L */
r3.h = lshift r0.l by r2.l ;
a0 = lshift a0 by r7.l ;
a1 = lshift a1 by r7.l ;
r4 = rot r1 by 31 ; /* rotate left */
r4 = rot r1 by -32 ; /* rotate right */
r4 = rot r1 by 5 ; /* rotate right */
a0 = rot a0 by 22 ; /* rotate Accumulator left */
a0 = rot a0 by -32 ; /* rotate Accumulator left */
a0 = rot a0 by 31 ; /* rotate Accumulator left */
a1 = rot a1 by -32 ; /* rotate Accumulator right */
a1 = rot a1 by 31 ; /* rotate Accumulator right */
a1 = rot a1 by 22 ; /* rotate Accumulator right */
r4 = rot r1 by r2.l ;
a0 = rot a0 by r3.l ;
a1 = rot a1 by r7.l ;
r0.l = r1.l << 0;
r0.l = r1.l << 1;
r0.l = r1.l << 2;
r0.l = r1.l << 4;
r0.l = r1.l >> 0;
r0.l = r1.l >> 1;
r0.l = r1.l >> 2;
r0.l = r1.l >> 4;
r0.l = r1.l >>> 1;
r0.l = r1.l >>> 2;
r0.l = r1.l >>> 4;
r0.l = r1.h << 0;
r0.l = r1.h << 1;
r0.l = r1.h << 2;
r0.l = r1.h << 4;
r0.l = r1.h >> 0;
r0.l = r1.h >> 1;
r0.l = r1.h >> 2;
r0.l = r1.h >> 4;
r0.l = r1.h >>> 1;
r0.l = r1.h >>> 2;
r0.l = r1.h >>> 4;
r0.l = r1.h << 0 (S);
r0.l = r1.h << 1 (S);
r0.l = r1.h << 2 (S);
r0.l = r1.h << 4 (S);
r0.l = r1.h >>> 1 (S);
r0.l = r1.h >>> 2 (S);
r0.l = r1.h >>> 4 (S);
|
stsp/binutils-ia16
| 2,282
|
gas/testsuite/gas/bfin/bit2.s
|
.EXTERN MY_LABEL2;
.section .text;
//
//8 BIT OPERATIONS
//
//BITCLR ( Dreg , uimm5 ) ; /* (a) */
BITCLR ( R7 , 0 ) ;
BITCLR ( R7 , 31 ) ;
BITCLR ( R7 , 15 ) ;
BITCLR ( R1 , 0 ) ;
BITCLR ( R2 , 1 ) ;
BITCLR ( R3 , 19 ) ;
//BITSET ( Dreg , uimm5 ) ; /* (a) */
BITSET ( R7 , 0 ) ;
BITSET ( R7 , 31 ) ;
BITSET ( R7 , 15 ) ;
BITSET ( R1 , 0 ) ;
BITSET ( R2 , 1 ) ;
BITSET ( R3 , 19 ) ;
//BITTGL ( Dreg , uimm5 ) ; /* (a) */
BITTGL ( R7 , 0 ) ;
BITTGL ( R7 , 31 ) ;
BITTGL ( R7 , 15 ) ;
BITTGL ( R1 , 0 ) ;
BITTGL ( R2 , 1 ) ;
BITTGL ( R3 , 19 ) ;
//CC = BITTST ( Dreg , uimm5 ) ; /* set CC if bit = 1 (a)*/
CC = BITTST ( R7 , 0 ) ;
CC = BITTST ( R7 , 31 ) ;
CC = BITTST ( R7 , 15 ) ;
CC = BITTST ( R1 , 0 ) ;
CC = BITTST ( R2 , 1 ) ;
CC = BITTST ( R3 , 19 ) ;
//CC = ! BITTST ( Dreg , uimm5 ) ; /* set CC if bit = 0 (a)*/
CC = !BITTST ( R7 , 0 ) ;
CC = !BITTST ( R7 , 31 ) ;
CC = !BITTST ( R7 , 15 ) ;
CC = !BITTST ( R1 , 0 ) ;
CC = !BITTST ( R2 , 1 ) ;
CC = !BITTST ( R3 , 19 ) ;
//Dreg = DEPOSIT ( Dreg, Dreg ) ; /* no extension (b) */
R7 = DEPOSIT(R0, R1);
R7 = DEPOSIT(R7, R1);
R7 = DEPOSIT(R7, R7);
R1 = DEPOSIT(R0, R1);
R2 = DEPOSIT(R7, R1);
R3 = DEPOSIT(R7, R7);
//Dreg = DEPOSIT ( Dreg, Dreg ) (X) ; /* sign-extended (b) */
R7 = DEPOSIT(R0, R1)(X);
R7 = DEPOSIT(R7, R1)(X);
R7 = DEPOSIT(R7, R7)(X);
R1 = DEPOSIT(R0, R1)(X);
R2 = DEPOSIT(R7, R1)(X);
R3 = DEPOSIT(R7, R7)(X);
//Dreg = EXTRACT ( Dreg, Dreg_lo ) (Z) ; /* zero-extended (b)*/
R7 = EXTRACT(R0, R1.L)(Z);
R7 = EXTRACT(R7, R1.L)(Z);
R7 = EXTRACT(R7, R7.L)(Z);
R1 = EXTRACT(R0, R1.L)(Z);
R2 = EXTRACT(R7, R1.L)(Z);
R3 = EXTRACT(R7, R7.L)(Z);
//Dreg = EXTRACT ( Dreg, Dreg_lo ) (X) ; /* sign-extended (b)*/
R7 = EXTRACT(R0, R1.L)(X);
R7 = EXTRACT(R7, R1.L)(X);
R7 = EXTRACT(R7, R7.L)(X);
R1 = EXTRACT(R0, R1.L)(X);
R2 = EXTRACT(R7, R1.L)(X);
R3 = EXTRACT(R7, R7.L)(X);
//BITMUX ( Dreg , Dreg , A0 ) (ASR) ; /* shift right, LSB is shifted out (b) */
BITMUX(R0, R1, A0)(ASR);
BITMUX(R0, R2, A0)(ASR);
BITMUX(R1, R3, A0)(ASR);
//BITMUX(R0, R0, A0)(ASR);
//BITMUX ( Dreg , Dreg , A0 ) (ASL) ; /* shift left, MSB is shifted out (b) */
//BITMUX(R0, R0, A0)(ASL);
BITMUX(R0, R1, A0)(ASL);
BITMUX(R1, R2, A0)(ASL);
//Dreg_lo = ONES Dreg ; /* (b) */
R0.L = ONES R0;
R0.L = ONES R1;
R1.L = ONES R6;
R2.L = ONES R7;
|
stsp/binutils-ia16
| 2,391
|
gas/testsuite/gas/bfin/stack2.s
|
.EXTERN MY_LABEL2;
.section .text;
//
//5 STACK CONTROL
//
//[ -- SP ] = allreg ; /* predecrement SP (a) */
[--SP ] = R0;
[--SP ] = R6;
[--SP ] = P0;
[--SP ] = P4;
[--SP ] = I0;
[--SP ] = I1;
[--SP ] = M0;
[--SP ] = M1;
[--SP ] = L0;
[--SP ] = L1;
[--SP ] = B0;
[--SP ] = B1;
[--SP ] = A0.X;
[--SP ] = A1.X;
[--SP ] = A0.W;
[--SP ] = A1.W;
[--SP ] = ASTAT;
[--SP ] = RETS;
[--SP ] = RETI;
[--SP ] = RETX;
[--SP ] = RETN;
[--SP ] = RETE;
[--SP ] = LC0;
[--SP ] = LC1;
[--SP ] = LT0;
[--SP ] = LT1;
[--SP ] = LB0;
[--SP ] = LB1;
[--SP ] = CYCLES;
[--SP ] = CYCLES2;
//[--SP ] = EMUDAT;
[--SP ] = USP;
[--SP ] = SEQSTAT;
[--SP ] = SYSCFG;
//[ -- SP ] = ( R7 : Dreglim , P5 : Preglim ) ; /* Dregs and indexed Pregs (a) */
[--SP ] = ( R7:0, P5:0);
//[ -- SP ] = ( R7 : Dreglim ) ; /* Dregs, only (a) */
[--SP ] = ( R7:0);
//[ -- SP ] = ( P5 : Preglim ) ; /* indexed Pregs, only (a) */
[--SP ] = (P5:0);
//mostreg = [ SP ++ ] ; /* post-increment SP; does not apply to Data Registers and Pointer Registers (a) */
R0= [ SP ++ ] ;
R6= [ SP ++ ] ;
P0= [ SP ++ ] ;
P4= [ SP ++ ] ;
I0= [ SP ++ ] ;
I1= [ SP ++ ] ;
M0= [ SP ++ ] ;
M1= [ SP ++ ] ;
L0= [ SP ++ ] ;
L1= [ SP ++ ] ;
B0= [ SP ++ ] ;
B1= [ SP ++ ] ;
A0.X= [ SP ++ ] ;
A1.X= [ SP ++ ] ;
A0.W= [ SP ++ ] ;
A1.W= [ SP ++ ] ;
ASTAT= [ SP ++ ] ;
RETS= [ SP ++ ] ;
RETI= [ SP ++ ] ;
RETX= [ SP ++ ] ;
RETN= [ SP ++ ] ;
RETE= [ SP ++ ] ;
LC0= [ SP ++ ] ;
LC1= [ SP ++ ] ;
LT0= [ SP ++ ] ;
LT1= [ SP ++ ] ;
LB0= [ SP ++ ] ;
LB1= [ SP ++ ] ;
CYCLES= [ SP ++ ] ;
CYCLES2= [ SP ++ ] ;
//EMUDAT= [ SP ++ ] ;
USP= [ SP ++ ] ;
SEQSTAT= [ SP ++ ] ;
SYSCFG= [ SP ++ ] ;
//( R7 : Dreglim, P5 : Preglim ) = [ SP ++ ] ; /* Dregs and indexed Pregs (a) */
( R7:0, P5:0) = [ SP++ ];
//( R7 : Dreglim ) = [ SP ++ ] ; /* Dregs, only (a) */
( R7:0) = [ SP++ ];
//( P5 : Preglim ) = [ SP ++ ] ; /* indexed Pregs, only (a) */
( P5:0) = [ SP++ ];
//LINK uimm18m4 ; /* allocate a stack frame of specified size (b) */
LINK 0X0;
LINK 0X8;
LINK 0x3FFFC;
UNLINK ; /* de-allocate the stack frame (b)*/
L$L$foo: (R7:6,P5:3) = [SP++]; /* Pop multiple on the same line with a label */
|
stsp/binutils-ia16
| 1,354
|
gas/testsuite/gas/bfin/video.s
|
.text
.global align
align:
R7 = Align8 (r5, r2);
R5 = ALIGN16 (R0, R1);
r2 = ALIGN24 (r5, r0);
.global disalgnexcpt
disalgnexcpt:
DISAlgnExcpt;
.text
.global byteop3p
byteop3p:
R5 = Byteop3p (r1:0, r3:2) (lO);
R0 = BYTEOP3P (R1:0, R3:2) (HI);
R1 = byteop3p (r1:0, r3:2) (LO, r);
r2 = ByteOp3P (r1:0, R3:2) (hi, R);
.text
.global dual16
dual16:
R5 = A1.l + A1.h, R2 = a0.l + a0.h;
.text
.global byteop16p
byteop16p:
(r2, r3) = BYTEOP16P (R1:0, R3:2);
(R6, R0) = byteop16p (r1:0, r3:2) (r);
.text
.global byteop1p
byteop1p:
R7 = BYTEOP1P (R1:0, R3:2);
r2 = byteop1p (r1:0, r3:2) (t);
R3 = ByteOp1P (r1:0, R3:2) (R);
r7 = byteOP1P (R1:0, r3:2) (T, r);
.text
.global byteop2p
byteop2p:
R0 = BYTEOP2P (R1:0, R3:2) (RNDL);
r1 = byteop2p (r1:0, r3:2) (rndh);
R2 = Byteop2p (R1:0, R3:2) (tL);
R3 = Byteop2p (r1:0, r3:2) (TH);
r4 = ByTEOP2P (r1:0, R3:2) (Rndl, R);
R5 = byTeOp2p (R1:0, r3:2) (rndH, r);
r6 = BYTEop2p (r1:0, r3:2) (tl, R);
R7 = byteop2p (r1:0, R3:2) (TH, r);
.text
.global bytepack
bytepack:
R5 = BytePack (R0, R3);
.text
.global byteop16m
byteop16m:
(R6, R2) = ByteOp16M (r1:0, r3:2);
(r0, r5) = byteop16m (R1:0, R3:2) (r);
.text
.global saa
saa:
saa(r1:0, r3:2);
SAA (R1:0, R3:2) (r);
.text
.global byteunpack
byteunpack:
(R7, R2) = byteunpack R1:0;
(R6, R4) = BYTEUNPACK r3:2 (R);
|
stsp/binutils-ia16
| 7,644
|
gas/testsuite/gas/bfin/move2.s
|
.EXTERN MY_LABEL2;
.section .text;
//
//4 MOVE
//
//genreg = genreg ; /* (a) */
R0 = R0;
R1 = R1;
R2 = R2;
R3 = R3;
R4 = R4;
R5 = R5;
R6 = R6;
R7 = R7;
P0 = P0;
P1 = P1;
P2 = P2;
P3 = P3;
P4 = P4;
P5 = P5;
SP = SP;
FP = FP;
A0.X = A0.X;
A0.W = A0.W;
A1.X = A1.X;
A1.W = A1.W;
R0 = A1.W;
R1 = A1.X;
R2 = A0.W;
R3 = A0.X;
R4 = FP;
R5 = SP;
R6 = P5;
R7 = P4;
P0 = P3;
P1 = P2;
P2 = P1;
P3 = P0;
P4 = R7;
P5 = R6;
SP = R5;
FP = R4;
A0.X = R3;
A0.W = R2;
A1.X = R1;
A1.W = R0;
A0.X = A0.W;
A0.X = A1.W;
A0.X = A1.X;
A1.X = A1.W;
A1.X = A0.W;
A1.X = A0.X;
A0.W = A0.W;
A0.W = A1.W;
A0.W = A1.X;
A1.W = A1.W;
A1.W = A0.W;
A1.W = A0.X;
//genreg = dagreg ; /* (a) */
R0 = I0;
R1 = I1;
R2 = I2;
R3 = I3;
R4 = M0;
R5 = M1;
R6 = M2;
R7 = M3;
R0 = B0;
R1 = B1;
R2 = B2;
R3 = B3;
R4 = L0;
R5 = L1;
R6 = L2;
R7 = L3;
P0 = I0;
P1 = I1;
P2 = I2;
P3 = I3;
P4 = M0;
P5 = M1;
SP = M2;
FP = M3;
P0 = B0;
P1 = B1;
P2 = B2;
P3 = B3;
P4 = L0;
P5 = L1;
SP = L2;
FP = L3;
A0.X = I0;
A0.W = I1;
A1.X = I2;
A1.W = I3;
A0.X = M0;
A0.W = M1;
A1.X = M2;
A1.W = M3;
A0.X = B0;
A0.W = B1;
A1.X = B2;
A1.W = B3;
A0.X = L0;
A0.W = L1;
A1.X = L2;
A1.W = L3;
//dagreg = genreg ; /* (a) */
I0 = R0;
I1 = P0;
I2 = SP;
I3 = FP;
I0 = A0.X;
I1 = A0.W;
I2 = A1.X;
I3 = A1.W;
M0 = R0;
M1 = P0;
M2 = SP;
M3 = FP;
M0 = A0.X;
M1 = A0.W;
M2 = A1.X;
M3 = A1.W;
B0 = R0;
B1 = P0;
B2 = SP;
B3 = FP;
B0 = A0.X;
B1 = A0.W;
B2 = A1.X;
B3 = A1.W;
L0 = R0;
L1 = P0;
L2 = SP;
L3 = FP;
L0 = A0.X;
L1 = A0.W;
L2 = A1.X;
L3 = A1.W;
//dagreg = dagreg ; /* (a) */
I0 = I1;
I1 = M0;
I2 = B1;
I3 = L0;
M0 = I1;
M1 = M0;
M2 = B1;
M3 = L0;
B0 = I1;
B1 = M0;
B2 = B1;
B3 = L0;
L0 = I1;
L1 = M0;
L2 = B1;
L3 = L0;
//genreg = USP ; /* (a)*/
R1 = USP;
P2 = USP;
SP = USP;
FP = USP;
A0.X = USP;
A1.W = USP;
//USP = genreg ; /* (a)*/
USP = R2;
USP = P4;
USP = SP;
USP = FP;
USP = A0.X;
USP = A1.W;
//Dreg = sysreg ; /* sysreg to 32-bit D-register (a) */
R0 = ASTAT;
R1 = SEQSTAT;
R2 = SYSCFG;
R3 = RETI;
R4 = RETX;
R5 = RETN;
R6 = RETE;
R7 = RETS;
R0 = LC0;
R1 = LC1;
R2 = LT0;
R3 = LT1;
R4 = LB0;
R5 = LB1;
R6 = CYCLES;
R7 = CYCLES2;
//R0 = EMUDAT;
//sysreg = Dreg ; /* 32-bit D-register to sysreg (a) */
ASTAT = R0;
SEQSTAT = R1;
SYSCFG = R3;
RETI = R4;
RETX =R5;
RETN = R6;
RETE = R7;
RETS = R0;
LC0 = R1;
LC1 = R2;
LT0 = R3;
LT1 = R4;
LB0 = R5;
LB1 = R6;
CYCLES = R7;
CYCLES2 = R0;
//EMUDAT = R1;
//sysreg = Preg ; /* 32-bit P-register to sysreg (a) */
ASTAT = P0;
SEQSTAT = P1;
SYSCFG = P3;
RETI = P4;
RETX =P5;
RETN = SP;
RETE = FP;
RETS = P0;
LC0 = P1;
LC1 = P2;
LT0 = P3;
LT1 = P4;
LB0 = P5;
LB1 = SP;
CYCLES = SP;
CYCLES2 = P0;
//EMUDAT = P1;
//sysreg = USP ; /* (a) */
//ASTAT = USP;
//SEQSTAT = USP;
//SYSCFG = USP;
//RETI = USP;
//RETX =USP;
//RETN = USP;
//RETE = USP;
//RETS = USP;
//LC0 = USP;
//LC1 = USP;
//LT0 = USP;
//LT1 = USP;
//LB0 = USP;
//LB1 = USP;
//CYCLES = USP;
//CYCLES2 = USP;
//EMUDAT = USP;
A0 = A1 ; /* move 40-bit Accumulator value (b) */
A1 = A0 ; /* move 40-bit Accumulator value (b) */
//A0 = Dreg ; /* 32-bit D-register to 40-bit A0, sign extended (b)*/
A0 = R0;
A0 = R1;
A0 = R2;
//A1 = Dreg ; /* 32-bit D-register to 40-bit A1, sign extended (b)*/
A1 = R0;
A1 = R1;
A1 = R2;
//Dreg_even = A0 (opt_mode) ; /* move 32-bit A0.W to even Dreg (b) */
R0 = A0;
R2 = A0(FU);
R4 = A0(ISS2);
//Dreg_odd = A1 (opt_mode) ; /* move 32-bit A1.W to odd Dreg (b) */
R1 = A1;
R3 = A1(FU);
R5 = A1(ISS2);
//Dreg_even = A0, Dreg_odd = A1 (opt_mode) ; /* move both Accumulators to a register pair (b) */
R0 = A0, R1 = A1;
R0 = A0, R1 = A1(FU);
R6 = A0, R7 = A1(ISS2);
//Dreg_odd = A1, Dreg_even = A0 (opt_mode) ; /* move both Accumulators to a register pair (b) */
R1 = A1, R0 = A0;
R3 = A1, R2 = A0(FU);
R5 = A1, R4 = A0(ISS2);
//IF CC DPreg = DPreg ; /* move if CC = 1 (a) */
IF CC R3 = R0;
IF CC R2 = R0;
IF CC R7 = R0;
IF CC R2 = P2;
IF CC R4 = P1;
IF CC R0 = P0;
IF CC R7 = P4;
IF CC P0 = P2;
IF CC P4 = P5;
IF CC P1 = P3;
IF CC P5 = P4;
IF CC P0 = R2;
IF CC P4 = R3;
IF CC P5 = R7;
IF CC P2 = R6;
//IF ! CC DPreg = DPreg ; /* move if CC = 0 (a) */
IF !CC R3 = R0;
IF !CC R2 = R0;
IF !CC R7 = R0;
IF !CC R2 = P2;
IF !CC R4 = P1;
IF !CC R0 = P0;
IF !CC R7 = P4;
IF !CC P0 = P2;
IF !CC P4 = P5;
IF !CC P1 = P3;
IF !CC P5 = P4;
IF !CC P0 = R2;
IF !CC P4 = R3;
IF !CC P5 = R7;
IF !CC P2 = R6;
//Dreg = Dreg_lo (Z) ; /* (a) */
R0 = R0.L(Z);
R2 = R1.L(Z);
R1 = R2.L(Z);
R7 = R6.L(Z);
//Dreg = Dreg_lo (X) ; /* (a)*/
R0 = R0.L(X);
R2 = R1.L(X);
R1 = R2.L(X);
R7 = R6.L(X);
R0 = R0.L;
R2 = R1.L;
R1 = R2.L;
R7 = R6.L;
//A0.X = Dreg_lo ; /* least significant 8 bits of Dreg into A0.X (b) */
A0.X = R0.L;
A0.X = R1.L;
//A1.X = Dreg_lo ; /* least significant 8 bits of Dreg into A1.X (b) */
A1.X = R0.L;
A1.X = R1.L;
//Dreg_lo = A0.X ; /* 8-bit A0.X, sign-extended, into least significant 16 bits of Dreg (b) */
R0.L = A0.X;
R1.L = A0.X;
R7.L = A0.X;
//Dreg_lo = A1.X ; /* 8-bit A1.X, sign-extended, into least significant 16 bits of Dreg (b) */
R0.L = A1.X;
R1.L = A1.X;
R7.L = A1.X;
//A0.L = Dreg_lo ; /* least significant 16 bits of Dreg into least significant 16 bits of A0.W (b) */
A0.L = R0.L;
A0.L = R1.L;
A0.L = R6.L;
//A1.L = Dreg_lo ; /* least significant 16 bits of Dreg into least significant 16 bits of A1.W (b) */
A1.L = R0.L;
A1.L = R1.L;
A1.L = R6.L;
//A0.H = Dreg_hi ; /* most significant 16 bits of Dreg into most significant 16 bits of A0.W (b) */
A0.H = R0.H;
A0.H = R1.H;
A0.H = R6.H;
//A1.H = Dreg_hi ; /* most significant 16 bits of Dreg into most significant 16 bits of A1.W (b) */
A1.H = R0.H;
A1.H = R1.H;
A1.H = R6.H;
//Dreg_lo = A0 (opt_mode) ; /* move A0 to lower half of Dreg (b) */
R0.L = A0;
R1.L = A0;
R0.L = A0(FU);
R1.L = A0(FU);
R0.L = A0(IS);
R1.L = A0(IS);
R0.L = A0(IU);
R1.L = A0(IU);
R0.L = A0(T);
R1.L = A0(T);
R0.L = A0(S2RND);
R1.L = A0(S2RND);
R0.L = A0(ISS2);
R1.L = A0(ISS2);
R0.L = A0(IH);
R1.L = A0(IH);
//Dreg_hi = A1 (opt_mode) ; /* move A1 to upper half of Dreg (b) */
R0.H = A1;
R1.H = A1;
R0.H = A1(FU);
R1.H = A1(FU);
R0.H = A1(IS);
R1.H = A1(IS);
R0.H = A1(IU);
R1.H = A1(IU);
R0.H = A1(T);
R1.H = A1(T);
R0.H = A1(S2RND);
R1.H = A1(S2RND);
R0.H = A1(ISS2);
R1.H = A1(ISS2);
R0.H = A1(IH);
R1.H = A1(IH);
//Dreg_lo = A0, Dreg_hi = A1 (opt_mode) ; /* move both values at once; must go to the lower and upper halves of the same Dreg (b)*/
R0.L = A0, R0.H = A1;
R1.L = A0, R1.H = A1;
R0.L = A0, R0.H = A1(FU);
R1.L = A0, R1.H = A1(FU);
R0.L = A0, R0.H = A1(IS);
R1.L = A0, R1.H = A1(IS);
R0.L = A0, R0.H = A1(IU);
R1.L = A0, R1.H = A1(IU);
R0.L = A0, R0.H = A1(T);
R1.L = A0, R1.H = A1(T);
R0.L = A0, R0.H = A1(S2RND);
R1.L = A0, R1.H = A1(S2RND);
R0.L = A0, R0.H = A1(ISS2);
R1.L = A0, R1.H = A1(ISS2);
R0.L = A0, R0.H = A1(IH);
R1.L = A0, R1.H = A1(IH);
//Dreg_hi = A1, Dreg_lo = AO (opt_mode) ; /* move both values at once; must go to the upper and lower halves of the same Dreg (b) */
R0.H = A1,R0.L = A0;
R1.H = A1,R1.L = A0;
R0.H = A1,R0.L = A0 (FU);
R1.H = A1,R1.L = A0 (FU);
R0.H = A1,R0.L = A0 (IS);
R1.H = A1,R1.L = A0 (IS);
R0.H = A1,R0.L = A0 (IU);
R1.H = A1,R1.L = A0 (IU);
R0.H = A1,R0.L = A0 (T);
R1.H = A1,R1.L = A0 (T);
R0.H = A1,R0.L = A0 (S2RND);
R1.H = A1,R1.L = A0 (S2RND);
R0.H = A1,R0.L = A0 (ISS2);
R1.H = A1,R1.L = A0 (ISS2);
R0.H = A1,R0.L = A0 (IH);
R1.H = A1,R1.L = A0 (IH);
//Dreg = Dreg_byte (Z) ; /* (a)*/
R0 = R1.B(Z);
R0 = R2.B(Z);
R7 = R1.B(Z);
R7 = R2.B(Z);
//Dreg = Dreg_byte (X) ; /* (a) */
R0 = R1.B(X);
R0 = R2.B(X);
R7 = R1.B(X);
R7 = R2.B(X);
|
stsp/binutils-ia16
| 21,012
|
gas/testsuite/gas/bfin/vector2.s
|
.EXTERN MY_LABEL2;
.section .text;
//
//14 VECTOR OPERATIONS
//
//Dreg_hi = Dreg_lo = SIGN ( Dreg_hi ) * Dreg_hi + SIGN ( Dreg_lo ) * Dreg_lo ; /* (b) */
r7.h=r7.l=sign(r2.h)*r3.h+sign(r2.l)*r3.l ;
r0.h=r0.l=sign(r1.h)*r2.h+sign(r1.l)*r2.l ;
r3.h=r3.l=sign(r4.h)*r5.h+sign(r4.l)*r5.l ;
r6.h=r6.l=sign(r7.h)*r0.h+sign(r7.l)*r0.l ;
r1.h=r1.l=sign(r2.h)*r3.h+sign(r2.l)*r3.l ;
r4.h=r4.l=sign(r5.h)*r6.h+sign(r5.l)*r6.l ;
r7.h=r7.l=sign(r0.h)*r1.h+sign(r0.l)*r1.l ;
r2.h=r2.l=sign(r3.h)*r4.h+sign(r3.l)*r4.l ;
//Dual 16-Bit Operation
//Dreg = VIT_MAX ( Dreg , Dreg ) (ASL) ; /* shift history bits left (b) */
//Dreg = VIT_MAX ( Dreg , Dreg ) (ASR) ; /* shift history bits right (b) */
//Single 16-Bit Operation
//Dreg_lo = VIT_MAX ( Dreg ) (ASL) ; /* shift history bits left (b) */
//Dreg_lo = VIT_MAX ( Dreg ) (ASR) ; /* shift history bits right (b) */
r5 = vit_max(r3, r2)(asl) ; /* shift left, dual operation */
r7 = vit_max (r1, r0) (asr) ; /* shift right, dual operation */
r0 = vit_max(r1, r2)(asl) ; /* shift left, dual operation */
r3 = vit_max (r4, r5) (asr) ; /* shift right, dual operation */
r6 = vit_max(r7, r0)(asl) ; /* shift left, dual operation */
r1 = vit_max (r2, r3) (asr) ; /* shift right, dual operation */
r4 = vit_max(r5, r6)(asl) ; /* shift left, dual operation */
r7 = vit_max (r0, r1) (asr) ; /* shift right, dual operation */
r2 = vit_max(r3, r4)(asl) ; /* shift left, dual operation */
r5 = vit_max (r6, r7) (asr) ; /* shift right, dual operation */
r3.l = vit_max (r1)(asl) ; /* shift left, single operation */
r3.l = vit_max (r1)(asr) ; /* shift right, single operation */
r0.l = vit_max (r1)(asl) ; /* shift left, single operation */
r2.l = vit_max (r3)(asr) ; /* shift right, single operation */
r4.l = vit_max (r5)(asl) ; /* shift left, single operation */
r6.l = vit_max (r7)(asr) ; /* shift right, single operation */
r1.l = vit_max (r2)(asl) ; /* shift left, single operation */
r3.l = vit_max (r4)(asr) ; /* shift right, single operation */
r5.l = vit_max (r6)(asl) ; /* shift left, single operation */
r7.l = vit_max (r0)(asr) ; /* shift right, single operation */
//Dreg = ABS Dreg (V) ; /* (b) */
r3 = abs r1 (v) ;
r0 = abs r0 (v) ;
r0 = abs r1 (v) ;
r2 = abs r3 (v) ;
r4 = abs r5 (v) ;
r6 = abs r7 (v) ;
r1 = abs r0 (v) ;
r3 = abs r2 (v) ;
r5 = abs r4 (v) ;
r7 = abs r6 (v) ;
//Dual 16-Bit Operations
//Dreg = Dreg +|+ Dreg (opt_mode_0) ; /* add | add (b) */
r5=r3 +|+ r4 ; /* dual 16-bit operations, add|add */
r0=r1 +|+ r2 ;
r3=r4 +|+ r5 ;
r6=r7 +|+ r0 ;
r1=r2 +|+ r3 ;
r4=r3 +|+ r5 ;
r6=r3 +|+ r7 ;
r0=r1 +|+ r2 (S);
r3=r4 +|+ r5 (S);
r6=r7 +|+ r0 (S);
r1=r2 +|+ r3 (S);
r4=r3 +|+ r5 (S);
r6=r3 +|+ r7 (S);
r0=r1 +|+ r2 (CO);
r3=r4 +|+ r5 (CO);
r6=r7 +|+ r0 (CO) ;
r1=r2 +|+ r3 (CO);
r4=r3 +|+ r5 (CO);
r6=r3 +|+ r7 (CO);
r0=r1 +|+ r2 (SCO);
r3=r4 +|+ r5 (SCO);
r6=r7 +|+ r0 (SCO);
r1=r2 +|+ r3 (SCO);
r4=r3 +|+ r5 (SCO);
r6=r3 +|+ r7 (SCO);
//Dreg = Dreg -|+ Dreg (opt_mode_0) ; /* subtract | add (b) */
r6=r0 -|+ r1(s) ; /* same as above, subtract|add with saturation */
r0=r1 -|+ r2 ;
r3=r4 -|+ r5 ;
r6=r7 -|+ r0 ;
r1=r2 -|+ r3 ;
r4=r3 -|+ r5 ;
r6=r3 -|+ r7 ;
r0=r1 -|+ r2 (S);
r3=r4 -|+ r5 (S);
r6=r7 -|+ r0 (S);
r1=r2 -|+ r3 (S);
r4=r3 -|+ r5 (S);
r6=r3 -|+ r7 (S);
r0=r1 -|+ r2 (CO);
r3=r4 -|+ r5 (CO);
r6=r7 -|+ r0 (CO) ;
r1=r2 -|+ r3 (CO);
r4=r3 -|+ r5 (CO);
r6=r3 -|+ r7 (CO);
r0=r1 -|+ r2 (SCO);
r3=r4 -|+ r5 (SCO);
r6=r7 -|+ r0 (SCO);
r1=r2 -|+ r3 (SCO);
r4=r3 -|+ r5 (SCO);
r6=r3 -|+ r7 (SCO);
//Dreg = Dreg +|- Dreg (opt_mode_0) ; /* add | subtract (b) */
r0=r2 +|- r1(co) ; /* add|subtract with half-word results crossed over in the destination register */
r0=r1 +|- r2 ;
r3=r4 +|- r5 ;
r6=r7 +|- r0 ;
r1=r2 +|- r3 ;
r4=r3 +|- r5 ;
r6=r3 +|- r7 ;
r0=r1 +|- r2 (S);
r3=r4 +|- r5 (S);
r6=r7 +|- r0 (S);
r1=r2 +|- r3 (S);
r4=r3 +|- r5 (S);
r6=r3 +|- r7 (S);
r0=r1 +|- r2 (CO);
r3=r4 +|- r5 (CO);
r6=r7 +|- r0 (CO) ;
r1=r2 +|- r3 (CO);
r4=r3 +|- r5 (CO);
r6=r3 +|- r7 (CO);
r0=r1 +|- r2 (SCO);
r3=r4 +|- r5 (SCO);
r6=r7 +|- r0 (SCO);
r1=r2 +|- r3 (SCO);
r4=r3 +|- r5 (SCO);
r6=r3 +|- r7 (SCO);
//Dreg = Dreg -|- Dreg (opt_mode_0) ; /* subtract | subtract (b) */
r7=r3 -|- r6(sco) ; /* subtract|subtract with saturation and half-word results crossed over in the destination register */
r0=r1 -|- r2 ;
r3=r4 -|- r5 ;
r6=r7 -|- r0 ;
r1=r2 -|- r3 ;
r4=r3 -|- r5 ;
r6=r3 -|- r7 ;
r0=r1 -|- r2 (S);
r3=r4 -|- r5 (S);
r6=r7 -|- r0 (S);
r1=r2 -|- r3 (S);
r4=r3 -|- r5 (S);
r6=r3 -|- r7 (S);
r0=r1 -|- r2 (CO);
r3=r4 -|- r5 (CO);
r6=r7 -|- r0 (CO) ;
r1=r2 -|- r3 (CO);
r4=r3 -|- r5 (CO);
r6=r3 -|- r7 (CO);
r0=r1 -|- r2 (SCO);
r3=r4 -|- r5 (SCO);
r6=r7 -|- r0 (SCO);
r1=r2 -|- r3 (SCO);
r4=r3 -|- r5 (SCO);
r6=r3 -|- r7 (SCO);
//Quad 16-Bit Operations
//Dreg = Dreg +|+ Dreg, Dreg = Dreg -|- Dreg (opt_mode_0,opt_mode_2) ; /* add | add, subtract | subtract; the set of source registers must be the same for each operation (b) */
r5=r3 +|+ r4, r7=r3-|-r4 ; /* quad 16-bit operations, add|add, subtract|subtract */
r0=r1 +|+ r2, r7=r1 -|- r2;
r3=r4 +|+ r5, r6=r4 -|- r5;
r6=r7 +|+ r0, r5=r7 -|- r0;
r1=r2 +|+ r3, r4=r2 -|- r3;
r4=r3 +|+ r5, r3=r3 -|- r5;
r6=r3 +|+ r7, r2=r3 -|- r7;
r0=r1 +|+ r2, r7=r1 -|- r2(S);
r3=r4 +|+ r5, r6=r4 -|- r5(S);
r6=r7 +|+ r0, r5=r7 -|- r0(S);
r1=r2 +|+ r3, r4=r2 -|- r3(S);
r4=r3 +|+ r5, r3=r3 -|- r5(S);
r6=r3 +|+ r7, r2=r3 -|- r7(S);
r0=r1 +|+ r2, r7=r1 -|- r2(CO);
r3=r4 +|+ r5, r6=r4 -|- r5(CO);
r6=r7 +|+ r0, r5=r7 -|- r0(CO);
r1=r2 +|+ r3, r4=r2 -|- r3(CO);
r4=r3 +|+ r5, r3=r3 -|- r5(CO);
r6=r3 +|+ r7, r2=r3 -|- r7(CO);
r0=r1 +|+ r2, r7=r1 -|- r2(SCO);
r3=r4 +|+ r5, r6=r4 -|- r5(SCO);
r6=r7 +|+ r0, r5=r7 -|- r0(SCO);
r1=r2 +|+ r3, r4=r2 -|- r3(SCO);
r4=r3 +|+ r5, r3=r3 -|- r5(SCO);
r6=r3 +|+ r7, r2=r3 -|- r7(SCO);
r0=r1 +|+ r2, r7=r1 -|- r2(ASR);
r3=r4 +|+ r5, r6=r4 -|- r5(ASR);
r6=r7 +|+ r0, r5=r7 -|- r0(ASR);
r1=r2 +|+ r3, r4=r2 -|- r3(ASR);
r4=r3 +|+ r5, r3=r3 -|- r5(ASR);
r6=r3 +|+ r7, r2=r3 -|- r7(ASR);
r0=r1 +|+ r2, r7=r1 -|- r2(ASL);
r3=r4 +|+ r5, r6=r4 -|- r5(ASL);
r6=r7 +|+ r0, r5=r7 -|- r0(ASL);
r1=r2 +|+ r3, r4=r2 -|- r3(ASL);
r4=r3 +|+ r5, r3=r3 -|- r5(ASL);
r6=r3 +|+ r7, r2=r3 -|- r7(ASL);
r0=r1 +|+ r2, r7=r1 -|- r2(S,ASR);
r3=r4 +|+ r5, r6=r4 -|- r5(S,ASR);
r6=r7 +|+ r0, r5=r7 -|- r0(S,ASR);
r1=r2 +|+ r3, r4=r2 -|- r3(S,ASR);
r4=r3 +|+ r5, r3=r3 -|- r5(S,ASR);
r6=r3 +|+ r7, r2=r3 -|- r7(S,ASR);
r0=r1 +|+ r2, r7=r1 -|- r2(CO,ASR);
r3=r4 +|+ r5, r6=r4 -|- r5(CO,ASR);
r6=r7 +|+ r0, r5=r7 -|- r0(CO,ASR);
r1=r2 +|+ r3, r4=r2 -|- r3(CO,ASR);
r4=r3 +|+ r5, r3=r3 -|- r5(CO,ASR);
r6=r3 +|+ r7, r2=r3 -|- r7(CO,ASR);
r0=r1 +|+ r2, r7=r1 -|- r2(SCO,ASR);
r3=r4 +|+ r5, r6=r4 -|- r5(SCO,ASR);
r6=r7 +|+ r0, r5=r7 -|- r0(SCO,ASR);
r1=r2 +|+ r3, r4=r2 -|- r3(SCO,ASR);
r4=r3 +|+ r5, r3=r3 -|- r5(SCO,ASR);
r6=r3 +|+ r7, r2=r3 -|- r7(SCO,ASR);
r0=r1 +|+ r2, r7=r1 -|- r2(S,ASL);
r3=r4 +|+ r5, r6=r4 -|- r5(S,ASL);
r6=r7 +|+ r0, r5=r7 -|- r0(S,ASL);
r1=r2 +|+ r3, r4=r2 -|- r3(S,ASL);
r4=r3 +|+ r5, r3=r3 -|- r5(S,ASL);
r6=r3 +|+ r7, r2=r3 -|- r7(S,ASL);
r0=r1 +|+ r2, r7=r1 -|- r2(CO,ASL);
r3=r4 +|+ r5, r6=r4 -|- r5(CO,ASL);
r6=r7 +|+ r0, r5=r7 -|- r0(CO,ASL);
r1=r2 +|+ r3, r4=r2 -|- r3(CO,ASL);
r4=r3 +|+ r5, r3=r3 -|- r5(CO,ASL);
r6=r3 +|+ r7, r2=r3 -|- r7(CO,ASL);
r0=r1 +|+ r2, r7=r1 -|- r2(SCO,ASL);
r3=r4 +|+ r5, r6=r4 -|- r5(SCO,ASL);
r6=r7 +|+ r0, r5=r7 -|- r0(SCO,ASL);
r1=r2 +|+ r3, r4=r2 -|- r3(SCO,ASL);
r4=r3 +|+ r5, r3=r3 -|- r5(SCO,ASL);
r6=r3 +|+ r7, r2=r3 -|- r7(SCO,ASL);
//Dreg = Dreg +|- Dreg, Dreg = Dreg -|+ Dreg (opt_mode_0,opt_mode_2) ; /* add | subtract, subtract | add; the set of source registers must be the same for each operation (b) */
r5=r3 +|- r4, r7=r3 -|+ r4 ; /* quad 16-bit operations, add|subtract, subtract|add */
r0=r1 +|- r2, r7=r1 -|+ r2;
r3=r4 +|- r5, r6=r4 -|+ r5;
r6=r7 +|- r0, r5=r7 -|+ r0;
r1=r2 +|- r3, r4=r2 -|+ r3;
r4=r3 +|- r5, r3=r3 -|+ r5;
r6=r3 +|- r7, r2=r3 -|+ r7;
r0=r1 +|- r2, r7=r1 -|+ r2(S);
r3=r4 +|- r5, r6=r4 -|+ r5(S);
r6=r7 +|- r0, r5=r7 -|+ r0(S);
r1=r2 +|- r3, r4=r2 -|+ r3(S);
r4=r3 +|- r5, r3=r3 -|+ r5(S);
r6=r3 +|- r7, r2=r3 -|+ r7(S);
r0=r1 +|- r2, r7=r1 -|+ r2(CO);
r3=r4 +|- r5, r6=r4 -|+ r5(CO);
r6=r7 +|- r0, r5=r7 -|+ r0(CO);
r1=r2 +|- r3, r4=r2 -|+ r3(CO);
r4=r3 +|- r5, r3=r3 -|+ r5(CO);
r6=r3 +|- r7, r2=r3 -|+ r7(CO);
r0=r1 +|- r2, r7=r1 -|+ r2(SCO);
r3=r4 +|- r5, r6=r4 -|+ r5(SCO);
r6=r7 +|- r0, r5=r7 -|+ r0(SCO);
r1=r2 +|- r3, r4=r2 -|+ r3(SCO);
r4=r3 +|- r5, r3=r3 -|+ r5(SCO);
r6=r3 +|- r7, r2=r3 -|+ r7(SCO);
r0=r1 +|- r2, r7=r1 -|+ r2(ASR);
r3=r4 +|- r5, r6=r4 -|+ r5(ASR);
r6=r7 +|- r0, r5=r7 -|+ r0(ASR);
r1=r2 +|- r3, r4=r2 -|+ r3(ASR);
r4=r3 +|- r5, r3=r3 -|+ r5(ASR);
r6=r3 +|- r7, r2=r3 -|+ r7(ASR);
r0=r1 +|- r2, r7=r1 -|+ r2(ASL);
r3=r4 +|- r5, r6=r4 -|+ r5(ASL);
r6=r7 +|- r0, r5=r7 -|+ r0(ASL);
r1=r2 +|- r3, r4=r2 -|+ r3(ASL);
r4=r3 +|- r5, r3=r3 -|+ r5(ASL);
r6=r3 +|- r7, r2=r3 -|+ r7(ASL);
r0=r1 +|- r2, r7=r1 -|+ r2(S,ASR);
r3=r4 +|- r5, r6=r4 -|+ r5(S,ASR);
r6=r7 +|- r0, r5=r7 -|+ r0(S,ASR);
r1=r2 +|- r3, r4=r2 -|+ r3(S,ASR);
r4=r3 +|- r5, r3=r3 -|+ r5(S,ASR);
r6=r3 +|- r7, r2=r3 -|+ r7(S,ASR);
r0=r1 +|- r2, r7=r1 -|+ r2(CO,ASR);
r3=r4 +|- r5, r6=r4 -|+ r5(CO,ASR);
r6=r7 +|- r0, r5=r7 -|+ r0(CO,ASR);
r1=r2 +|- r3, r4=r2 -|+ r3(CO,ASR);
r4=r3 +|- r5, r3=r3 -|+ r5(CO,ASR);
r6=r3 +|- r7, r2=r3 -|+ r7(CO,ASR);
r0=r1 +|- r2, r7=r1 -|+ r2(SCO,ASR);
r3=r4 +|- r5, r6=r4 -|+ r5(SCO,ASR);
r6=r7 +|- r0, r5=r7 -|+ r0(SCO,ASR);
r1=r2 +|- r3, r4=r2 -|+ r3(SCO,ASR);
r4=r3 +|- r5, r3=r3 -|+ r5(SCO,ASR);
r6=r3 +|- r7, r2=r3 -|+ r7(SCO,ASR);
r0=r1 +|- r2, r7=r1 -|+ r2(S,ASL);
r3=r4 +|- r5, r6=r4 -|+ r5(S,ASL);
r6=r7 +|- r0, r5=r7 -|+ r0(S,ASL);
r1=r2 +|- r3, r4=r2 -|+ r3(S,ASL);
r4=r3 +|- r5, r3=r3 -|+ r5(S,ASL);
r6=r3 +|- r7, r2=r3 -|+ r7(S,ASL);
r0=r1 +|- r2, r7=r1 -|+ r2(CO,ASL);
r3=r4 +|- r5, r6=r4 -|+ r5(CO,ASL);
r6=r7 +|- r0, r5=r7 -|+ r0(CO,ASL);
r1=r2 +|- r3, r4=r2 -|+ r3(CO,ASL);
r4=r3 +|- r5, r3=r3 -|+ r5(CO,ASL);
r6=r3 +|- r7, r2=r3 -|+ r7(CO,ASL);
r0=r1 +|- r2, r7=r1 -|+ r2(SCO,ASL);
r3=r4 +|- r5, r6=r4 -|+ r5(SCO,ASL);
r6=r7 +|- r0, r5=r7 -|+ r0(SCO,ASL);
r1=r2 +|- r3, r4=r2 -|+ r3(SCO,ASL);
r4=r3 +|- r5, r3=r3 -|+ r5(SCO,ASL);
r6=r3 +|- r7, r2=r3 -|+ r7(SCO,ASL);
//Dual 32-Bit Operations
//Dreg = Dreg + Dreg, Dreg = Dreg - Dreg (opt_mode_1) ; /* add, subtract; the set of source registers must be the same for each operation (b) */
r2=r0+r1, r3=r0-r1 ; /* 32-bit operations */
r7=r0+r1, r0=r0-r1 ; /* 32-bit operations */
r6=r1+r2, r1=r1-r2 ; /* 32-bit operations */
r5=r2+r3, r2=r2-r3 ; /* 32-bit operations */
r4=r3+r4, r3=r3-r4 ; /* 32-bit operations */
r3=r4+r5, r4=r4-r5 ; /* 32-bit operations */
r2=r5+r6, r5=r5-r6 ; /* 32-bit operations */
r1=r6+r7, r6=r6-r7 ; /* 32-bit operations */
r0=r7+r0, r7=r7-r0 ; /* 32-bit operations */
r2=r0+r1, r3=r0-r1(s) ; /* dual 32-bit operations with saturation */
r7=r0+r1, r0=r0-r1 (s); /* 32-bit operations */
r6=r1+r2, r1=r1-r2 (s); /* 32-bit operations */
r5=r2+r3, r2=r2-r3 (s); /* 32-bit operations */
r4=r3+r4, r3=r3-r4(s) ; /* 32-bit operations */
r3=r4+r5, r4=r4-r5 (s); /* 32-bit operations */
r2=r5+r6, r5=r5-r6 (s); /* 32-bit operations */
r1=r6+r7, r6=r6-r7 (s); /* 32-bit operations */
r0=r7+r0, r7=r7-r0 (s); /* 32-bit operations */
//Dual 40-Bit Accumulator Operations
//Dreg = A1 + A0, Dreg = A1 - A0 (opt_mode_1) ; /* add, subtract Accumulators; subtract A0 from A1 (b) */
r0=a1+a0, r1=a1-a0 ;
r2=a1+a0, r3=a1-a0 ;
r4=a1+a0, r5=a1-a0 ;
r6=a1+a0, r7=a1-a0 ;
r1=a1+a0, r0=a1-a0 ;
r3=a1+a0, r2=a1-a0 ;
r5=a1+a0, r4=a1-a0 ;
r0=a1+a0, r1=a1-a0 (s);
r2=a1+a0, r3=a1-a0 (s);
r4=a1+a0, r5=a1-a0 (s);
r6=a1+a0, r7=a1-a0 (s);
r1=a1+a0, r0=a1-a0 (s);
r3=a1+a0, r2=a1-a0 (s);
r5=a1+a0, r4=a1-a0 (s);
//Dreg = A0 + A1, Dreg = A0 - A1 (opt_mode_1) ; /* add, subtract Accumulators; subtract A1 from A0 (b) */
r4=a0+a1, r6=a0-a1(s);
r0=a0+a1, r1=a0-a1 ;
r2=a0+a1, r3=a0-a1 ;
r4=a0+a1, r5=a0-a1 ;
r6=a0+a1, r7=a0-a1 ;
r1=a0+a1, r0=a0-a1 ;
r3=a0+a1, r2=a0-a1 ;
r5=a0+a1, r4=a0-a1 ;
r0=a0+a1, r1=a0-a1 (s);
r2=a0+a1, r3=a0-a1 (s);
r4=a0+a1, r5=a0-a1 (s);
r6=a0+a1, r7=a0-a1 (s);
r1=a0+a1, r0=a0-a1 (s);
r3=a0+a1, r2=a0-a1 (s);
r5=a0+a1, r4=a0-a1 (s);
//Constant Shift Magnitude
//Dreg = Dreg >>> uimm4 (V) ; /* arithmetic shift right, immediate (b) */
R0 = R0 >>> 5(V);
R0 = R1 >>> 5(V);
R2 = R3 >>> 5(V);
R4 = R5 >>> 5(V);
R6 = R7 >>> 5(V);
R1 = R0 >>> 5(V);
R3 = R2 >>> 5(V);
R5 = R4 >>> 5(V);
R7 = R6 >>> 5(V);
//Dreg = Dreg << uimm4 (V,S) ; /* arithmetic shift left, immediate with saturation (b) */
R0 = R1 << 5(V,S);
R2 = R3 << 5(V,S);
R4 = R5 << 5(V,S);
R6 = R7 << 5(V,S);
R1 = R0 << 5(V,S);
R3 = R2 << 5(V,S);
R5 = R4 << 5(V,S);
R7 = R6 << 5(V,S);
//Registered Shift Magnitude
//Dreg = ASHIFT Dreg BY Dreg_lo (V) ; /* arithmetic shift (b) */
r2=ashift r7 by r5.l (v) ;
R0 = ASHIFT R1 BY R2.L (V);
R3 = ASHIFT R4 BY R5.L (V);
R6 = ASHIFT R7 BY R0.L (V);
R1 = ASHIFT R2 BY R3.L (V);
R4 = ASHIFT R5 BY R6.L (V);
R7 = ASHIFT R0 BY R1.L (V);
R2 = ASHIFT R3 BY R4.L (V);
R5 = ASHIFT R6 BY R7.L (V);
//Dreg = ASHIFT Dreg BY Dreg_lo (V, S) ; /* arithmetic shift with saturation (b) */
R0 = ASHIFT R1 BY R2.L (V,S);
R3 = ASHIFT R4 BY R5.L (V,S);
R6 = ASHIFT R7 BY R0.L (V,S);
R1 = ASHIFT R2 BY R3.L (V,S);
R4 = ASHIFT R5 BY R6.L (V,S);
R7 = ASHIFT R0 BY R1.L (V,S);
R2 = ASHIFT R3 BY R4.L (V,S);
R5 = ASHIFT R6 BY R7.L (V,S);
//Constant Shift Magnitude
//Dreg = Dreg >> uimm4 (V) ; /* logical shift right, immediate (b) */
R0 = R1 >> 5(V);
R2 = R3 >> 5(V);
R4 = R5 >> 5(V);
R6 = R7 >> 5(V);
R1 = R0 >> 5(V);
R3 = R2 >> 5(V);
R5 = R4 >> 5(V);
R7 = R6 >> 5(V);
//Dreg = Dreg << uimm4 (V) ; /* logical shift left, immediate (b) */
R0 = R1 << 5(V);
R2 = R3 << 5(V);
R4 = R5 << 5(V);
R6 = R7 << 5(V);
R1 = R0 << 5(V);
R3 = R2 << 5(V);
R5 = R4 << 5(V);
R7 = R6 << 5(V);
//Registered Shift Magnitude
//Dreg = LSHIFT Dreg BY Dreg_lo (V) ; /* logical shift (b) */
R0 = LSHIFT R1 BY R2.L (V);
R3 = LSHIFT R4 BY R5.L (V);
R6 = LSHIFT R7 BY R0.L (V);
R1 = LSHIFT R2 BY R3.L (V);
R4 = LSHIFT R5 BY R6.L (V);
R7 = LSHIFT R0 BY R1.L (V);
R2 = LSHIFT R3 BY R4.L (V);
R5 = LSHIFT R6 BY R7.L (V);
//Dreg = MAX ( Dreg , Dreg ) (V) ; /* dual 16-bit operations (b) */
r7 = max (r1, r0) (v) ;
R0 = MAX (R1, R2) (V);
R3 = MAX (R4, R5) (V);
R6 = MAX (R7, R0) (V);
R1 = MAX (R2, R3) (V);
R4 = MAX (R5, R6) (V);
R7 = MAX (R0, R1) (V);
R2 = MAX (R3, R4) (V);
R5 = MAX (R6, R7) (V);
//Dreg = MIN ( Dreg , Dreg ) (V) ; /* dual 16-bit operation (b) */
R0 = MIN (R1, R2) (V);
R3 = MIN (R4, R5) (V);
R6 = MIN (R7, R0) (V);
R1 = MIN (R2, R3) (V);
R4 = MIN (R5, R6) (V);
R7 = MIN (R0, R1) (V);
R2 = MIN (R3, R4) (V);
R5 = MIN (R6, R7) (V);
r2.h=r7.l*r6.h, r2.l=r7.h*r6.h ;
/* simultaneous MAC0 and MAC1 execution, 16-bit results. Both
results are signed fractions. */
r4.l=r1.l*r0.l, r4.h=r1.h*r0.h ;
/* same as above. MAC order is arbitrary. */
r0.h=r3.h*r2.l (m), r0.l=r3.l*r2.l ;
a1=r2.l*r3.h, a0=r2.h*r3.h ;
/* both multiply signed fractions into separate Accumulators */
a0=r1.l*r0.l, a1+=r1.h*r0.h ;
/* same as above, but sum result into A1. MAC order is arbitrary.
*/
a1+=r3.h*r3.l, a0-=r3.h*r3.h ;
/* sum product into A1, subtract product from A0 */
a1=r3.h*r2.l (m), a0+=r3.l*r2.l ;
/* MAC1 multiplies a signed fraction in r3.h by an unsigned fraction
in r2.l. MAC0 multiplies two signed fractions. */
a1=r7.h*r4.h (m), a0+=r7.l*r4.l (fu) ;
/* MAC1 multiplies signed fraction by unsigned fraction. MAC0
multiplies and accumulates two unsigned fractions. */
a1+=r3.h*r2.h, a0=r3.l*r2.l (is) ;
/* both MACs perform signed integer multiplication */
a1=r6.h*r7.h, a0+=r6.l*r7.l (w32) ;
/* both MACs multiply signed fractions, sign extended, and saturate
both Accumulators at bit 31 */
r2.h=(a1=r7.l*r6.h), r2.l=(a0=r7.h*r6.h) ; /* simultaneous MAC0
and MAC1 execution, both are signed fractions, both products load
into the Accumulators,MAC1 into half-word registers. */
r4.l=(a0=r1.l*r0.l), r4.h=(a1+=r1.h*r0.h) ; /* same as above,
but sum result into A1. ; MAC order is arbitrary. */
r7.h=(a1+=r6.h*r5.l), r7.l=(a0=r6.h*r5.h) ; /* sum into A1,
subtract into A0 */
r0.h=(a1=r7.h*r4.l) (m), r0.l=(a0+=r7.l*r4.l) ; /* MAC1 multiplies
a signed fraction by an unsigned fraction. MAC0 multiplies
two signed fractions. */
r5.h=(a1=r3.h*r2.h) (m), r5.l=(a0+=r3.l*r2.l) (fu) ; /* MAC1
multiplies signed fraction by unsigned fraction. MAC0 multiplies
two unsigned fractions. */
r0.h=(a1+=r3.h*r2.h), r0.l=(a0=r3.l*r2.l) (is) ; /* both MACs
perform signed integer multiplication. */
r5.h=(a1=r2.h*r1.h), a0+=r2.l*r1.l ; /* both MACs multiply
signed fractions. MAC0 does not copy the accum result. */
r3.h=(a1=r2.h*r1.h) (m), a0=r2.l*r1.l ; /* MAC1 multiplies
signed fraction by unsigned fraction and uses all 40 bits of A1.
MAC0 multiplies two signed fractions. */
r3.h=a1, r3.l=(a0+=r0.l*r1.l) (s2rnd) ; /* MAC1 copies Accumulator
to register half. MAC0 multiplies signed fractions. Both
scale the result and round on the way to the destination register.
*/
r0.l=(a0+=r7.l*r6.l), r0.h=(a1+=r7.h*r6.h) (iss2) ; /* both
MACs process signed integer the way to the destination half-registers.
*/
r3=(a1=r6.h*r7.h), r2=(a0=r6.l*r7.l) ; /* simultaneous MAC0 and
MAC1 execution, both are signed fractions, both products load
into the Accumulators */
r4=(a0=r6.l*r7.l), r5=(a1+=r6.h*r7.h) ; /* same as above, but
sum result into A1. MAC order is arbitrary. */
r7=(a1+=r3.h*r5.h), r6=(a0-=r3.l*r5.l) ; /* sum into A1, subtract
into A0 */
r1=(a1=r7.l*r4.l) (m), r0=(a0+=r7.h*r4.h) ; /* MAC1 multiplies
a signed fraction by an unsigned fraction. MAC0 multiplies two
signed fractions. */
r5=(a1=r3.h*r7.h) (m), r4=(a0+=r3.l*r7.l) (fu) ; /* MAC1 multiplies
signed fraction by unsigned fraction. MAC0 multiplies two
unsigned fractions. */
r1=(a1+=r3.h*r2.h), r0=(a0=r3.l*r2.l) (is) ; /* both MACs perform
signed integer multiplication */
r5=(a1-=r6.h*r7.h), a0+=r6.l*r7.l ; /* both MACs multiply
signed fractions. MAC0 does not copy the accum result */
r3=(a1=r6.h*r7.h) (m), a0-=r6.l*r7.l ; /* MAC1 multiplies
signed fraction by unsigned fraction and uses all 40 bits of A1.
MAC0 multiplies two signed fractions. */
r3=a1, r2=(a0+=r0.l*r1.l) (s2rnd) ; /* MAC1 moves Accumulator
to register. MAC0 multiplies signed fractions. Both scale the
result and round on the way to the destination register. */
r0=(a0+=r7.l*r6.l), r1=(a1+=r7.h*r6.h) (iss2) ; /* both MACs
process signed integer operands and scale the result on the way
to the destination registers. */
r5 =-r3 (v) ; /* R5.H becomes the negative of R3.H and R5.L
becomes the negative of R3.L If r3 = 0x0004 7FFF the result is r5
= 0xFFFC 8001 */
r3=pack(r4.l, r5.l) ; /* pack low / low half-words */
r1=pack(r6.l, r4.h) ; /* pack low / high half-words */
r0=pack(r2.h, r4.l) ; /* pack high / low half-words */
r5=pack(r7.h, r2.h) ; /* pack high / high half-words */
(r1,r0) = SEARCH R2 (LE) || R2=[P0++];
/* search for the last minimum in all but the
last element of the array */
(r1,r0) = SEARCH R2 (LE);
saa (r1:0, r3:2) || r0=[i0++] || r2=[i1++] ;
saa (r1:0, r3:2)(r) || r1=[i0++] || r3=[i1++] ;
mnop || r1 = [i0++] || r3 = [i1++] ;
r7.h=r7.l=sign(r2.h)*r3.h + sign(r2.l)*r3.l || i0+=m3 || r0=[i0]
;
/* Add/subtract two vector values while incrementing an Ireg and
loading a data register. */
R2 = R2 +|+ R4, R4 = R2 -|- R4 (ASR) || I0 += M0 (BREV) || R1 = [I0] ;
/* Multiply and accumulate to Accumulator while loading a data
register and storing a data register using an Ireg pointer. */
A1=R2.L*R1.L, A0=R2.H*R1.H || R2.H=W[I2++] || [I3++]=R3 ;
/* Multiply and accumulate while loading two data registers. One
load uses an Ireg pointer. */
A1+=R0.L*R2.H,A0+=R0.L*R2.L || R2.L=W[I2++] || R0=[I1--] ;
R3.H=(A1+=R0.L*R1.H), R3.L=(A0+=R0.L*R1.L) || R0=[P0++] || R1=[I0] ;
/* Pack two vector values while storing a data register using an
Ireg pointer and loading another data register. */
R1=PACK(R1.H,R0.H) || [I0++]=R0 || R2.L=W[I2++] ;
/* Multiply-Accumulate to a Data register while incrementing an
Ireg. */
r6=(a0+=r3.h*r2.h)(fu) || i2-=m0 ;
/* which the assembler expands into:
r6=(a0+=r3.h*r2.h)(fu) || i2-=m0 || nop ; */
/* Test for ensure (m) is not thown away. */
r0.l=r3.l*r2.l, r0.h=r3.h*r2.l (m) ;
R2 = R7.L * R0.L, R3 = R7.L * R0.H (m);
R2 = (A0 = R7.L * R0.L), R3 = ( A1 = R7.L * R0.H) (m);
/* Both scalar instructions must share the same mode option. */
R0.H = (A1 = R4.L * R3.L), A0 = R4.H * R3.L (T);
R0.H = (A1 = R4.L * R3.L) (M), A0 = R4.H * R3.L (T);
A0 = R4.H * R3.L, R0.H = (A1 = R4.L * R3.L) (T);
A0 = R4.H * R3.L, R0.H = (A1 = R4.L * R3.L) (T,M);
A1 += R7.H * R4.H, R0.L = (A0 = R7.L * R4.H) (T);
|
stsp/binutils-ia16
| 3,271
|
gas/testsuite/gas/bfin/vector.s
|
.text
.global add_on_sign
add_on_sign:
r4.h = r4.l = Sign (R1.h) * R5.h + Sign(r1.L) * R5.L;
.text
.global vit_max
vit_max:
R7 = Vit_Max (R5, r2) (ASL);
r0 = VIT_MAX (r0, r6) (asr);
r5.l = vit_max (R3) (asL);
r2.L = VIT_Max (r2) (Asr);
.text
.global vector_abs
vector_abs:
R5 = ABS R5 (V);
r2 = abs r0 (v);
.text
.global vector_add_sub
vector_add_sub:
R5 = r3 +|+ R2;
r5 = r3 +|+ r2 (Sco);
r7 = R0 -|+ r6;
r2 = R1 -|+ R3 (S);
R4 = R0 +|- R2;
R5 = r1 +|- r2 (CO);
r6 = r3 -|- R4;
r7 = R5 -|- R6 (co);
r5 = r4 +|+ r3, R7 = r4 -|- r3 (Sco, ASR);
R0 = R3 +|+ r6, R1 = R3 -|- R6 (ASL);
R7 = R1 +|- R2, R6 = R1 -|+ R2 (S);
r1 = r2 +|- r3, r5 = r2 -|+ r3;
R5 = R0 + R1, R6 = R0 - R1;
r0 = r7 + r1, r3 = r7 - r1 (s);
r7 = A1 + A0, r5 = A1 - A0;
r3 = a0 + a1, r6 = a0 - a1 (s);
.text
.global vector_ashift
vector_ashift:
R1 = R3 >>> 15 (V);
r4 = r0 >>> 4 (v);
r5 = r0 << 0 (v,s);
r2 = r2 << 12 (v, S);
R7 = ASHIFT R5 BY R2.L (V);
r0 = Ashift r2 by r0.L (v, s);
.text
.global vector_lshift
vector_lshift:
R5 = r2 >> 15 (V);
r0 = R1 << 2 (v);
R4 = lshift r1 by r2.L (v);
.text
.global vector_max
vector_max:
R6 = MAX (R0, R1) (V);
.text
.global vector_min
vector_min:
r0 = min (r2, r7) (v);
.text
.global vector_mul
vector_mul:
r2.h = r7.l * r6.h, r2.l = r7.h * r6.h;
R4.L = R1.L * R0.L, R4.H = R1.H * R0.H;
R0.h = R3.H * r2.l, r0.l=r3.l * r2.l;
r5.h = r3.h * r2.h (M), r5.l = r3.L * r2.L (fu);
R0 = r4.l * r7.l, r1 = r4.h * r7.h (s2rnd);
R7 = R2.l * r5.l, r6 = r2.h * r5.h;
R0.L = R7.L * R6.L, R0.H = R7.H * R6.H (ISS2);
r3.h = r0.h * r1.h, r3.l = r0.l * r1.l (is);
a1 = r2.l * r3.h, a0 = r2.h * R3.H;
A0 = R1.l * R0.L, A1 += R1.h * R0.h;
A1 = R5.h * R7.H, A0 += r5.L * r7.l (w32);
a1 += r0.H * r1.H, A0 = R0.L * R1.l (is);
a1 = r3.h * r4.h (m), a0 += r3.l * R4.L (FU);
A1 += r4.H * R4.L, a0 -= r4.h * r4.h;
r0.l = (a0 += R7.l * R6.L), R0.H = (A1 += R7.H * R6.H) (Iss2);
r2.H = A1, r2.l = (a0 += r0.L * r1.L) (s2rnd);
r7.h = (a1 = r2.h * r1.h), a0 += r2.l * r1.l;
R2.H = (A1 = R7.L * R6.H), R2.L = (A0 = R7.H * R6.h);
r6.L = (A0 = R3.L * r2.L), R6.H = (A1 += R3.H * R2.H);
R7.h = (a1 += r6.h * r5.l), r7.l = (a0=r6.h * r5.h);
r0.h = (A1 = r7.h * R4.l) (M), R0.l = (a0 += r7.l * r4.l);
R5.H = (a1 = r3.h * r2.h) (m), r5.l= (a0 += r3.l * r2.l) (fu);
r0.h = (A1 += R3.h * R2.h), R0.L = ( A0 = R3.L * R2.L) (is);
R3 = (A1 = R6.H * R7.H) (M), A0 -= R6.L * R7.L;
r1 = (a1 = r7.l * r4.l) (m), r0 = (a0 += r7.h * r4.h);
R0 = (a0 += r7.l * r6.l), r1 = (a1+= r7.h * r6.h) (ISS2);
r4 = (a0 = r6.l * r7.l), r5 = (a1 += r6.h * r7.h);
R7 = (A1 += r3.h * r5.H), R6 = (A0 -= r3.l * r5.l);
r5 = (a1 -= r6.h * r7.h), a0 += r6.l * r7.l;
R3 = (A1 = r6.h * R7.h), R2 = (A0 = R6.l * r7.l);
R5 = (A1 = r3.h * r7.h) (M), r4 = (A0 += R3.l * r7.l) (fu);
R3 = a1, r2 = (a0 += r0.l *r1.l) (s2rnd);
r1 = (a1 += r3.h * r2.h), r0 = (a0 = r3.l * r2.l) (is);
.text
.global vector_negate
vector_negate:
R0 = - R1 (V);
r7 = - r2 (v);
.text
.global vector_pack
vector_pack:
R7 = Pack (r0.h, r1.l);
r6 = PACK (r1.H, r6.H);
R5 = pack (R2.L, R2.H);
.text
.global vector_search
vector_search:
(R0, R1) = search R2 (lt);
(r6, r7) = Search r0 (LE);
(r3, r6) = SEARCH r1 (Gt);
(r4, R5) = sEARch r3 (gE);
|
stsp/binutils-ia16
| 2,311
|
gas/testsuite/gas/bfin/load.s
|
.extern f001
.extern F002
.text
.global load_immediate
load_immediate:
/* Half-Word Load. */
M3.l = 0xffff;
b2.l = 0xfffe;
Sp.l = 0;
FP.L = 0xfedc;
r0.h = 2;
p5.H = 32;
I2.h = 0xf204;
b1.H = 64;
l0.h = 0xffff;
R5.h = load_data1;
B2.H = F002;
/* Zero Extended. */
fp = 0xff20 (Z);
l2 = 32 (z);
R5 = foo2 (Z);
A0 = 0;
A1 = 0;
a1 = a0 = 0;
/* Sign Extended. */
r2 = -64 (x);
R0 = 0x7f (X);
P2 = 0 (x);
sp = -32 (x);
fp = 44 (X);
l3 = 0x800 (x);
m2 = 0x7fff (X);
R1 = 16 (X);
L0 = foo1;
r7 = load_data2;
/* Test constant folding. */
r0.l = (a + 5) - 2;
r1.l = (a + 5) + 10;
.text
.global load_pointer_register
load_pointer_register:
Sp = [ fp];
FP = [ p0++ ];
p1 = [sp--];
SP = [P2 +56];
p3 = [fp + 0];
P4 = [FP + 0x0001FFFC];
sp = [fp-0x0001fffc];
sp = [p4-0];
P5 = [FP-128];
.text
.global load_data_register
load_data_register:
R7 = [p0];
r6 = [p5++];
r5 = [P4 --];
R4 = [Fp + 40];
r3 = [sp+131068];
r2 = [sp-0];
r1 = [fp - 0x0001fffc];
R0 = [sp ++ p0];
R5 = [Fp-128];
r2 = [i0];
r1 = [I1++];
R3 = [I2--];
R4 = [i3 ++ M0];
.text
.global load_half_word_zero_extend
load_half_word_zero_extend:
r7 = w [sp] (z);
R6 = W [FP ++] (Z);
R5 = W [P0 --] (z);
R4 = w [p1 + 30] (Z);
r3 = w [sp + 0xfffc] (z);
r2 = w [fp - 0xfffc] (Z);
R0 = W [ P0 ++ P5] (z);
.text
.global load_half_word_sign_extend
load_half_word_sign_extend:
r7 = w [sp] (x);
R6 = W [FP ++] (X);
R5 = W [P0 --] (X);
r5 = w [p1 + 24] (x);
R3 = w [sp + 0xfffc] (X);
r7 = w [fp - 0xfffc] (x);
R1 = W [ P1 ++ P2] (X);
.text
.global load_high_data_register_half
load_high_data_register_half:
r0.h = w [i0];
R1.H = W [I1 ++];
R2.h = w [I2 --];
r3.H = W [sp];
R4.h = W [Fp ++ p0];
.text
.global load_low_data_register_half
load_low_data_register_half:
r7.l = w [i3];
R6.L = W [I2++];
R5.l = w [i1 --];
r4.L = w [P0];
r3.l = W [p2 ++ p3];
.text
.global load_byte_zero_extend
load_byte_zero_extend:
r5 = b [p0] (z);
R4 = B [P1++] (Z);
r0 = b [p2--] (z);
R3 = B [sp + 0x7fff] (Z);
r7 = b [SP - 32767] (z);
.text
.global load_byte_sign_extend
load_byte_sign_extend:
r5 = b [ P0 ] (X);
r2 = B [ p1++ ] (x);
R3 = b [ FP--] (x);
r7 = B [ sp+0] (x);
r6 = b [fp-0x7fff] (X);
.data
.global load_data
load_data1: .byte 0
load_data2: .word 16
|
stsp/binutils-ia16
| 6,412
|
gas/testsuite/gas/bfin/parallel.s
|
.section .text;
R5 = Deposit (r3, r2) || I0 += 2;
r0 = DEPOSIT (r7, R6) (X) || I1 += 4;
r4 = extract (r2, r1.L) (z) || I2 -= M0;
R2 = EXTRACT (r0, r2.l) (Z) || i3 += m1;
r7 = ExtracT (r3, r4.L) (X) || I3 += M1 (breV);
r5 = ExtRACt (R6, R1.L) (x) || i0 -= 2;
BITMUX(R1, R0, A0) (ASR) || I1 -= 4;
Bitmux (r2, R3, a0) (aSr) || I0 += 2;
bitmux (r4, r5, a0) (asl) || Sp = [P0];
BiTMux (R7, r6, a0) (ASl) || FP = [P1++];
R5.l = ones r0 || P0 = [fp--];
r7.L = Ones R2 || p1 = [P5 + 24];
a0 = abs a0 || p2 = [Sp+60] || r0 = [i0];
A0 = ABS A1 || P3 = [FP-60] || R1 = [I1++M0];
A1 = Abs a0 || P4 = [fp-4] || r2 = [i1++];
a1 = aBs A1 || fp = [sp] || r3 = [I2--];
A1 = abs a1, a0 = ABS A0 || R4=[p5+56] || r0.h = w [I0];
r0 = abs r2 || B[sp] = r0 || R1.H = W[I1++];
r4.L = R2.h + r0.L (s) || b [fp] = r0 || r2.H = w [i2--];
r5.H = R1.H + R1.L (S) || b [p0] = r0 || R3.l = W[I3];
r6.L = R6.L + r5.l (NS) || b [p1] = r0 || r4.L =w [i3++];
r4.l = r0 + r1 (RND20) || b [p2] = r0 || R5.l = W [i2--];
R3.H = r5 + r0 (rnd20) || r0 = b [p0] (x) || [i0] = R6;
r1.L = r7 - R5 (rND20) || r0 = b [p4] (z) || [I1++] = R7;
r2.L = R0 + R1 (rnd12) || r1 = b [sp] (x) || [I2--]= r7;
r7.H = r7 + r6 (RND12) || r1 = b [p0] (x)|| [I3++m1]=r6;
r5.l = r3 - R2 (rNd12) || r1 = b [p1] (z) || W [ i3 ] = r5.h;
r2.h = R1 - R2 (Rnd12) || r1 = b [p2] (z) || w [I2++] = R4.H;
r6.L = EXPADJ (r5, r4.l) || r1 = b [p3] (z) || W[I1--]=r3.h;
R5.l = ExpAdj (r0.h, r1.l) || r1 = b [p4] (z) || w[i0]=r2.l;
R4.L = expadj (R3, R5.L) (V) || r1 = b [p5] (z) || W [I0++] = R1.L;
R6 = MAX (r5, R2) || r2 = b [p0] (x) || W[i1--]=R0.l;
r0 = max (r1, r3) || b [p1] = r2 || NoP;
r5 = mIn (r2, R3) || b [p2] = r2 || r0 = [i1++];
R4 = Min (r7, R0) || b [p3] = r2 || r1 = [i1++];
A0 -= A1 || b [p4] = r2 || r2 = [i1++];
a0 -= a1 (w32) || b [p5] = r2 || r3 = [i1++];
a0 += a1 || b [sp] = r2 || r4 = [i1++];
A0 += A1 (w32) || b [fp] = r2 || r5 = [i1++];
r7 = ( a0 += a1) || b [sp] = r3 || r6 = [i1++];
r6.l = (A0 += a1) || b [fp] = r3 || r7 = [i1++];
R0.H = (a0 += A1) || b [p0] = r3 || r7 = [i0++];
R0.l = r1.h * r2.l || b [p1] = r3 || r1 = [i0++];
r1.L = r5.H * r0.H (s2rnd) || b [p2] = r3 || r2 = [i0++];
r7.l = r3.l * r3.H (FU) || b [p3] = r3 || r3 = [i0++];
r4 = r2.H * r5.H (iSS2) || b [p4] = r3 || r0 = [i0++];
r0 = r1.l * r3.l (is) || b [p5] = r3 || r5 = [i0++];
r6 = R5.H * r0.l || b [fp] = r4 || r7 = [i0++];
r2.h = r7.l * r6.H (M, iu) || b [sp] = r4 || r6 = [i0++];
r3.H = r5.H * r0.L || r4 = b [p0] (x) || [I0++M0] = R0;
R0.H = r1.L * r1.H (M) || r4 = b [p1] (x) || [i0++M0] = R1;
r1 = r7.H * r6.L (M, is) || r4 = b [p2] (x) || [i0++M0] = R2;
R5 = r0.l * r2.h || r4 = b [p3] (x) || [i0++m0] = R3;
r3 = r6.H * r0.H (m) || r4 = b [p4] (z) || [i0++m0] = R4;
a0 = r5.l * R7.H (w32) || r4 = b [p5] (z) || [i0++m0] = R5;
a0 = r0.h * r0.l || r5 = b [p0] (x) || [i0++M0] =R6;
A0 += R2.L * r3.H (FU) || r5 = b [p1] (z) || [i0++M0]=R7;
A0 += r4.h * r1.L || r5 = b [p2] (z) || [I1++M1] = R7;
a0 -= r7.l * r6.H (Is) || r5 = b [p3] (x) || [i1++m1] = r6;
A0 -= R5.H * r2.H || r5 = b [p4] (z) || [i1++m1]=r5;
a1 = r1.L * r0.H (M) || r5 = b [p5] (x) || [i1++m1]=r4;
A1 = r2.h * r0.L || r5 = b [sp] (z) || [i1++m1] = r3;
A1 = R7.H * R6.L (M, W32) || r5 = b [fp] (x) || [i1++m1] =r2;
a1 += r3.l * r2.l (fu) || r0.l = w [i0] || [i1++m1] = r1;
a1 += R6.H * r1.L || r1.l = w [i0] || [i1++m1] = R0;
A1 -= r0.L * R3.H (is) || r2.l = w [i0] || [i2++m2] = R0;
a1 -= r2.l * r7.h || r3.l = w [i0] || [I2++M2] =R1;
r7.l = (a0 = r6.H * r5.L) || r4.l = w [i0] || [i2++m2] = r2;
r0.L = (A0 = r1.h * R2.l) (tfu) || r5.l = w [i0] || [I2++m2] = R3;
R2.L = (a0 += r5.L * r4.L) || r6.l = w [i0] || [I2++m2] = R4;
r3.l = (A0 += r7.H * r6.h) (T) || r7.l = w [i0] || [ i2 ++ m2] = R5;
r0.l = (a0 -= r3.h * r2.h) || r7.l = w [i1++] || [i2++m2] = r6;
r1.l = (a0 -= r5.L * r4.L) (iH) || r6.l = w [i1++] || [i2++m2] = R7;
r1.H = (a1 = r1.l * R0.H) || r2.l = w [i1++] || [i3++m3] = R7;
r2.h = (A1 = r0.H * r3.L) (M, Iss2) || r3.l = w [i1++] || [i3++m3] = r6;
R6.H = (a1 += r7.l * r7.H) || r4.l = w [i1++] || [i3++m3] = R5;
r7.h = (a1 += R2.L * R3.L) (S2rnd) || r5.l = w [i1++] || [i3++m3] = r4;
r6.H = (A1 -= R4.h * r2.h) || r6.l = w [i1++] || [i3++m3] = r3;
r5.h = (a1 -= r3.H * r7.L) (M, tFu) || r7.l = w [i1++] || [i3++m3] = r2;
R0 = (A0 = R1.L * R2.L) || R1.L = W [I2--] || [i3++m3] = r1;
R2 = (A0 = r1.l * r2.l) (is) || R1.L = W [I2--] || [i3++m3] = r0;
r4 = (a0 += r7.h * r6.L) || R2.L = W [I2--] || r0.h = w[i0];
r6 = (A0 += R5.L * r3.h) (s2RND) || R3.L = W [I2--] || R1.H = w[i1];
R6 = (a0 -= r2.h * r7.l) || R4.L = W [I2--] || r2.h = w[i2];
r4 = (A0 -= R0.L * r6.H) (FU) || R5.L = W [I2--] || r3.h = w[i3];
r7 = (a1 = r0.h * r1.l) || R6.L = W [I2--] || r4.h = w[i3];
R5 = (A1 = r2.H * r3.H) (M, fu) || R7.L = W [I2--] || r4.h = W[i2];
R3 = (A1 += r7.l * r5.l) || w [p0] = r0.L || r6.h = W[i1];
r1 = (a1 += r2.h * r7.h) (iss2) || w [p0] = r1.L || r7.h = w[i0];
r3 = (A1 -= r0.l * R0.H) || w [p0] = r2.L || r7.L = w[I0++];
R5 = (a1 -= R2.l * R7.h) (m, is) || w [p0] = r3.L || R6.L = W [i1++];
r7 = -R2(s) || w [p0] = r4.L || r5.l = w[i2++];
A0 = -A0 || w [p0] = r5.L || r4.l = w[i3++];
a0 = -a1 || w [p0] = r6.L || r3.L = w [i3--];
A1 = -A0 || w [p0] = r7.L || r2.l = W [i1++];
a1 = -A1 || w [p1] = r0 || r1.L = w [i2--];
a1 = -a1, a0 = -a0 || w [p1] = r1 || r0.l = w [i1--];
R5.L = r3 (rnd) || w [p1] = r2 || r0 = [i0++m3];
r6.H = r0 (RND) || w [p1] = r3 || r1 = [i1++m2];
A0 = A0 (S) || w [p1] = r4 || r2 = [i2++m1];
a1 = a1 (s) || w [p1] = r5 || r3 = [i3++m0];
A1 = a1 (S), a0 = A0 (s) || r6 = w [p1] (z) || [i0] = r0;
R5.l = signbits r0 || r7 = w [p1] (z) || [i1] = R0;
r0.L = SIGNbits r7.H || r1 = w [p2++](x) || [I2] = r0;
r3.l = signBits A0 || r2 = w [p2++] (x) || [I3] = R0;
r7.L = SIGNBITS a1 || r3 = w [p2++] (z) || [i0] = R1;
r5.l = R6.H - R7.h (s) || r4 = w [p2++] (x) || [i1] = r1;
r0.H = r3.l - r3.h (NS) || r5 = w [p2++] (x) || [i2] = r2;
R1 = [I0++] || R2 = ABS R2 || NOP;
P0 = [FP+20] || R0 = [I2++];
R4.L = A0.x || R6 = [FP + 60] || R4.H = W[I1++] ;
R4.L = A0.x || R4.H = W[I1++] || W[I0] = R4.H ;
R4.L = A0.x || W[I1++] = R4.L || R4.H = W[I0--] ;
R4.L = A1.x || R6 = B[SP--] (Z) || R4.H = W[I1++] ;
A0 += A1 (W32) || R3.L = W[I0] || R0 = [I0++ M3] ;
A0 -= A1 || R0 = W[P0++] (X) || W[I0++] = R3.L ;
|
stsp/binutils-ia16
| 1,601
|
gas/testsuite/gas/bfin/arith_mode.s
|
.text
// Accumulator to Half D-register Moves
R0.L = A0;
R0.L = A0 (FU);
R0.L = A0 (IS);
R0.L = A0 (IU);
R0.L = A0 (T);
R0.L = A0 (TFU); // Not documented
R0.L = A0 (S2RND);
R0.L = A0 (ISS2);
R0.L = A0 (IH);
// Accumulator to D-register Moves
R0 = A0;
R0 = A0 (FU);
R0 = A0 (IS); // Not documented
R0 = A0 (IU); // Not documented
R0 = A0 (S2RND);
R0 = A0 (ISS2);
// Multiply 16-Bit Operands to Half Dreg
R0.H = R1.L * R2.H;
R0.H = R1.L * R2.H (FU);
R0.H = R1.L * R2.H (IS);
R0.H = R1.L * R2.H (IU);
R0.H = R1.L * R2.H (T);
R0.H = R1.L * R2.H (TFU);
R0.H = R1.L * R2.H (S2RND);
R0.H = R1.L * R2.H (ISS2);
R0.H = R1.L * R2.H (IH);
// Multiply 16-Bit Operands to Dreg
R0 = R1.L * R2.H;
R0 = R1.L * R2.H (FU);
R0 = R1.L * R2.H (IS);
R0 = R1.L * R2.H (S2RND); // Not documented
R0 = R1.L * R2.H (ISS2);
// Multiply and Multiply-Accumulate to Accumulator
A0 = R1.L * R2.H;
A0 = R1.L * R2.H (FU);
A0 = R1.L * R2.H (IS);
A0 = R1.L * R2.H (W32);
// Multiply and Multiply-Accumulate to Half-Register
R0.L = (A0 = R1.L * R2.H);
R0.L = (A0 = R1.L * R2.H) (FU);
R0.L = (A0 = R1.L * R2.H) (IS);
R0.L = (A0 = R1.L * R2.H) (IU);
R0.L = (A0 = R1.L * R2.H) (T);
R0.L = (A0 = R1.L * R2.H) (TFU);
R0.L = (A0 = R1.L * R2.H) (S2RND);
R0.L = (A0 = R1.L * R2.H) (ISS2);
R0.L = (A0 = R1.L * R2.H) (IH);
// Multiply and Multiply-Accumulate to Data Register
R0 = (A0 = R1.L * R2.H);
R0 = (A0 = R1.L * R2.H) (FU);
R0 = (A0 = R1.L * R2.H) (IS);
R0 = (A0 = R1.L * R2.H) (IU); // Not documented
R0 = (A0 = R1.L * R2.H) (S2RND);
R0 = (A0 = R1.L * R2.H) (ISS2);
|
stsp/binutils-ia16
| 7,136
|
gas/testsuite/gas/bfin/video2.s
|
.EXTERN MY_LABEL2;
.section .text;
//
//13 VIDEO PIXEL OPERATIONS
//
//Dreg = ALIGN8 ( Dreg, Dreg ) ; /* overlay 1 byte (b) */
R0 = ALIGN8(R0, R0);
R0 = ALIGN8(R0, R1);
R0 = ALIGN8(R1, R0);
R0 = ALIGN8(R1, R1);
R0 = ALIGN8(R1, R2);
R3 = ALIGN8(R4, R5);
R6 = ALIGN8(R7, R0);
R1 = ALIGN8(R2, R3);
R4 = ALIGN8(R5, R6);
R7 = ALIGN8(R0, R1);
R2 = ALIGN8(R3, R4);
R5 = ALIGN8(R6, R7);
//Dreg = ALIGN16 ( Dreg, Dreg ) ; /* overlay 2 bytes (b) */
R0 = ALIGN16(R0, R0);
R0 = ALIGN16(R0, R1);
R0 = ALIGN16(R1, R0);
R0 = ALIGN16(R1, R1);
R0 = ALIGN16(R1, R2);
R3 = ALIGN16(R4, R5);
R6 = ALIGN16(R7, R0);
R1 = ALIGN16(R2, R3);
R4 = ALIGN16(R5, R6);
R7 = ALIGN16(R0, R1);
R2 = ALIGN16(R3, R4);
R5 = ALIGN16(R6, R7);
//Dreg = ALIGN24 ( Dreg, Dreg ) ; /* overlay 3 bytes (b) */
R0 = ALIGN24(R0, R0);
R0 = ALIGN24(R0, R1);
R0 = ALIGN24(R1, R0);
R0 = ALIGN24(R1, R1);
R0 = ALIGN24(R1, R2);
R3 = ALIGN24(R4, R5);
R6 = ALIGN24(R7, R0);
R1 = ALIGN24(R2, R3);
R4 = ALIGN24(R5, R6);
R7 = ALIGN24(R0, R1);
R2 = ALIGN24(R3, R4);
R5 = ALIGN24(R6, R7);
DISALGNEXCPT ; /* (b) */
/* forward byte order operands */
//Dreg = BYTEOP3P (Dreg_pair, Dreg_pair) (LO) ; /* sum into low bytes (b) */
//Dreg = BYTEOP3P (Dreg_pair, Dreg_pair) (HI) ; /* sum into high bytes (b) */
/* reverse byte order operands */
//Dreg = BYTEOP3P (Dreg_pair, Dreg_pair) (LO, R) ; /* sum into low bytes (b) */
//Dreg = BYTEOP3P (Dreg_pair, Dreg_pair) (HI, R) ; /* sum into high bytes (b) */
r0 = byteop3p (r1:0, r3:2) (lo) ;
r1 = byteop3p (r1:0, r3:2) (hi) ;
r2 = byteop3p (r1:0, r3:2) (lo, r) ;
r3 = byteop3p (r1:0, r3:2) (hi, r) ;
r4 = byteop3p (r3:2, r1:0) (lo) ;
r5 = byteop3p (r3:2, r1:0) (hi) ;
r6 = byteop3p (r3:2, r1:0) (lo, r) ;
r7 = byteop3p (r3:2, r1:0) (hi, r) ;
//Dreg = A1.L + A1.H, Dreg = A0.L + A0.H ; /* (b) */
R0 = A1.L + A1.H, R1= A0.L + A0.H ;
R2 = A1.L + A1.H, R3= A0.L + A0.H ;
R4 = A1.L + A1.H, R5= A0.L + A0.H ;
R6 = A1.L + A1.H, R7= A0.L + A0.H ;
/* forward byte order operands */
//( Dreg, Dreg ) = BYTEOP16P ( Dreg_pair, Dreg_pair ) ; /* (b) */
(r7,r0) = BYTEOP16P ( r3:2,r1:0 ) ;
(r1,r2) = byteop16p (r3:2,r1:0) ;
(r0,r1) = BYTEOP16P ( r3:2,r1:0 ) ;
(r2,r3) = byteop16p (r3:2,r1:0) ;
(r7,r0) = BYTEOP16P (r1:0, r3:2) ;
(r1,r2) = byteop16p (r1:0,r3:2) ;
(r0,r1) = BYTEOP16P (r1:0, r3:2) ;
(r2,r3) = byteop16p (r1:0,r3:2) ;
/* reverse byte order operands */
//( Dreg, Dreg ) = BYTEOP16P ( Dreg_pair, Dreg_pair ) (R); /* (b) */
(r7,r0) = BYTEOP16P ( r3:2,r1:0 )(r) ;
(r1,r2) = byteop16p (r3:2,r1:0)(r) ;
(r0,r1) = BYTEOP16P ( r3:2,r1:0 )(r) ;
(r2,r3) = byteop16p (r3:2,r1:0)(r) ;
(r7,r0) = BYTEOP16P (r1:0, r3:2)(r) ;
(r1,r2) = byteop16p (r1:0,r3:2)(r) ;
(r0,r1) = BYTEOP16P (r1:0, r3:2)(r) ;
(r2,r3) = byteop16p (r1:0,r3:2)(r) ;
/* forward byte order operands */
//Dreg = BYTEOP1P (Dreg_pair, Dreg_pair) ; /* (b) */
//Dreg = BYTEOP1P (Dreg_pair, Dreg_pair) (T) ; /* truncated (b)*/
/* reverse byte order operands */
//Dreg = BYTEOP1P (Dreg_pair, Dreg_pair) (R) ; /* (b) */
//Dreg = BYTEOP1P (Dreg_pair, Dreg_pair) (T, R) ; /* truncated (b) */
r3 = byteop1p (r1:0, r3:2) ;
r3 = byteop1p (r1:0, r3:2) (r) ;
r3 = byteop1p (r1:0, r3:2) (t) ;
r3 = byteop1p (r1:0, r3:2) (t,r) ;
r0 = byteop1p (r3:2,r1:0);
r1 = byteop1p (r3:2,r1:0)(r) ;
r2 = byteop1p (r3:2,r1:0)(t) ;
r3 = byteop1p (r3:2,r1:0)(t,r) ;
/* forward byte order operands */
//Dreg = BYTEOP2P (Dreg_pair, Dreg_pair) (RNDL) ;
/* round into low bytes (b) */
//Dreg = BYTEOP2P (Dreg_pair, Dreg_pair) (RNDH) ;
/* round into high bytes (b) */
//Dreg = BYTEOP2P (Dreg_pair, Dreg_pair) (TL) ;
/* truncate into low bytes (b) */
//Dreg = BYTEOP2P (Dreg_pair, Dreg_pair) (TH) ;
/* truncate into high bytes (b) */
/* reverse byte order operands */
//Dreg = BYTEOP2P (Dreg_pair, Dreg_pair) (RNDL, R) ;
/* round into low bytes (b) */
//Dreg = BYTEOP2P (Dreg_pair, Dreg_pair) (RNDH, R) ;
/* round into high bytes (b) */
//Dreg = BYTEOP2P (Dreg_pair, Dreg_pair) (TL, R) ;
/* truncate into low bytes (b) */
//Dreg = BYTEOP2P (Dreg_pair, Dreg_pair) (TH, R) ;
/* truncate into high bytes (b) */
r3 = byteop2p (r1:0, r3:2) (rndl) ;
r3 = byteop2p (r1:0, r3:2) (rndh) ;
r3 = byteop2p (r1:0, r3:2) (tl) ;
r3 = byteop2p (r1:0, r3:2) (th) ;
r3 = byteop2p (r1:0, r3:2) (rndl, r) ;
r3 = byteop2p (r1:0, r3:2) (rndh, r) ;
r3 = byteop2p (r1:0, r3:2) (tl, r) ;
r3 = byteop2p (r1:0, r3:2) (th, r) ;
r0 = byteop2p (r1:0, r3:2) (rndl) ;
r1 = byteop2p (r1:0, r3:2) (rndh) ;
r2 = byteop2p (r1:0, r3:2) (tl) ;
r3 = byteop2p (r1:0, r3:2) (th) ;
r4 = byteop2p (r1:0, r3:2) (rndl, r) ;
r5 = byteop2p (r1:0, r3:2) (rndh, r) ;
r6 = byteop2p (r1:0, r3:2) (tl, r) ;
r7 = byteop2p (r1:0, r3:2) (th, r) ;
r0 = byteop2p (r3:2, r3:2) (rndl) ;
r1 = byteop2p (r3:2, r3:2) (rndh) ;
r2 = byteop2p (r3:2, r3:2) (tl) ;
r3 = byteop2p (r3:2, r3:2) (th) ;
r4 = byteop2p (r3:2, r3:2) (rndl, r) ;
r5 = byteop2p (r3:2, r3:2) (rndh, r) ;
r6 = byteop2p (r3:2, r3:2) (tl, r) ;
r7 = byteop2p (r3:2, r3:2) (th, r) ;
//Dreg = BYTEPACK ( Dreg, Dreg ) ; /* (b) */
r0 = bytepack (r0,r0) ;
r1 = bytepack (r2,r3) ;
r4 = bytepack (r5,r6) ;
r7 = bytepack (r0,r1) ;
r2 = bytepack (r3,r4) ;
r5 = bytepack (r6,r7) ;
/* forward byte order operands */
//(Dreg, Dreg) = BYTEOP16M (Dreg_pair, Dreg_pair) ; /* (b */)
/* reverse byte order operands */
//(Dreg, Dreg) = BYTEOP16M (Dreg-pair, Dreg-pair) (R) ; /* (b) */
(r1,r2)= byteop16m (r3:2,r1:0) ;
(r1,r2)= byteop16m (r3:2,r1:0) (r) ;
(r0,r1)= byteop16m (r3:2,r1:0) ;
(r2,r3)= byteop16m (r3:2,r1:0) (r) ;
(r3,r5)= byteop16m (r3:2,r1:0) ;
(r6,r7)= byteop16m (r3:2,r1:0) (r) ;
(r1,r2)= byteop16m (r1:0,r1:0) ;
(r1,r2)= byteop16m (r1:0,r1:0) (r) ;
(r0,r1)= byteop16m (r1:0,r1:0) ;
(r2,r3)= byteop16m (r1:0,r1:0) (r) ;
(r3,r5)= byteop16m (r1:0,r1:0) ;
(r6,r7)= byteop16m (r1:0,r1:0) (r) ;
(r1,r2)= byteop16m (r1:0,r3:2) ;
(r1,r2)= byteop16m (r1:0,r3:2) (r) ;
(r0,r1)= byteop16m (r1:0,r3:2) ;
(r2,r3)= byteop16m (r1:0,r3:2) (r) ;
(r3,r5)= byteop16m (r1:0,r3:2) ;
(r6,r7)= byteop16m (r1:0,r3:2) (r) ;
(r1,r2)= byteop16m (r3:2,r3:2) ;
(r1,r2)= byteop16m (r3:2,r3:2) (r) ;
(r0,r1)= byteop16m (r3:2,r3:2) ;
(r2,r3)= byteop16m (r3:2,r3:2) (r) ;
(r3,r5)= byteop16m (r3:2,r3:2) ;
(r6,r7)= byteop16m (r3:2,r3:2) (r) ;
//SAA (Dreg_pair, Dreg_pair) ; /* forward byte order operands (b) */
//SAA (Dreg_pair, Dreg_pair) (R) ; /* reverse byte order operands (b) */
saa(r1:0, r3:2) || r0 = [i0++] || r2 = [i1++] ; /* parallel fill instructions */
saa (r1:0, r3:2) (R) || r1 = [i0++] || r3 = [i1++] ; /* reverse, parallel fill instructions */
saa (r1:0, r3:2) ; /* last SAA in a loop, no more fill required */
//( Dreg , Dreg ) = BYTEUNPACK Dreg_pair ; /* (b) */
//( Dreg , Dreg ) = BYTEUNPACK Dreg_pair (R) ; /* reverse source order (b) */
(r6,r5) = byteunpack r1:0 ; /* non-reversing sources */
(r6,r5) = byteunpack r1:0 (R) ; /* reversing sources case */
(r6,r5) = byteunpack r3:2 ; /* non-reversing sources */
(r6,r5) = byteunpack r3:2 (R) ; /* reversing sources case */
(r0,r1) = byteunpack r1:0 ; /* non-reversing sources */
(r2,r3) = byteunpack r1:0 (R) ; /* reversing sources case */
(r4,r5) = byteunpack r3:2 ; /* non-reversing sources */
(r6,r7) = byteunpack r3:2 (R) ; /* reversing sources case */
|
stsp/binutils-ia16
| 1,591
|
gas/testsuite/gas/bfin/cache2.s
|
.EXTERN MY_LABEL2;
.section .text;
//
//12 CACHE CONTROL
//
//PREFETCH [ Preg ] ; /* indexed (a) */
PREFETCH [ P0 ] ;
PREFETCH [ P1 ] ;
PREFETCH [ P2 ] ;
PREFETCH [ P3 ] ;
PREFETCH [ P4 ] ;
PREFETCH [ P5 ] ;
PREFETCH [ SP ] ;
PREFETCH [ FP ] ;
//PREFETCH [ Preg ++ ] ; /* indexed, post increment (a) */
PREFETCH [ P0++ ] ;
PREFETCH [ P1++ ] ;
PREFETCH [ P2++ ] ;
PREFETCH [ P3++ ] ;
PREFETCH [ P4++ ] ;
PREFETCH [ P5++ ] ;
PREFETCH [ SP++ ] ;
PREFETCH [ FP++ ] ;
//FLUSH [ Preg ] ; /* indexed (a) */
FLUSH [ P0 ] ;
FLUSH [ P1 ] ;
FLUSH [ P2 ] ;
FLUSH [ P3 ] ;
FLUSH [ P4 ] ;
FLUSH [ P5 ] ;
FLUSH [ SP ] ;
FLUSH [ FP ] ;
//FLUSH [ Preg ++ ] ; /* indexed, post increment (a) */
FLUSH [ P0++ ] ;
FLUSH [ P1++ ] ;
FLUSH [ P2++ ] ;
FLUSH [ P3++ ] ;
FLUSH [ P4++ ] ;
FLUSH [ P5++ ] ;
FLUSH [ SP++ ] ;
FLUSH [ FP++ ] ;
//FLUSHINV [ Preg ] ; /* indexed (a) */
FLUSHINV [ P0 ] ;
FLUSHINV [ P1 ] ;
FLUSHINV [ P2 ] ;
FLUSHINV [ P3 ] ;
FLUSHINV [ P4 ] ;
FLUSHINV [ P5 ] ;
FLUSHINV [ SP ] ;
FLUSHINV [ FP ] ;
//FLUSHINV [ Preg ++ ] ; /* indexed, post increment (a) */
FLUSHINV [ P0++ ] ;
FLUSHINV [ P1++ ] ;
FLUSHINV [ P2++ ] ;
FLUSHINV [ P3++ ] ;
FLUSHINV [ P4++ ] ;
FLUSHINV [ P5++ ] ;
FLUSHINV [ SP++ ] ;
FLUSHINV [ FP++ ] ;
//IFLUSH [ Preg ] ; /* indexed (a) */
IFLUSH [ P0 ] ;
IFLUSH [ P1 ] ;
IFLUSH [ P2 ] ;
IFLUSH [ P3 ] ;
IFLUSH [ P4 ] ;
IFLUSH [ P5 ] ;
IFLUSH [ SP ] ;
IFLUSH [ FP ] ;
//IFLUSH [ Preg ++ ] ; /* indexed, post increment (a) */
IFLUSH [ P0++ ] ;
IFLUSH [ P1++ ] ;
IFLUSH [ P2++ ] ;
IFLUSH [ P3++ ] ;
IFLUSH [ P4++ ] ;
IFLUSH [ P5++ ] ;
IFLUSH [ SP++ ] ;
IFLUSH [ FP++ ] ;
|
stsp/binutils-ia16
| 1,354
|
gas/testsuite/gas/bfin/move.s
|
.text
.global move_register
move_register:
r7 = A0.X;
Fp = B3;
l2 = R5;
M2 = i2;
a1.w = usp;
r0 = astat;
r1 = sEQstat;
R2 = SYScfg;
R3 = reti;
R4 = RETX;
r5 = reTN;
r6 = rETe;
R7 = RETS;
R5 = lc0;
r4 = Lc1;
r3 = Lt0;
r2 = LT1;
r1 = Lb0;
r0 = LB1;
R2 = Cycles;
R3 = Cycles2;
r1 = emudat;
Rets = Fp;
Lt1 = USP;
ASTAT = P2;
A0 = A1;
a1 = a0;
a0 = R0;
A1 = r1;
R4 = A0 (fu);
r5 = A1 (ISS2);
R6 = a0;
R7 = A1;
R6 = A0, R7 = a1;
r1 = a1, r0 = a0 (fu);
.text
.global move_conditional
move_conditional:
if cc R5 = P2;
if !cc Sp = R0;
.text
.global move_half_to_full_zero_extend
move_half_to_full_zero_extend:
R2 = r7.L (Z);
r0 = R1.L (z);
.text
.global move_half_to_full_sign_extend
move_half_to_full_sign_extend:
R5 = R1.L (x);
r3 = r2.L (X);
.text
.global move_register_half
move_register_half:
A0.X = r5.l;
a1.X = r2.L;
r0.l = a0.x;
R7.l = A1.X;
A0.L = r3.l;
a1.l = r4.l;
A0.h = r6.H;
A1.H = r5.h;
r0.l = A0 (iu);
R1.H = A1 (s2rnd);
r1.h = a1;
R2.l = A0, r2.H = A1 (IH);
R2.l = A0, r2.H = A1;
r0.H = A1, R0.L = a0 (t);
r0.H = A1, R0.L = a0 (fu);
r0.H = A1, R0.L = a0 (is);
r0.H = A1, R0.L = a0;
.text
.global move_byte_zero_extend
move_byte_zero_extend:
R7 = r2.b (z);
r0 = R1.B (Z);
.text
.global move_byte_sign_extend
move_byte_sign_extend:
r6 = r1.b (Z);
R5 = R4.B (z);
|
stsp/binutils-ia16
| 1,451
|
gas/testsuite/gas/bfin/parallel4.s
|
.section .text;
R7 = Align8 (r5, r2) || [i0] = r0;
R5 = ALIGN16 (R0, R1) || [i0++] = r0;
r2 = ALIGN24 (r5, r0) || [i0--] = r0;
DISAlgnExcpt || [i1] = r0;
R5 = Byteop3p (r1:0, r3:2) (lO)
|| [i1++] = r0;
R0 = BYTEOP3P (R1:0, R3:2) (HI) || // comment test
[i1--] = r0;
R1 = byteop3p (r1:0, r3:2) (LO, r) || [i2] = r0;
r2 = ByteOp3P (r1:0, R3:2) (hi, R) || [i2++] = r0;
R5 = A1.l + A1.h, R2 = a0.l + a0.h || [i2--] = r0;
(r2, r3) = BYTEOP16P (R1:0, R3:2) || [i3] = r0;
(R6, R0) = byteop16p (r1:0, r3:2) (r) || [i3++] = r0;
R7 = BYTEOP1P (R1:0, R3:2) (t) || [i3--] = r0;
r2 = byteop1p (r1:0, r3:2) (t) || [p0] = r0;
R3 = ByteOp1P (r1:0, R3:2) (R) || [p0++] = r0;
r7 = byteOP1P (R1:0, r3:2) (T, r) || [p0--] = r0;
R0 = BYTEOP2P (R1:0, R3:2) (RNDL) || [p1] = r0;
r1 = byteop2p (r1:0, r3:2) (rndh) || [p1++] = r0;
R2 = Byteop2p (R1:0, R3:2) (tL) || [p1--] = r0;
R3 = Byteop2p (r1:0, r3:2) (TH) || [p2] = r0;
r4 = ByTEOP2P (r1:0, R3:2) (Rndl, R) || [p2++] = r0;
R5 = byTeOp2p (R1:0, r3:2) (rndH, r) || [p2--] = r0;
r6 = BYTEop2p (r1:0, r3:2) (tl, R) || [p3] = r0;
R7 = byteop2p (r1:0, R3:2) (TH, r) || [p3++] = r0;
R5 = BytePack (R0, R3) || [p3--] = r0;
(R6, R2) = ByteOp16M (r1:0, r3:2) || [p4] = r0;
(r0, r5) = byteop16m (R1:0, R3:2) (r) || [p4++] = r0;
saa (r1:0, r3:2) || [p4--] = r0;
SAA (R1:0, R3:2) (r) || [p5] = r0;
(R7, R2) = byteunpack R1:0 || [p5++] = r0;
(R6, R4) = BYTEUNPACK r3:2 (R) || [p5--] = r0;
|
stsp/binutils-ia16
| 2,747
|
gas/testsuite/gas/bfin/parallel2.s
|
.section .text;
A0 = A1 || P0 = [sp+20];
a1 = a0 || P0 = [p5+24];
a0 = R0 || P0 = [P4+28];
A1 = r1 || P0 = [P3+32];
R4 = A0 (fu) || P0 = [p3+36];
r5 = A1 (ISS2) || P0 = [P3+40];
R6 = a0 || P0 = [P4+44];
R7 = A1 || P0 = [P4+48];
R6 = A0, R7 = a1 || P0 = [P4+52];
r1 = a1, r0 = a0 (fu) || P0 = [P4+56];
A0.X = r5.l || p0 = [p4+60];
a1.X = r2.L || r0 = [i0 ++ m0];
r0.l = a0.x || r1 = [i0 ++ m1];
R7.l = A1.X || r0 = [i0 ++ m2];
A0.L = r3.l || r0 = [i0 ++ m3];
a1.l = r4.l || r0 = [i1 ++ m3];
A0.h = r6.H || r0 = [i1 ++ m2];
A1.H = r5.h || r0 = [i1 ++ m1];
r0.l = A0 (iu) || r4 = [i1 ++ m0];
R1.H = A1 (s2rnd) || r0 = [i2 ++ m0];
r1.h = a1 || r0 = [i2 ++ m1];
R2.l = A0, r2.H = A1 (IH) || r0 = [i2 ++ m2];
R2.l = A0, r2.H = A1 || r0 = [i2 ++ m3];
r0.H = A1, R0.L = a0 (t) || r5 = [i3 ++ m0];
r0.H = A1, R0.L = a0 (fu) || r5 = [i3 ++ m1];
r0.H = A1, R0.L = a0 (is) || r5 = [i3 ++ m2];
r0.H = A1, R0.L = a0 || r5 = [i3 ++ m3];
A0 = A0 >> 31 || r0 = [fp - 32];
a0 = a0 << 31 || r0 = [fp - 28];
a1 = a1 >> 0 || r0 = [fp - 24];
A1 = A1 << 0 || r0 = [fp - 20];
r7 = r5 << 31 (s) || r0 = [fp - 16];
R3 = r2 >>> 22 || r0 = [fp - 12];
r1.L = R2.H << 15 (S) || r0 = [fp - 8];
r5.h = r2.l >>> 2 || r0 = [fp - 4];
r3.l = Ashift r4.h by r2.l || r0 = [fp - 100];
R7.H = ASHIFT R7.L by R0.L (S) || r0 = [fp - 104];
r7.h = ashift r7.l by r0.l (s) || r0 = [fp - 108];
r6 = AShiFT R5 by R2.L || r0 = [fp - 112];
R0 = Ashift R4 by r1.l (s) || r3 = [fp - 116];
r2 = ashift r6 BY r3.L (S) || r0 = [fp - 120];
A0 = Ashift a0 by r1.l || r0 = [fp - 124];
a1 = ASHIFT a1 by r0.L || r0 = [fp - 128];
r1.H = r2.l >> 15 || R5 = W [P1--] (z);
r7.l = r0.L << 0 || R5 = W [P2] (z);
r5 = r5 >> 31 || R7 = W [P2++] (z);
r0 = r0 << 12 || R5 = W [P2--] (z);
A0 = A0 >> 1 || R5 = W [P2+0] (z);
A0 = A0 << 0 || R5 = W [P2+2] (z);
a1 = A1 << 31 || R5 = W [P2+4] (z);
a1 = a1 >> 16 || R5 = W [P2+30] (z);
R1.H = LShift r2.h by r0.l || R5 = W [P2+24] (z);
r0.l = LSHIFT r0.h by r1.l || R5 = W [P2+22] (z);
r7.L = lshift r6.L BY r2.l || R5 = W [P2+20] (z);
r5 = LShIft R4 bY r3.L || R4 = W [P2+18] (z);
A0 = Lshift a0 By R6.L || R5 = W [P2+16] (z);
A1 = LsHIFt a1 by r5.l || R5 = W [P2+14] (z);
r7 = ROT r7 by -32 || R5 = W [P2+12] (z);
R6 = Rot r7 by -31 || R5 = W [P2+10] (z);
R5 = RoT R7 by 31 || R6 = W [P2+8] (z);
R4 = Rot r7 by 30 || R5 = W [P2+6] (z);
a0 = rot A0 by 0 || R5 = W [P3] (z);
A0 = ROT a0 BY 10 || R5 = W [P3++] (z);
A1 = ROT A1 by -20 || R5 = W [P3--] (z);
A1 = ROT a1 By -32 || R5 = W [P4] (z);
r0 = rot r1 by r2.L || R5 = W [P4++] (z);
R0 = Rot R4 BY R3.L || R5 = W [P4--] (z);
A0 = ROT A0 by r7.l || R5 = W [P5] (z);
A1 = rot a1 bY r6.l || R5 = W [P5++] (z);
NOp || R5 = W [P5--] (z);
|
stsp/binutils-ia16
| 4,594
|
gas/testsuite/gas/bfin/control_code2.s
|
.EXTERN MY_LABEL2;
.section .text;
//
//6 CONTROL CODE BIT MANAGEMENT
//
//CC = Dreg == Dreg ; /* equal, register, signed (a) */
CC = R7 == R0;
CC = R6 == R1;
CC = R0 == R7;
//CC = Dreg == imm3 ; /* equal, immediate, signed (a) */
CC = R7 == -4;
CC = R7 == 3;
CC = R0 == -4;
CC = R0 == 3;
//CC = Dreg < Dreg ; /* less than, register, signed (a) */
CC = R7 < R0;
CC = R6 < R0;
CC = R7 < R1;
CC = R1 < R7;
CC = R0 < R6;
//CC = Dreg < imm3 ; /* less than, immediate, signed (a) */
CC = R7 < -4;
CC = R6 < -4;
CC = R7 < 3;
CC = R1 < 3;
//CC = Dreg <= Dreg ; /* less than or equal, register, signed (a) */
CC = R7 <= R0;
CC = R6 <= R0;
CC = R7 <= R1;
CC = R1 <= R7;
CC = R0 <= R6;
//CC = Dreg <= imm3 ; /* less than or equal, immediate, signed (a) */
CC = R7 <= -4;
CC = R6 <= -4;
CC = R7 <= 3;
CC = R1 <= 3;
//CC = Dreg < Dreg (IU) ; /* less than, register, unsigned (a) */
CC = R7 < R0(IU);
CC = R6 < R0(IU);
CC = R7 < R1(IU);
CC = R1 < R7(IU);
CC = R0 < R6(IU);
//CC = Dreg < uimm3 (IU) ; /* less than, immediate, unsigned (a) */
CC = R7 < 0(IU);
CC = R6 < 0(IU);
CC = R7 < 7(IU);
CC = R1 < 7(IU);
//CC = Dreg <= Dreg (IU) ; /* less than or equal, register, unsigned (a) */
CC = R7 <= R0(IU);
CC = R6 <= R0(IU);
CC = R7 <= R1(IU);
CC = R1 <= R7(IU);
CC = R0 <= R6(IU);
//CC = Dreg <= uimm3 (IU) ; /* less than or equal, immediate unsigned (a) */
CC = R7 <= 0(IU);
CC = R6 <= 0(IU);
CC = R7 <= 7(IU);
CC = R1 <= 7(IU);
//CC = Preg == Preg ; /* equal, register, signed (a) */
CC = P5 == P0;
CC = P5 == P1;
CC = P0 == P2;
CC = P3 == P5;
//CC = Preg == imm3 ; /* equal, immediate, signed (a) */
CC = P5 == -4;
CC = P5 == 0;
CC = P5 == 3;
CC = P2 == -4;
CC = P2 == 0;
CC = P2 == 3;
//CC = Preg < Preg ; /* less than, register, signed (a) */
CC = P5 < P0;
CC = P5 < P1;
CC = P0 < P2;
CC = P3 < P5;
//CC = Preg < imm3 ; /* less than, immediate, signed (a) */
CC = P5 < -4;
CC = P5 < 0;
CC = P5 < 3;
CC = P2 < -4;
CC = P2 < 0;
CC = P2 < 3;
//CC = Preg <= Preg ; /* less than or equal, register, signed (a) */
CC = P5 <= P0;
CC = P5 <= P1;
CC = P0 <= P2;
CC = P3 <= P5;
//CC = Preg <= imm3 ; /* less than or equal, immediate, signed (a) */
CC = P5 <= -4;
CC = P5 <= 0;
CC = P5 <= 3;
CC = P2 <= -4;
CC = P2 <= 0;
CC = P2 <= 3;
//CC = Preg < Preg (IU) ; /* less than, register, unsigned (a) */
CC = P5 < P0(IU);
CC = P5 < P1(IU);
CC = P0 < P2(IU);
CC = P3 < P5(IU);
//CC = Preg < uimm3 (IU) ; /* less than, immediate, unsigned (a) */
CC = P5 < 0(IU);
CC = P5 < 7(IU);
CC = P2 < 0(IU);
CC = P2 < 7(IU);
//CC = Preg <= Preg (IU) ; /* less than or equal, register, unsigned (a) */
CC = P5 <= P0(IU);
CC = P5 <= P1(IU);
CC = P0 <= P2(IU);
CC = P3 <= P5(IU);
//CC = Preg <= uimm3 (IU) ; /* less than or equal, immediate unsigned (a) */
CC = P5 <= 0(IU);
CC = P5 <= 7(IU);
CC = P2 <= 0(IU);
CC = P2 <= 7(IU);
CC = A0 == A1 ; /* equal, signed (a) */
CC = A0 < A1 ; /* less than, Accumulator, signed (a) */
CC = A0 <= A1 ; /* less than or equal, Accumulator, signed (a) */
//Dreg = CC ; /* CC into 32-bit data register, zero-extended (a) */
R7 = CC;
R0 = CC;
//statbit = CC ; /* status bit equals CC (a) */
AZ = CC;
AN = CC;
AC0= CC;
AC1= CC;
//V = CC;
VS = CC;
AV0= CC;
AV0S= CC;
AV1 = CC;
AV1S= CC;
AQ = CC;
//statbit |= CC ; /* status bit equals status bit OR CC (a) */
AZ |= CC;
AN |= CC;
AC0|= CC;
AC1|= CC;
//V |= CC;
VS |= CC;
AV0|= CC;
AV0S|= CC;
AV1 |= CC;
AV1S|= CC;
AQ |= CC;
//statbit &= CC ; /* status bit equals status bit AND CC (a) */
AZ &= CC;
AN &= CC;
AC0&= CC;
AC1&= CC;
//V &= CC;
VS &= CC;
AV0&= CC;
AV0S&= CC;
AV1 &= CC;
AV1S&= CC;
AQ &= CC;
//statbit ^= CC ; /* status bit equals status bit XOR CC (a) */
AZ ^= CC;
AN ^= CC;
AC0^= CC;
AC1^= CC;
//V ^= CC;
VS ^= CC;
AV0^= CC;
AV0S^= CC;
AV1 ^= CC;
AV1S^= CC;
AQ ^= CC;
//CC = Dreg ; /* CC set if the register is non-zero (a) */
CC = R7;
CC = R6;
CC = R1;
CC = R0;
//CC = statbit ; /* CC equals status bit (a) */
CC = AZ;
CC = AN;
CC = AC0;
CC = AC1;
//CC = V;
CC = VS;
CC = AV0;
CC = AV0S;
CC = AV1;
CC = AV1S;
CC = AQ;
//CC |= statbit ; /* CC equals CC OR status bit (a) */
CC |= AZ;
CC |= AN;
CC |= AC0;
CC |= AC1;
//CC |= V;
CC |= VS;
CC |= AV0;
CC |= AV0S;
CC |= AV1;
CC |= AV1S;
CC |= AQ;
//CC &= statbit ; /* CC equals CC AND status bit (a) */
CC &= AZ;
CC &= AN;
CC &= AC0;
CC &= AC1;
//CC &= V;
CC &= VS;
CC &= AV0;
CC &= AV0S;
CC &= AV1;
CC &= AV1S;
CC &= AQ;
//CC ^= statbit ; /* CC equals CC XOR status bit (a) */
CC ^= AZ;
CC ^= AN;
CC ^= AC0;
CC ^= AC1;
//CC ^= V;
CC ^= VS;
CC ^= AV0;
CC ^= AV0S;
CC ^= AV1;
CC ^= AV1S;
CC ^= AQ;
CC = ! CC ; /* (a) */
|
stsp/binutils-ia16
| 1,042
|
gas/testsuite/gas/bfin/logical2.s
|
.EXTERN MY_LABEL2;
.section .text;
//
//7 LOGICAL OPERATIONS
//
//Dreg = Dreg & Dreg ; /* (a) */
R7 = R7 & R7;
R7 = R7 & R0;
r7 = R7 & R1;
R1 = R7 & R7;
R2 = R7 & R0;
r3 = R7 & R1;
//Dreg = ~ Dreg ; /* (a)*/
R7 = ~R7;
R7 = ~R0;
R0 = ~R7;
R0 = ~R2;
//Dreg = Dreg | Dreg ; /* (a) */
R7 = R7 | R7;
R7 = R7 | R1;
R7 = R7 | R0;
R1 = R7 | R7;
R2 = R7 | R1;
R3 = R7 | R0;
//Dreg = Dreg ^ Dreg ; /* (a) */
R7 = R7 ^ R7;
R7 = R7 ^ R1;
R7 = R7 ^ R0;
R1 = R7 ^ R7;
R2 = R7 ^ R1;
R3 = R7 ^ R0;
//Dreg_lo = CC = BXORSHIFT ( A0, Dreg ) ; /* (b) */
R0.L = CC = BXORSHIFT(A0, R0);
R0.L = CC = BXORSHIFT(A0, R1);
R3.L = CC = BXORSHIFT(A0, R0);
R3.L = CC = BXORSHIFT(A0, R1);
//Dreg_lo = CC = BXOR ( A0, Dreg ) ; /* (b) */
R0.L = CC = BXOR(A0, R0);
R0.L = CC = BXOR(A0, R1);
R3.L = CC = BXOR(A0, R0);
R3.L = CC = BXOR(A0, R1);
//Dreg_lo = CC = BXOR ( A0, A1, CC ) ; /* (b) */
R0.L = CC = BXOR(A0, A1, CC);
R0.L = CC = BXOR(A0, A1, CC);
R3.L = CC = BXOR(A0, A1, CC);
R3.L = CC = BXOR(A0, A1, CC);
A0 = BXORSHIFT ( A0, A1, CC ) ; /* (b) */
|
stsp/binutils-ia16
| 4,881
|
gas/testsuite/gas/bfin/loop_temps.s
|
.align 4
.global _filter_mem16;
.type _filter_mem16, STT_FUNC;
_filter_mem16:
[--sp] = ( r7:7 );
[--SP] = R4;
[--SP] = R5;
[--SP] = P3;
[--SP] = P4;
LINK 68;
[FP+28] = R0;
[FP+32] = R1;
[FP+36] = R2;
[FP+-68] = SP;
R0 = SP;
[FP+-24] = R0;
R0 = [FP+44];
R3 = R0;
R3 += 1;
R2 = R3;
R0 = R2;
R1 = 0 (X);
R2 = -1 (X);
R0 = R0 & R2;
R2 = 15 (X);
R1 = R1 & R2;
R2 = R0 >> 27;
R7 = R1 << 5;
[FP+-60] = R7;
R7 = [FP+-60];
R7 = R2 | R7;
[FP+-60] = R7;
R2 = R0 << 5;
[FP+-64] = R2;
R0 = [FP+-64];
R1 = [FP+-60];
[FP+-64] = R0;
[FP+-60] = R1;
R0 = -1 (X);
R1 = [FP+-64];
R1 = R1 & R0;
[FP+-64] = R1;
R0 = 15 (X);
R2 = [FP+-60];
R2 = R2 & R0;
R2 = R3;
R0 = R2;
R1 = 0 (X);
R2 = -1 (X);
R0 = R0 & R2;
R2 = 15 (X);
R1 = R1 & R2;
R2 = R0 >> 27;
R7 = R1 << 5;
[FP+-52] = R7;
R7 = [FP+-52];
R7 = R2 | R7;
[FP+-52] = R7;
R2 = R0 << 5;
[FP+-56] = R2;
R0 = [FP+-56];
R1 = [FP+-52];
[FP+-56] = R0;
[FP+-52] = R1;
R0 = -1 (X);
R1 = [FP+-56];
R1 = R1 & R0;
[FP+-56] = R1;
R0 = 15 (X);
R2 = [FP+-52];
R2 = R2 & R0;
R0 = R3;
R0 <<= 2;
R0 += 3;
R0 += 3;
R0 >>= 2;
P1 = R0;
P2 = P1 << 2;
SP -= P2;
[FP+-48] = SP;
R0 = [FP+-48];
R0 += 3;
R0 >>= 2;
R0 <<= 2;
[FP+-48] = R0;
R0 = [FP+-48];
[FP+-12] = R0;
R0 = [FP+48];
R0 += 1;
R3 = R0 << 1;
R2 = R3;
R0 = R2;
R1 = 0 (X);
R2 = -1 (X);
R0 = R0 & R2;
R2 = 15 (X);
R1 = R1 & R2;
R2 = R0 >> 27;
R7 = R1 << 5;
[FP+-40] = R7;
R7 = [FP+-40];
R7 = R2 | R7;
[FP+-40] = R7;
R2 = R0 << 5;
[FP+-44] = R2;
R0 = [FP+-44];
R1 = [FP+-40];
[FP+-44] = R0;
[FP+-40] = R1;
R0 = -1 (X);
R1 = [FP+-44];
R1 = R1 & R0;
[FP+-44] = R1;
R0 = 15 (X);
R2 = [FP+-40];
R2 = R2 & R0;
R2 = R3;
R0 = R2;
R1 = 0 (X);
R2 = -1 (X);
R0 = R0 & R2;
R2 = 15 (X);
R1 = R1 & R2;
R2 = R0 >> 27;
R7 = R1 << 5;
[FP+-32] = R7;
R7 = [FP+-32];
R7 = R2 | R7;
[FP+-32] = R7;
R2 = R0 << 5;
[FP+-36] = R2;
R0 = [FP+-36];
R1 = [FP+-32];
[FP+-36] = R0;
[FP+-32] = R1;
R0 = -1 (X);
R1 = [FP+-36];
R1 = R1 & R0;
[FP+-36] = R1;
R0 = 15 (X);
R2 = [FP+-32];
R2 = R2 & R0;
R0 = R3;
R0 <<= 2;
R0 += 3;
R0 += 3;
R0 >>= 2;
P1 = R0;
P2 = P1 << 2;
SP -= P2;
[FP+-28] = SP;
R0 = [FP+-28];
R0 += 3;
R0 >>= 2;
R0 <<= 2;
[FP+-28] = R0;
R0 = [FP+-28];
[FP+-8] = R0;
R0 = [FP+-12];
R0 += 4;
[FP+-16] = R0;
R0 = [FP+-8];
[FP+-20] = R0;
R0 = 0 (X);
[FP+-4] = R0;
jump.s .L6;
.L7:
R1 = [FP+-20];
R0 = [FP+-4];
R0 <<= 2;
R1 = R1 + R0;
P1 = R1;
R0 = [FP+-4];
R1 = R0 << 1;
R0 = [FP+32];
R0 = R0 + R1;
P2 = R0;
R0 = W [P2] (Z);
W [P1] = R0;
R1 = [FP+-20];
R0 = [FP+-4];
R0 <<= 1;
R0 += 1;
R0 <<= 1;
R1 = R1 + R0;
P1 = R1;
R0 = [FP+-4];
R1 = R0 << 1;
R0 = [FP+36];
R0 = R0 + R1;
P2 = R0;
R0 = W [P2] (Z);
W [P1] = R0;
R0 = [FP+-4];
R0 += 1;
[FP+-4] = R0;
.L6:
R1 = [FP+48];
R0 = [FP+-4];
cc =R0<R1;
if cc jump .L7;
R0 = [FP+48];
P0 = [FP+-20];
I0 = P0;
B0 = P0;
L0 = 0;
P2 = [FP+-16];
I2 = P2;
L2 = 0;
P4 = [FP+52];
P0 = [FP+28];
P1 = [FP+40];
R1 = [P4++];
R1 <<= 3;
R1.L = R1 (RND);
R2 = W[P0++];
R1.L = R1.L + R2.L;
W[P1++] = R1;
R2 = PACK(R1.L, R2.L);
[P2] = R2;
R0 += -1;
R3 = 0;
LC0 = R0;
LOOP filter_start256 LC0;
LOOP_BEGIN filter_start256;
R3 += 1;
LC1 = R3;
R1 = [P4++];
A1 = R1;
A0 = 0;
I0 = B0;
I2 = P2;
P2 += 4;
R4 = [I0++] || R5 = [I2--];
LOOP filter_start_inner256 LC1;
LOOP_BEGIN filter_start_inner256;
A1 -= R4.H*R5.H, A0 += R4.L*R5.L (IS) || R4 = [I0++] || R5 = [I2--];
LOOP_END filter_start_inner256;
A0 += A1;
R4 = A0;
R4 <<= 3;
R4.L = R4 (RND);
R2 = W[P0++];
R4.L = R4.L + R2.L;
W[P1++] = R4;
R2 = PACK(R4.L, R2.L);
[P2] = R2;
LOOP_END filter_start256;
R0 = [FP+48];
R0 <<= 1;
I0 = B0;
R0 <<= 1;
L0 = R0;
R0 = [FP+48];
R2 = [FP+44];
R2 = R2 - R0;
R4 = [I0++];
LC0 = R2;
P3 = R0;
R0 <<= 2;
R0 += 8;
I2 = P2;
M0 = R0;
A1 = A0 = 0;
R5 = [I2--];
LOOP filter_mid256 LC0;
LOOP_BEGIN filter_mid256;
LOOP filter_mid_inner256 LC1=P3;
LOOP_BEGIN filter_mid_inner256;
A1 -= R4.H*R5.H, A0 += R4.L*R5.L (IS) || R4 = [I0++] || R5 = [I2--];
LOOP_END filter_mid_inner256;
R0 = (A0 += A1) || I2 += M0;
R0 = R0 << 3 || R5 = W[P0++];
R0.L = R0 (RND);
R0.L = R0.L + R5.L;
R5 = PACK(R0.L, R5.L) || W[P1++] = R0;
A1 = A0 = 0 || [I2--] = R5
LOOP_END filter_mid256;
I2 += 4;
P2 = I2;
P4 = [FP+52];
R0 = [FP+48];
LC0 = R0;
P0 = B0;
A1 = A0 = 0;
LOOP mem_update256 LC0;
LOOP_BEGIN mem_update256;
I2 = P2;
I0 = P0;
P0 += 4;
R0 = LC0;
LC1 = R0;
R5 = [I2--] || R4 = [I0++];
LOOP mem_accum256 LC1;
LOOP_BEGIN mem_accum256;
A1 -= R4.H*R5.H, A0 += R4.L*R5.L (IS) || R4 = [I0++] || R5 = [I2--];
LOOP_END mem_accum256;
R0 = (A0 += A1);
A1 = A0 = 0 || [P4++] = R0;
LOOP_END mem_update256;
L0 = 0;
SP = [FP+-24];
SP = [FP+-68];
UNLINK;
P4 = [SP++];
P3 = [SP++];
R5 = [SP++];
R4 = [SP++];
( r7:7 ) = [sp++];
rts;
.size _filter_mem16, .-_filter_mem16
|
stsp/binutils-ia16
| 3,614
|
gas/testsuite/gas/bfin/flow2.s
|
.EXTERN MY_LABEL2;
.section .text;
//
//2 Program Flow Control
//
//JUMP ( Preg ) ; /* indirect to an absolute (not PC-relative)address (a) */
//Preg: P5-0, SP, FP
JUMP (P0);
JUMP (P1);
JUMP (P2);
JUMP (P3);
JUMP (P4);
JUMP (P5);
JUMP (SP);
JUMP (FP);
//JUMP ( PC + Preg ) ; /* PC-relative, indexed (a) */
JUMP (PC+P0);
JUMP (PC+P1);
JUMP (PC+P2);
JUMP (PC+P3);
JUMP (PC+P4);
JUMP (PC+P5);
JUMP (PC+SP);
JUMP (PC+FP);
//JUMP pcrelm2 ; /* PC-relative, immediate (a) or (b) */
JUMP 0X0;
JUMP 1234;
JUMP -1234;
JUMP 2;
JUMP -2;
MY_LABEL1:
//JUMP.S pcrel13m2 ; /* PC-relative, immediate, short (a) */
JUMP.S 0X0;
JUMP.S 1234;
JUMP.S -1234;
JUMP.S 2;
JUMP.S -2;
//JUMP.L pcrel25m2 ; /* PC-relative, immediate, long (b) */
JUMP.L 0XFF800000;
JUMP.L 0X007FFFFE;
JUMP.L 0X0;
JUMP.L 1234;
JUMP.L -1234;
JUMP.L 2;
JUMP.L -2;
//JUMP user_label ; /* user-defined absolute address label, */
JUMP MY_LABEL1;
JUMP MY_LABEL2;
JUMP MY_LABEL1-2;
JUMP MY_LABEL2-2;
//IF CC JUMP pcrel11m2 ; /* branch if CC=1, branch predicted as not taken (a) */
IF CC JUMP 0xFFFFFE08;
IF CC JUMP 0x0B4;
IF CC JUMP 0;
//IF CC JUMP pcrel11m2 (bp) ; /* branch if CC=1, branch predicted as taken (a) */
IF CC JUMP 0xFFFFFE08(bp);
IF CC JUMP 0x0B4(bp);
//IF !CC JUMP pcrel11m2 ; /* branch if CC=0, branch predicted as not taken (a) */
IF !CC JUMP 0xFFFFFF22;
IF !CC JUMP 0X120;
//IF !CC JUMP pcrel11m2 (bp) ; /* branch if CC=0, branch predicted as taken (a) */
IF !CC JUMP 0xFFFFFF22(bp);
IF !CC JUMP 0X120(bp);
//IF CC JUMP user_label ; /* user-defined absolute address label, resolved by the assembler/linker to the appropriate PC-relative instruction (a) */
IF CC JUMP MY_LABEL1;
IF CC JUMP MY_LABEL2;
//IF CC JUMP user_label (bp) ; /* user-defined absolute address label, resolved by the assembler/linker to the appropriate PC-relative instruction (a) */
IF CC JUMP MY_LABEL1(bp);
IF CC JUMP MY_LABEL2(bp);
//IF !CC JUMP user_label ; /* user-defined absolute address label, resolved by the assembler/linker to the appropriate PC-relative instruction (a) */
IF !CC JUMP MY_LABEL1;
IF !CC JUMP MY_LABEL2;
//IF !CC JUMP user_label (bp) ; /* user-defined absolute address label, resolved by the assembler/linker to the appropriate PC-relative instruction (a) */
IF !CC JUMP MY_LABEL1(bp);
IF !CC JUMP MY_LABEL2(bp);
//CALL ( Preg ) ; /* indirect to an absolute (not PC-relative) address (a) */
CALL(P0);
CALL(P1);
CALL(P2);
CALL(P3);
CALL(P4);
CALL(P5);
//CALL ( PC + Preg ) ; /* PC-relative, indexed (a) */
CALL(PC+P0);
CALL(PC+P1);
CALL(PC+P2);
CALL(PC+P3);
CALL(PC+P4);
CALL(PC+P5);
//CALL pcrel25m2 ; /* PC-relative, immediate (b) */
CALL 0x123456 ;
CALL -1234;
//CALL user_label ; /* user-defined absolute address label,resolved by the assembler/linker to the appropriate PC-relative instruction (a) or (b) */
CALL MY_LABEL1;
CALL MY_LABEL2;
RTS ; // Return from Subroutine (a)
RTI ; // Return from Interrupt (a)
RTX ; // Return from Exception (a)
RTN ; // Return from NMI (a)
RTE ; // Return from Emulation (a)
lsetup ( 4, 4 ) lc0 ;
lsetup ( beg_poll_bit, end_poll_bit ) lc0 ;
NOP;NOP;
beg_poll_bit: R0=1(Z);
end_poll_bit: R1=2(Z);
lsetup ( 4, 6 ) lc1 ;
lsetup ( FIR_filter, bottom_of_FIR_filter ) lc1 ;
NOP;
FIR_filter: R0=1(Z);
bottom_of_FIR_filter: R1=2(Z);
lsetup ( 4, 8 ) lc0 = p1 ;
lsetup ( 4, 8 ) lc0 = p1>>1 ;
loop DoItSome LC0 ; /* define loop DoItSome with Loop Counter 0 */
loop_begin DoItSome ; /* place before the first instruction in the loop */
R0=1;
R1=2;
loop_end DoItSome ; /* place after the last instruction in the loop */
loop DoItSomeMore LC1 ; /* define loop MyLoop with Loop Counter 1*/
|
stsp/binutils-ia16
| 3,725
|
gas/testsuite/gas/bfin/arithmetic.s
|
.text
.global abs
abs:
a0 = abs a0;
A0 = ABS A1;
A1 = Abs a0;
a1 = aBs A1;
A1 = abs a1, a0 = ABS A0;
r0 = abs r2;
.text
.global add
add:
sp = sp + P0;
SP = SP + P2;
FP = p1 + fp;
R7 = r7 + r2 (NS);
r6 = r6 + r0 (s);
r4.L = R2.h + r0.L (s);
r5.H = R1.H + R1.L (S);
r6.L = R6.L + r5.l (NS);
.text
.global add_sub_prescale_down
add_sub_prescale_down:
r4.l = r0 + r1 (RND20);
R3.H = r5 + r0 (rnd20);
r1.L = r7 - R5 (rND20);
.text
.global add_sub_prescale_up
add_sub_prescale_up:
r2.L = R0 + R1 (rnd12);
r7.H = r7 + r6 (RND12);
r5.l = r3 - R2 (rNd12);
r2.h = R1 - R2 (Rnd12);
.text
.global add_immediate
add_immediate:
R5 += -64;
r2 += 63;
i0 += 2;
I3 += 2;
I2 += 4;
i1 += 4;
P0 += 4;
sp += 16;
FP += -32;
.text
.global divide_primitive
divide_primitive:
divs (r3, r5);
divq (R3, R5);
.text
.global expadj
expadj:
r6.L = EXPADJ (r5, r4.l);
R5.l = ExpAdj (r0.h, r1.l);
R4.L = expadj (R3, R5.L) (V);
.text
.global max
max:
R6 = MAX (r5, R2);
r0 = max (r1, r3);
.text
.global min
min:
r5 = mIn (r2, R3);
R4 = Min (r7, R0);
.text
.global modify_decrement
modify_decrement:
A0 -= A1;
a0 -= a1 (w32);
fp -= p2;
SP -= P0;
I3 -= M0;
i1 -= m1;
.text
.global modify_increment
modify_increment:
a0 += a1;
A0 += A1 (w32);
Sp += P1 (Brev);
P5 += Fp (BREV);
i2 += M2;
I0 += m0 (brev);
r7 = ( a0 += a1);
r6.l = (A0 += a1);
R0.H = (a0 += A1);
.text
.global multiply16
multiply16:
R0.l = r1.h * r2.l;
r1.L = r5.H * r0.H (s2rnd);
r7.l = r3.l * r3.H (FU);
r4 = r2.H * r5.H (iSS2);
r0 = r1.l * r3.l (is);
r6 = R5.H * r0.l;
r2.h = r7.l * r6.H (M, iu);
r3.H = r5.H * r0.L;
R0.H = r1.L * r1.H (M);
r1 = r7.H * r6.L (M, is);
R5 = r0.l * r2.h;
r3 = r6.H * r0.H (m);
.text
.global multiply32
multiply32:
R4 *= r0;
r7 *= R2;
.text
.global multiply_accumulate
multiply_accumulate:
a0 = r5.l * R7.H (w32);
a0 = r0.h * r0.l;
A0 += R2.L * r3.H (FU);
A0 += r4.h * r1.L;
a0 -= r7.l * r6.H (Is);
A0 -= R5.H * r2.H;
a1 = r1.L * r0.H (M);
A1 = r2.h * r0.L;
A1 = R7.H * R6.L (M, W32);
a1 += r3.l * r2.l (fu);
a1 += R6.H * r1.L;
A1 -= r0.L * R3.H (is);
a1 -= r2.l * r7.h;
.text
.global multiply_accumulate_half
multiply_accumulate_half:
r7.l = (a0 = r6.H * r5.L);
r0.L = (A0 = r1.h * R2.l) (tfu);
R2.L = (a0 += r5.L * r4.L);
r3.l = (A0 += r7.H * r6.h) (T);
r0.l = (a0 -= r3.h * r2.h);
r1.l = (a0 -= r5.L * r4.L) (iH);
r1.H = (a1 = r1.l * R0.H);
r2.h = (A1 = r0.H * r3.L) (M, Iss2);
R6.H = (a1 += r7.l * r7.H);
r7.h = (a1 += R2.L * R3.L) (S2rnd);
r6.H = (A1 -= R4.h * r2.h);
r5.h = (a1 -= r3.H * r7.L) (M, tFu);
.text
.global multiply_accumulate_data_reg
multiply_accumulate_data_reg:
R0 = (A0 = R1.L * R2.L);
R2 = (A0 = r1.l * r2.l) (is);
r4 = (a0 += r7.h * r6.L);
r6 = (A0 += R5.L * r3.h) (s2RND);
R6 = (a0 -= r2.h * r7.l);
r4 = (A0 -= R0.L * r6.H) (FU);
r7 = (a1 = r0.h * r1.l);
R5 = (A1 = r2.H * r3.H) (M, fu);
R3 = (A1 += r7.l * r5.l);
r1 = (a1 += r2.h * r7.h) (iss2);
r3 = (A1 -= r0.l * R0.H);
R5 = (a1 -= R2.l * R7.h) (m, is);
r7 = (a1+=r1.h*r3.h) (IU);
.text
.global negate
negate:
R5 = - r0;
r7 = -R2(s);
R7 = -r2(Ns);
A0 = -A0;
a0 = -a1;
A1 = -A0;
a1 = -A1;
a1 = -a1, a0 = -a0;
.text
.global round_half
round_half:
R5.L = r3 (rnd);
r6.H = r0 (RND);
.text
.global saturate
saturate:
A0 = A0 (S);
a1 = a1 (s);
A1 = a1 (S), a0 = A0 (s);
.text
.global signbits
signbits:
R5.l = signbits r0;
r0.L = SIGNbits r7.H;
r3.l = signBits A0;
r7.L = SIGNBITS a1;
.text
.global subtract
subtract:
R5 = R3 - R0;
R7 = R7 - r0 (S);
r3 = r2 - r1 (ns);
r5.l = R6.H - R7.h (s);
r0.H = r3.l - r3.h (NS);
.text
.global subtract_immediate
subtract_immediate:
I2 -= 2;
i0 -= 4;
|
stsp/binutils-ia16
| 3,836
|
gas/testsuite/gas/bfin/parallel3.s
|
.section .text;
r4.h = r4.l = Sign (R1.h) * R5.h + Sign(r1.L) * R5.L|| [p0] = P0;
R7 = Vit_Max (R5, r2) (ASL)|| [p0++] = P0;
r0 = VIT_MAX (r0, r6) (asr)|| [p0--] = P0;
r5.l = vit_max (R3) (asL)|| [p0+4] = P0;
r2.L = VIT_Max (r2) (Asr)|| [p0+8] = P0;
R5 = ABS R5 (V)|| [p0+60] = P0;
r2 = abs r0 (v)|| [p0+56] = P0;
R5 = r3 +|+ R2|| [p0+52] = P0;
r5 = r3 +|+ r2 (Sco)|| [p1] = P0;
r7 = R0 -|+ r6|| [p1++] = P0;
r2 = R1 -|+ R3 (S)|| [p1--] = P0;
R4 = R0 +|- R2|| [p1+48] = P0;
R5 = r1 +|- r2 (CO)|| [p1+44] = P0;
r6 = r3 -|- R4|| [p1+40] = P0;
r7 = R5 -|- R6 (co)|| [p2] = P0;
r5 = r4 +|+ r3, R7 = r4 -|- r3 (Sco, ASR)|| [p2++] = P0;
R0 = R3 +|+ r6, R1 = R3 -|- R6 (ASL)|| [p2--] = P0;
R7 = R1 +|- R2, R6 = R1 -|+ R2 (S)|| [p2+36] = P0;
r1 = r2 +|- r3, r5 = r2 -|+ r3|| [p2+32] = P0;
R5 = R0 + R1, R6 = R0 - R1|| [p3] = P0;
r0 = r7 + r1, r3 = r7 - r1 (s)|| [p3++] = P0;
r7 = A1 + A0, r5 = A1 - A0|| [p3--] = P0;
r3 = a0 + a1, r6 = a0 - a1 (s)|| [p3+28] = P0;
R1 = R3 >>> 15 (V)|| [p3+24] = P0;
r4 = r0 >>> 4 (v)|| [p4] = P0;
r5 = r0 << 0 (v,s)|| [p4++] = P0;
r2 = r2 << 12 (v, S)|| [p4--] = P0;
R7 = ASHIFT R5 BY R2.L (V)|| [p4+24] = P0;
r0 = Ashift r2 by r0.L (v, s)|| [p4+20] = P0;
R5 = r2 >> 15 (V)|| [p4+16] = P0;
r0 = R1 << 2 (v)|| [p4+12] = P0;
R4 = lshift r1 by r2.L (v)|| [p5] = P0;
R6 = MAX (R0, R1) (V)|| [p5++] = P0;
r0 = min (r2, r7) (v)|| [p5--] = P0;
r2.h = r7.l * r6.h, r2.l = r7.h * r6.h|| [p5+8] = P0;
R4.L = R1.L * R0.L, R4.H = R1.H * R0.H|| [p5+4] = P0;
R0.h = R3.H * r2.l, r0.l=r3.l * r2.l|| [p5] = P0;
r5.h = r3.h * r2.h (M), r5.l = r3.L * r2.L (fu)|| [sp] = P0;
R0 = r4.l * r7.l, r1 = r4.h * r7.h (s2rnd)|| [sp++] = P0;
R7 = R2.l * r5.l, r6 = r2.h * r5.h|| [sp--] = P0;
R0.L = R7.L * R6.L, R0.H = R7.H * R6.H (ISS2)|| [sp+60] = P0;
r3.h = r0.h * r1.h, r3.l = r0.l * r1.l (is)|| [fp] = P0;
a1 = r2.l * r3.h, a0 = r2.h * R3.H|| [fp++] = P0;
A0 = R1.l * R0.L, A1 += R1.h * R0.h|| [fp--] = P0;
A1 = R5.h * R7.H, A0 += r5.L * r7.l (w32)|| [fp+0] = P0;
a1 += r0.H * r1.H, A0 = R0.L * R1.l (is)|| [fp+60] = P0;
a1 = r3.h * r4.h (m), a0 += r3.l * R4.L (FU)|| [p0] = P1;
A1 += r4.H * R4.L, a0 -= r4.h * r4.h|| [p0] = P2;
r0.l = (a0 += R7.l * R6.L), R0.H = (A1 += R7.H * R6.H) (Iss2)|| [p0] = P3;
r2.H = A1, r2.l = (a0 += r0.L * r1.L) (s2rnd)|| [p0] = P4;
r7.h = (a1 = r2.h * r1.h), a0 += r2.l * r1.l|| [p0] = P5;
R2.H = (A1 = R7.L * R6.H), R2.L = (A0 = R7.H * R6.h)|| [p0] = fp;
r6.L = (A0 = R3.L * r2.L), R6.H = (A1 += R3.H * R2.H)|| [p0] = sp;
R7.h = (a1 += r6.h * r5.l), r7.l = (a0=r6.h * r5.h)|| [p0] = r1;
r0.h = (A1 = r7.h * R4.l) (M), R0.l = (a0 += r7.l * r4.l)|| [p0++] = r2;
R5.H = (a1 = r3.h * r2.h) (m), r5.l= (a0 += r3.l * r2.l) (fu)|| [p1--] = r3;
r0.h = (A1 += R3.h * R2.h), R0.L = ( A0 = R3.L * R2.L) (is)|| [i0] = r0;
R3 = (A1 = R6.H * R7.H) (M), A0 -= R6.L * R7.L|| [i0++] = r1;
r1 = (a1 = r7.l * r4.l) (m), r0 = (a0 += r7.h * r4.h)|| [i0--] = r2;
R0 = (a0 += r7.l * r6.l), r1 = (a1+= r7.h * r6.h) (ISS2)|| [i1] = r3;
r4 = (a0 = r6.l * r7.l), r5 = (a1 += r6.h * r7.h)|| [i1++] = r3;
R7 = (A1 += r3.h * r5.H), R6 = (A0 -= r3.l * r5.l)|| [i1--] = r3;
r5 = (a1 -= r6.h * r7.h), a0 += r6.l * r7.l|| [i2] = r0;
R3 = (A1 = r6.h * R7.h), R2 = (A0 = R6.l * r7.l)|| [i2++] = r0;
R5 = (A1 = r3.h * r7.h) (M), r4 = (A0 += R3.l * r7.l) (fu)|| [i2--] = R0;
R3 = a1, r2 = (a0 += r0.l *r1.l) (s2rnd)|| [i3] = R7;
r1 = (a1 += r3.h * r2.h), r0 = (a0 = r3.l * r2.l) (is)|| [i3++] = R7;
R0 = - R1 (V)|| [i3--] = R6;
r7 = - r2 (v)|| [p0++p1] = R0;
R7 = Pack (r0.h, r1.l)|| [p0++p1] = R3;
r6 = PACK (r1.H, r6.H)|| [p0++p2] = r0;
R5 = pack (R2.L, R2.H)|| [p0++p3] = r4;
(R0, R1) = search R2 (lt)|| r2 = [p0+4];
(r6, r7) = Search r0 (LE)|| r5 = [p0--];
(r3, r6) = SEARCH r1 (Gt)|| r0 = [p0+20];
(r4, R5) = sEARch r3 (gE)|| r1 = [p0++];
|
stsp/binutils-ia16
| 1,707
|
gas/testsuite/gas/mips/unaligned-jump-1.s
|
.text
.set noreorder
.space 0x1000
.align 4
.ent foo
foo:
nor $0, $0
jalx bar0
nor $0, $0
jal bar0
nor $0, $0
j bar0
nor $0, $0
jalx bar1
nor $0, $0
jal bar1
nor $0, $0
j bar1
nor $0, $0
jalx bar2
nor $0, $0
jal bar2
nor $0, $0
j bar2
nor $0, $0
jalx bar3
nor $0, $0
jal bar3
nor $0, $0
j bar3
nor $0, $0
jalx bar4
nor $0, $0
jal bar4
nor $0, $0
j bar4
nor $0, $0
jalx bar4 + 1
nor $0, $0
jal bar4 + 1
nor $0, $0
j bar4 + 1
nor $0, $0
jalx bar4 + 2
nor $0, $0
jal bar4 + 2
nor $0, $0
j bar4 + 2
nor $0, $0
jalx bar4 + 3
nor $0, $0
jal bar4 + 3
nor $0, $0
j bar4 + 3
nor $0, $0
jalx bar4 + 4
nor $0, $0
jal bar4 + 4
nor $0, $0
j bar4 + 4
nor $0, $0
jalx bar16
nor $0, $0
jal bar16
nor $0, $0
j bar16
nor $0, $0
jalx bar17
nor $0, $0
jal bar17
nor $0, $0
j bar17
nor $0, $0
jalx bar18
nor $0, $0
jal bar18
nor $0, $0
j bar18
nor $0, $0
jalx bar18 + 1
nor $0, $0
jal bar18 + 1
nor $0, $0
j bar18 + 1
nor $0, $0
jalx bar18 + 2
nor $0, $0
jal bar18 + 2
nor $0, $0
j bar18 + 2
nor $0, $0
jalx bar18 + 3
nor $0, $0
jal bar18 + 3
nor $0, $0
j bar18 + 3
nor $0, $0
jalx bar18 + 4
nor $0, $0
jal bar18 + 4
nor $0, $0
j bar18 + 4
nor $0, $0
jalr $0, $ra
nor $0, $0
.end foo
# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
.align 4, 0
.space 16
.macro obj n:req
.type bar\@, @object
bar\@ :
.byte 0
.size bar\@, . - bar\@
.if \n - 1
obj \n - 1
.endif
.endm
.macro fun n:req
.type bar\@, @function
bar\@ :
.insn
.hword 0
.size bar\@, . - bar\@
.if \n - 1
fun \n - 1
.endif
.endm
.align 4
.set micromips
obj 16
fun 8
|
stsp/binutils-ia16
| 3,676
|
gas/testsuite/gas/mips/r6-removed.s
|
.set reorder
.set eva
abs.ps $f0,$f2
add.ps $f0,$f2,$f2
addi $15,$16,256
alnv.ps $f0,$f2,$f2,$3
bc0f 1f
bc0fl 1f
bc0t 1f
bc0tl 1f
bc1f 1f
bc1fl 1f
bc1t 1f
bc1tl 1f
bc2f 1f
bc2fl 1f
bc2t 1f
bc2tl 1f
bc3f 1f
bc3fl 1f
bc3t 1f
bc3tl 1f
beql $28,$29,1f
bgezal $4,1f
bgezall $28,1f
bgezl $28,1f
bgtzl $28,1f
blezl $28,1f
bltzal $4,1f
bltzall $28,1f
bltzl $28,1f
bnel $28,$29,1f
c.f.s $f0,$f2
c.un.s $f0,$f2
c.eq.s $f0,$f2
c.ueq.s $f0,$f2
c.olt.s $f0,$f2
c.ult.s $f0,$f2
c.ole.s $f0,$f2
c.ule.s $f0,$f2
c.sf.s $f0,$f2
c.ngle.s $f0,$f2
c.seq.s $f0,$f2
c.ngl.s $f0,$f2
c.lt.s $f0,$f2
c.nge.s $f0,$f2
c.le.s $f0,$f2
c.ngt.s $f0,$f2
c.f.ps $f0,$f2
c.un.ps $f0,$f2
c.eq.ps $f0,$f2
c.ueq.ps $f0,$f2
c.olt.ps $f0,$f2
c.ult.ps $f0,$f2
c.ole.ps $f0,$f2
c.ule.ps $f0,$f2
c.sf.ps $f0,$f2
c.ngle.ps $f0,$f2
c.seq.ps $f0,$f2
c.ngl.ps $f0,$f2
c.lt.ps $f0,$f2
c.nge.ps $f0,$f2
c.le.ps $f0,$f2
c.ngt.ps $f0,$f2
c.f.d $f0,$f2
c.un.d $f0,$f2
c.eq.d $f0,$f2
c.ueq.d $f0,$f2
c.olt.d $f0,$f2
c.ult.d $f0,$f2
c.ole.d $f0,$f2
c.ule.d $f0,$f2
c.sf.d $f0,$f2
c.ngle.d $f0,$f2
c.seq.d $f0,$f2
c.ngl.d $f0,$f2
c.lt.d $f0,$f2
c.nge.d $f0,$f2
c.le.d $f0,$f2
c.ngt.d $f0,$f2
c.f.s $fcc2, $f0,$f2
c.un.s $fcc2, $f0,$f2
c.eq.s $fcc2, $f0,$f2
c.ueq.s $fcc2, $f0,$f2
c.olt.s $fcc2, $f0,$f2
c.ult.s $fcc2, $f0,$f2
c.ole.s $fcc2, $f0,$f2
c.ule.s $fcc2, $f0,$f2
c.sf.s $fcc2, $f0,$f2
c.ngle.s $fcc2, $f0,$f2
c.seq.s $fcc2, $f0,$f2
c.ngl.s $fcc2, $f0,$f2
c.lt.s $fcc2, $f0,$f2
c.nge.s $fcc2, $f0,$f2
c.le.s $fcc2, $f0,$f2
c.ngt.s $fcc2, $f0,$f2
c.f.ps $fcc2, $f0,$f2
c.un.ps $fcc2, $f0,$f2
c.eq.ps $fcc2, $f0,$f2
c.ueq.ps $fcc2, $f0,$f2
c.olt.ps $fcc2, $f0,$f2
c.ult.ps $fcc2, $f0,$f2
c.ole.ps $fcc2, $f0,$f2
c.ule.ps $fcc2, $f0,$f2
c.sf.ps $fcc2, $f0,$f2
c.ngle.ps $fcc2, $f0,$f2
c.seq.ps $fcc2, $f0,$f2
c.ngl.ps $fcc2, $f0,$f2
c.lt.ps $fcc2, $f0,$f2
c.nge.ps $fcc2, $f0,$f2
c.le.ps $fcc2, $f0,$f2
c.ngt.ps $fcc2, $f0,$f2
c.f.d $fcc2, $f0,$f2
c.un.d $fcc2, $f0,$f2
c.eq.d $fcc2, $f0,$f2
c.ueq.d $fcc2, $f0,$f2
c.olt.d $fcc2, $f0,$f2
c.ult.d $fcc2, $f0,$f2
c.ole.d $fcc2, $f0,$f2
c.ule.d $fcc2, $f0,$f2
c.sf.d $fcc2, $f0,$f2
c.ngle.d $fcc2, $f0,$f2
c.seq.d $fcc2, $f0,$f2
c.ngl.d $fcc2, $f0,$f2
c.lt.d $fcc2, $f0,$f2
c.nge.d $fcc2, $f0,$f2
c.le.d $fcc2, $f0,$f2
c.ngt.d $fcc2, $f0,$f2
cvt.ps.s $f2,$f3,$f4
jalx 1f
ldxc1 $f0,$0($2)
luxc1 $f0,$0($2)
lwl $2, 1($3)
lwle $4,0($6)
lwr $2, 1($3)
lwre $4,0($6)
lwxc1 $f0,$0($2)
madd $2,$3
maddu $2,$3
madd.s $f5,$f6,$f7,$f8
madd.d $f6,$f8,$f10,$f12
madd.ps $f6,$f8,$f10,$f12
mfhi $2
mflo $2
mov.ps $f10,$f20
movf $8,$9,$fcc0
movf.s $f8,$f9,$fcc0
movf.d $f8,$f10,$fcc0
movf.ps $f8,$f10,$fcc0
movn $2,$3,$4
movn.s $f0,$f2,$10
movn.d $f0,$f2,$10
movn.ps $f0,$f2,$10
movt $10,$11,$fcc2
movt.s $f20,$f21,$fcc2
movt.d $f20,$f22,$fcc2
movt.ps $f20,$f22,$fcc2
movz $5,$6,$7
movz.s $f0,$f2,$10
movz.d $f0,$f2,$10
movz.ps $f0,$f2,$10
msub $2,$3
msubu $2,$3
msub.s $f5,$f6,$f7,$f8
msub.d $f6,$f8,$f10,$f12
msub.ps $f6,$f8,$f10,$f12
mthi $2
mtlo $2
mul.ps $f10,$f20,$f22
mult $2,$3
multu $2,$3
neg.ps $f22,$f24
nmadd.s $f5,$f6,$f7,$f8
nmadd.d $f6,$f8,$f10,$f12
nmadd.ps $f6,$f8,$f10,$f12
nmsub.s $f5,$f6,$f7,$f8
nmsub.d $f6,$f8,$f10,$f12
nmsub.ps $f6,$f8,$f10,$f12
pll.ps $f24,$f20,$f26
plu.ps $f24,$f20,$f26
pul.ps $f24,$f20,$f26
puu.ps $f24,$f20,$f26
prefx 5, $3($5)
sdxc1 $f0,$0($2)
sub.ps $f20,$f28,$f26
suxc1 $f0,$0($2)
swl $2, 1($3)
swle $4,0($6)
swr $2, 1($3)
swre $4,0($6)
swxc1 $f0,$0($2)
teqi $11,1024
tgei $11,1024
tgeiu $11,1024
tlti $11,1024
tltiu $11,1024
tnei $11,1024
1:
|
stsp/binutils-ia16
| 1,542
|
gas/testsuite/gas/mips/vr4120-2.s
|
# Test workarounds selected by -mfix-vr4120.
# Note that we only work around bugs gcc may generate.
r21:
macc $4,$5,$6
div $0,$7,$8
or $4,$5
dmacc $4,$5,$6
div $0,$7,$8
or $4,$5
macc $4,$5,$6
divu $0,$7,$8
or $4,$5
dmacc $4,$5,$6
divu $0,$7,$8
or $4,$5
macc $4,$5,$6
ddiv $0,$7,$8
or $4,$5
dmacc $4,$5,$6
ddiv $0,$7,$8
or $4,$5
macc $4,$5,$6
ddivu $0,$7,$8
or $4,$5
dmacc $4,$5,$6
ddivu $0,$7,$8
or $4,$5
r23:
dmult $4,$5
dmult $6,$7
or $4,$5
dmultu $4,$5
dmultu $6,$7
or $4,$5
dmacc $4,$5,$6
dmacc $6,$7,$8
or $4,$5
dmult $4,$5
dmacc $6,$7,$8
or $4,$5
r24:
macc $4,$5,$6
mtlo $7
dmacc $4,$5,$6
mtlo $7
macc $4,$5,$6
mthi $7
dmacc $4,$5,$6
mthi $7
vr4181a_md1:
macc $4,$5,$6
mult $4,$5
or $4,$5
macc $4,$5,$6
multu $4,$5
or $4,$5
macc $4,$5,$6
dmult $4,$5
or $4,$5
macc $4,$5,$6
dmultu $4,$5
or $4,$5
dmacc $4,$5,$6
mult $4,$5
or $4,$5
dmacc $4,$5,$6
multu $4,$5
or $4,$5
dmacc $4,$5,$6
dmult $4,$5
or $4,$5
dmacc $4,$5,$6
dmultu $4,$5
or $4,$5
vr4181a_md4:
dmult $4,$5
macc $4,$5,$6
or $4,$5
dmultu $4,$5
macc $4,$5,$6
or $4,$5
div $0,$4,$5
macc $4,$5,$6
or $4,$5
divu $0,$4,$5
macc $4,$5,$6
or $4,$5
ddiv $0,$4,$5
macc $4,$5,$6
or $4,$5
ddivu $0,$4,$5
macc $4,$5,$6
or $4,$5
dmult $4,$5
dmacc $4,$5,$6
or $4,$5
dmultu $4,$5
dmacc $4,$5,$6
or $4,$5
div $0,$4,$5
dmacc $4,$5,$6
or $4,$5
divu $0,$4,$5
dmacc $4,$5,$6
or $4,$5
ddiv $0,$4,$5
dmacc $4,$5,$6
or $4,$5
ddivu $0,$4,$5
dmacc $4,$5,$6
or $4,$5
|
stsp/binutils-ia16
| 6,017
|
gas/testsuite/gas/mips/r5900-full-vu0.s
|
.set noreorder
.set noat
.globl text_label .text
text_label:
# VU Macromode instruction set
vabs.xyzw $vf0xyzw,$vf31xyzw
vadd.xyzw $vf10xyzw,$vf31xyzw,$vf0xyzw
vaddi.xyzw $vf10xyzw,$vf31xyzw,$I
vaddq.xyzw $vf10xyzw,$vf31xyzw,$Q
vaddw.xyzw $vf10xyzw,$vf31xyzw,$vf1w
vaddx.xyzw $vf10xyzw,$vf31xyzw,$vf1x
vaddy.xyzw $vf10xyzw,$vf31xyzw,$vf1y
vaddz.xyzw $vf10xyzw,$vf31xyzw,$vf1z
vadda.xyzw $ACCxyzw,$vf0xyzw,$vf31xyzw
vaddai.xyzw $ACCxyzw,$vf31xyzw,$I
vaddaq.xyzw $ACCxyzw,$vf31xyzw,$Q
vaddaw.xyzw $ACCxyzw,$vf31xyzw,$vf1w
vaddax.xyzw $ACCxyzw,$vf31xyzw,$vf1x
vadday.xyzw $ACCxyzw,$vf31xyzw,$vf1y
vaddaz.xyzw $ACCxyzw,$vf31xyzw,$vf1z
vcallms 0x0
vcallms 0x340
vcallms 0xff8
vcallmsr $vi27
vclipw.xyz $vf31xyz,$vf1w
vclipw $vf31xyz,$vf1w
vdiv $Q,$vf1y,$vf11x
vftoi0.xyzw $vf0xyzw,$vf31xyzw
vftoi4.xyzw $vf0xyzw,$vf31xyzw
vftoi12.xyzw $vf0xyzw,$vf31xyzw
vftoi15.xyzw $vf0xyzw,$vf31xyzw
viadd $vi1,$vi15,$vi0
viaddi $vi0,$vi15,-1
viand $vi1,$vi15,$vi0
vilwr.w $vi0,($vi15)
vilwr.x $vi0,($vi15)
vilwr.y $vi0,($vi15)
vilwr.z $vi0,($vi15)
vior $vi1,$vi15,$vi0
viswr.w $vi0,($vi15)
viswr.x $vi0,($vi15)
viswr.y $vi0,($vi15)
viswr.z $vi0,($vi15)
visub $vi1,$vi15,$vi0
vitof0.xyzw $vf0xyzw,$vf31xyzw
vitof4.xyzw $vf0xyzw,$vf31xyzw
vitof12.xyzw $vf0xyzw,$vf31xyzw
vitof15.xyzw $vf0xyzw,$vf31xyzw
vlqd.xyzw $vf0xyzw,(--$vi15)
vlqi.xyzw $vf0xyzw,($vi15++)
vmadd.xyzw $vf10xyzw,$vf31xyzw,$vf0xyzw
vmaddi.xyzw $vf10xyzw,$vf31xyzw,$I
vmaddq.xyzw $vf10xyzw,$vf31xyzw,$Q
vmaddw.xyzw $vf10xyzw,$vf31xyzw,$vf1w
vmaddx.xyzw $vf10xyzw,$vf31xyzw,$vf1x
vmaddy.xyzw $vf10xyzw,$vf31xyzw,$vf1y
vmaddz.xyzw $vf10xyzw,$vf31xyzw,$vf1z
vmaddz $vf6, $vf3, $vf5
vmadda.xyzw $ACCxyzw,$vf31xyzw,$vf0xyzw
vmaddai.xyzw $ACCxyzw,$vf31xyzw,$I
vmaddaq.xyzw $ACCxyzw,$vf31xyzw,$Q
vmaddaw.xyzw $ACCxyzw,$vf31xyzw,$vf1w
vmaddax.xyzw $ACCxyzw,$vf31xyzw,$vf1x
vmaddax $ACC, $vf1, $vf5
vmadday.xyzw $ACCxyzw,$vf31xyzw,$vf1y
vmadday $ACC, $vf2, $vf5
vmaddaz.xyzw $ACCxyzw,$vf31xyzw,$vf1z
vmax.xyzw $vf10xyzw,$vf31xyzw,$vf0xyzw
vmaxi.xyzw $vf10xyzw,$vf31xyzw,$I
vmaxw.xyzw $vf10xyzw,$vf31xyzw,$vf1w
vmaxx.xyzw $vf10xyzw,$vf31xyzw,$vf1x
vmaxy.xyzw $vf10xyzw,$vf31xyzw,$vf1y
vmaxz.xyzw $vf10xyzw,$vf31xyzw,$vf1z
vmfir.xyzw $vf0xyzw,$vi15
vmini.xyzw $vf10xyzw,$vf31xyzw,$vf0xyzw
vminii.xyzw $vf10xyzw,$vf31xyzw,$I
vminiw.xyzw $vf10xyzw,$vf31xyzw,$vf1w
vminix.xyzw $vf10xyzw,$vf31xyzw,$vf1x
vminiy.xyzw $vf10xyzw,$vf31xyzw,$vf1y
vminiz.xyzw $vf10xyzw,$vf31xyzw,$vf1z
vmove.xyzw $vf0xyzw,$vf31xyzw
vmr32.xyzw $vf0xyzw,$vf31xyzw
vmsub.xyzw $vf10xyzw,$vf31xyzw,$vf0xyzw
vmsubi.xyzw $vf10xyzw,$vf31xyzw,$I
vmsubq.xyzw $vf10xyzw,$vf31xyzw,$Q
vmsubw.xyzw $vf10xyzw,$vf31xyzw,$vf1w
vmsubx.xyzw $vf10xyzw,$vf31xyzw,$vf1x
vmsuby.xyzw $vf10xyzw,$vf31xyzw,$vf1y
vmsubz.xyzw $vf10xyzw,$vf31xyzw,$vf1z
vmsuba.xyzw $ACCxyzw,$vf0xyzw,$vf31xyzw
vmsubai.xyzw $ACCxyzw,$vf31xyzw,$I
vmsubaq.xyzw $ACCxyzw,$vf31xyzw,$Q
vmsubaw.xyzw $ACCxyzw,$vf31xyzw,$vf1w
vmsubax.xyzw $ACCxyzw,$vf31xyzw,$vf1x
vmsubay.xyzw $ACCxyzw,$vf31xyzw,$vf1y
vmsubaz.xyzw $ACCxyzw,$vf31xyzw,$vf1z
vmtir $vi0,$vf1z
vmul.xyzw $vf10xyzw,$vf31xyzw,$vf0xyzw
vmuli.xyzw $vf10xyzw,$vf31xyzw,$I
vmulq.xyzw $vf10xyzw,$vf31xyzw,$Q
vmulw.xyzw $vf10xyzw,$vf31xyzw,$vf1w
vmulx.xyzw $vf10xyzw,$vf31xyzw,$vf1x
vmuly.xyzw $vf10xyzw,$vf31xyzw,$vf1y
vmulz.xyzw $vf10xyzw,$vf31xyzw,$vf1z
vmula.xyzw $ACCxyzw,$vf31xyzw,$vf0xyzw
vmulai.xyzw $ACCxyzw,$vf31xyzw,$I
vmulaq.xyzw $ACCxyzw,$vf31xyzw,$Q
vmulaw.xyzw $ACCxyzw,$vf31xyzw,$vf1w
vmulaw $ACC, $vf4, $vf0
vmulax.xyzw $ACCxyzw,$vf31xyzw,$vf1x
vmulay.xyzw $ACCxyzw,$vf31xyzw,$vf1y
vmulaz.xyzw $ACCxyzw,$vf31xyzw,$vf1z
vnop
vopmula.xyz $ACCxyz,$vf31xyz,$vf0xyz
vopmsub.xyz $vf10xyz,$vf31xyz,$vf0xyz
vrget.xyzw $vf0xyzw,$R
vrinit $R,$vf1w
vrnext.xyzw $vf0xyzw,$R
vrsqrt $Q,$vf1w,$vf11x
vrxor $R,$vf1x
vsqd.xyzw $vf31xyzw,(--$vi0)
vsqi.xyzw $vf31xyzw,($vi0++)
vsqrt $Q,$vf11z
vsub.xyzw $vf10xyzw,$vf31xyzw,$vf0xyzw
vsubi.xyzw $vf10xyzw,$vf31xyzw,$I
vsubq.xyzw $vf10xyzw,$vf31xyzw,$Q
vsubw.xyzw $vf10xyzw,$vf31xyzw,$vf1w
vsubx.xyzw $vf10xyzw,$vf31xyzw,$vf1x
vsuby.xyzw $vf10xyzw,$vf31xyzw,$vf1y
vsubz.xyzw $vf10xyzw,$vf31xyzw,$vf1z
vsuba.xyzw $ACCxyzw,$vf31xyzw,$vf0xyzw
vsubai.xyzw $ACCxyzw,$vf31xyzw,$I
vsubaq.xyzw $ACCxyzw,$vf31xyzw,$Q
vsubaw.xyzw $ACCxyzw,$vf31xyzw,$vf1w
vsubax.xyzw $ACCxyzw,$vf31xyzw,$vf1x
vsubay.xyzw $ACCxyzw,$vf31xyzw,$vf1y
vsubaz.xyzw $ACCxyzw,$vf31xyzw,$vf1z
vwaitq
# Implicit suffixes
vadd.xyzw $vf10,$vf31,$vf0
vadd.xy $vf10,$vf31,$vf0
vadd.xyzw $vf10,$vf31,$vf0
vlqi.xy $vf0,($vi15++)
# VU floating point registers
vadd.xyzw $vf0,$vf1,$vf2
vadd.xyzw $vf3,$vf4,$vf5
vadd.xyzw $vf6,$vf7,$vf8
vadd.xyzw $vf9,$vf10,$vf11
vadd.xyzw $vf12,$vf13,$vf14
vadd.xyzw $vf15,$vf16,$vf17
vadd.xyzw $vf18,$vf19,$vf20
vadd.xyzw $vf21,$vf22,$vf23
vadd.xyzw $vf24,$vf25,$vf26
vadd.xyzw $vf27,$vf28,$vf29
vadd.xyzw $vf30,$vf31,$vf0
# VU integer registers
viadd $vi0,$vi1,$vi2
viadd $vi3,$vi4,$vi5
viadd $vi6,$vi7,$vi8
viadd $vi9,$vi10,$vi11
viadd $vi12,$vi13,$vi14
viadd $vi15,$vi16,$vi17
viadd $vi18,$vi19,$vi20
viadd $vi21,$vi22,$vi23
viadd $vi24,$vi25,$vi26
viadd $vi27,$vi28,$vi29
viadd $vi30,$vi31,$vi0
# Floating point transfer to VU
lqc2 $0,0($0)
lqc2 $1, 0x7fff($1)
lqc2 $8, -0x8000($8)
lqc2 $31, -1($31)
# Floating point transfer from VU
sqc2 $0,0($0)
sqc2 $1, 0x7fff($1)
sqc2 $8, -0x8000($8)
sqc2 $31, -1($31)
# Integer transfer from VU
cfc2 $0,$0
cfc2 $0,$31
cfc2.i $0,$0
cfc2.i $0,$31
cfc2.ni $0,$0
cfc2.ni $0,$31
# Integer transfer to VU
ctc2 $0,$0
ctc2 $0,$31
ctc2.i $0,$0
ctc2.i $0,$31
ctc2.ni $0,$0
ctc2.ni $0,$31
# Floating point transfer from VU
qmfc2 $0,$0
qmfc2 $0,$31
qmfc2.i $0,$0
qmfc2.i $0,$31
qmfc2.ni $0,$0
qmfc2.ni $0,$31
# Floating point transfer to VU
qmtc2 $0,$0
qmtc2 $0,$31
qmtc2.i $0,$0
qmtc2.i $0,$31
qmtc2.ni $0,$0
qmtc2.ni $0,$31
# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
.space 8
|
stsp/binutils-ia16
| 1,206
|
gas/testsuite/gas/mips/mcu.s
|
.text
.set mcu
.ent foo
.globl foo
foo:
iret
aclr 0, 0
aclr 0, ($0)
aclr 0, 0($0)
aclr 1, 0($0)
aclr 2, 0($0)
aclr 3, 0($0)
aclr 4, 0($0)
aclr 5, 0($0)
aclr 6, 0($0)
aclr 7, 0($0)
aclr 7, 0($2)
aclr 7, 0($31)
aclr 7, 2047($31)
aclr 7, -2048($31)
aclr 7, 2048($31)
aclr 7, -2049($31)
aclr 7, 32767($31)
aclr 7, -32768($31)
aclr 7, 65535($4)
aclr 7, 65536($4)
aclr 7, 0xffff0000($4)
aclr 7, 0xffff8000($4)
aclr 7, 0xffff0001($4)
aclr 7, 0xffff8001($4)
aclr 7, 0xf0000000($4)
aclr 7, 0xffffffff($4)
aclr 7, 0x12345678($4)
aclr 1, %lo(foo)($3)
aset 1, %lo(foo)($3)
aset 0, 0
aset 0, ($0)
aset 0, 0($0)
aset 1, 0($0)
aset 2, 0($0)
aset 3, 0($0)
aset 4, 0($0)
aset 5, 0($0)
aset 6, 0($0)
aset 7, 0($0)
aset 7, 0($2)
aset 7, 0($31)
aset 7, 2047($31)
aset 7, -2048($31)
aset 7, 2048($31)
aset 7, -2049($31)
aset 7, 32767($31)
aset 7, -32768($31)
aset 7, 65535($4)
aset 7, 65536($4)
aset 7, 0xffff0000($4)
aset 7, 0xffff8000($4)
aset 7, 0xffff0001($4)
aset 7, 0xffff8001($4)
aset 7, 0xf0000000($4)
aset 7, 0xffffffff($4)
aset 7, 0x12345678($4)
.end foo
# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
.align 2
.space 8
|
stsp/binutils-ia16
| 7,385
|
gas/testsuite/gas/mips/at-1.s
|
.text
foo:
.set at=$1
lw $27, 0x7fff($27)
sw $27, 0x7fff($27)
lw $27, -0x8000($27)
sw $27, -0x8000($27)
lw $27, 0x8000($27)
sw $27, 0x8000($27)
lw $27, -0x8001($27)
sw $27, -0x8001($27)
lw $27, symbol($27)
sw $27, symbol($27)
.set at=$2
lw $27, 0x7fff($27)
sw $27, 0x7fff($27)
lw $27, -0x8000($27)
sw $27, -0x8000($27)
lw $27, 0x8000($27)
sw $27, 0x8000($27)
lw $27, -0x8001($27)
sw $27, -0x8001($27)
lw $27, symbol($27)
sw $27, symbol($27)
.set at=$3
lw $27, 0x7fff($27)
sw $27, 0x7fff($27)
lw $27, -0x8000($27)
sw $27, -0x8000($27)
lw $27, 0x8000($27)
sw $27, 0x8000($27)
lw $27, -0x8001($27)
sw $27, -0x8001($27)
lw $27, symbol($27)
sw $27, symbol($27)
.set at=$a0
lw $27, 0x7fff($27)
sw $27, 0x7fff($27)
lw $27, -0x8000($27)
sw $27, -0x8000($27)
lw $27, 0x8000($27)
sw $27, 0x8000($27)
lw $27, -0x8001($27)
sw $27, -0x8001($27)
lw $27, symbol($27)
sw $27, symbol($27)
.set at=$a1
lw $27, 0x7fff($27)
sw $27, 0x7fff($27)
lw $27, -0x8000($27)
sw $27, -0x8000($27)
lw $27, 0x8000($27)
sw $27, 0x8000($27)
lw $27, -0x8001($27)
sw $27, -0x8001($27)
lw $27, symbol($27)
sw $27, symbol($27)
.set at=$a2
lw $27, 0x7fff($27)
sw $27, 0x7fff($27)
lw $27, -0x8000($27)
sw $27, -0x8000($27)
lw $27, 0x8000($27)
sw $27, 0x8000($27)
lw $27, -0x8001($27)
sw $27, -0x8001($27)
lw $27, symbol($27)
sw $27, symbol($27)
.set at=$a3
lw $27, 0x7fff($27)
sw $27, 0x7fff($27)
lw $27, -0x8000($27)
sw $27, -0x8000($27)
lw $27, 0x8000($27)
sw $27, 0x8000($27)
lw $27, -0x8001($27)
sw $27, -0x8001($27)
lw $27, symbol($27)
sw $27, symbol($27)
.set at=$8
lw $27, 0x7fff($27)
sw $27, 0x7fff($27)
lw $27, -0x8000($27)
sw $27, -0x8000($27)
lw $27, 0x8000($27)
sw $27, 0x8000($27)
lw $27, -0x8001($27)
sw $27, -0x8001($27)
lw $27, symbol($27)
sw $27, symbol($27)
.set at=$9
lw $27, 0x7fff($27)
sw $27, 0x7fff($27)
lw $27, -0x8000($27)
sw $27, -0x8000($27)
lw $27, 0x8000($27)
sw $27, 0x8000($27)
lw $27, -0x8001($27)
sw $27, -0x8001($27)
lw $27, symbol($27)
sw $27, symbol($27)
.set at=$10
lw $27, 0x7fff($27)
sw $27, 0x7fff($27)
lw $27, -0x8000($27)
sw $27, -0x8000($27)
lw $27, 0x8000($27)
sw $27, 0x8000($27)
lw $27, -0x8001($27)
sw $27, -0x8001($27)
lw $27, symbol($27)
sw $27, symbol($27)
.set at=$11
lw $27, 0x7fff($27)
sw $27, 0x7fff($27)
lw $27, -0x8000($27)
sw $27, -0x8000($27)
lw $27, 0x8000($27)
sw $27, 0x8000($27)
lw $27, -0x8001($27)
sw $27, -0x8001($27)
lw $27, symbol($27)
sw $27, symbol($27)
.set at=$12
lw $27, 0x7fff($27)
sw $27, 0x7fff($27)
lw $27, -0x8000($27)
sw $27, -0x8000($27)
lw $27, 0x8000($27)
sw $27, 0x8000($27)
lw $27, -0x8001($27)
sw $27, -0x8001($27)
lw $27, symbol($27)
sw $27, symbol($27)
.set at=$13
lw $27, 0x7fff($27)
sw $27, 0x7fff($27)
lw $27, -0x8000($27)
sw $27, -0x8000($27)
lw $27, 0x8000($27)
sw $27, 0x8000($27)
lw $27, -0x8001($27)
sw $27, -0x8001($27)
lw $27, symbol($27)
sw $27, symbol($27)
.set at=$14
lw $27, 0x7fff($27)
sw $27, 0x7fff($27)
lw $27, -0x8000($27)
sw $27, -0x8000($27)
lw $27, 0x8000($27)
sw $27, 0x8000($27)
lw $27, -0x8001($27)
sw $27, -0x8001($27)
lw $27, symbol($27)
sw $27, symbol($27)
.set at=$15
lw $27, 0x7fff($27)
sw $27, 0x7fff($27)
lw $27, -0x8000($27)
sw $27, -0x8000($27)
lw $27, 0x8000($27)
sw $27, 0x8000($27)
lw $27, -0x8001($27)
sw $27, -0x8001($27)
lw $27, symbol($27)
sw $27, symbol($27)
.set at=$s0
lw $27, 0x7fff($27)
sw $27, 0x7fff($27)
lw $27, -0x8000($27)
sw $27, -0x8000($27)
lw $27, 0x8000($27)
sw $27, 0x8000($27)
lw $27, -0x8001($27)
sw $27, -0x8001($27)
lw $27, symbol($27)
sw $27, symbol($27)
.set at=$s1
lw $27, 0x7fff($27)
sw $27, 0x7fff($27)
lw $27, -0x8000($27)
sw $27, -0x8000($27)
lw $27, 0x8000($27)
sw $27, 0x8000($27)
lw $27, -0x8001($27)
sw $27, -0x8001($27)
lw $27, symbol($27)
sw $27, symbol($27)
.set at=$s2
lw $27, 0x7fff($27)
sw $27, 0x7fff($27)
lw $27, -0x8000($27)
sw $27, -0x8000($27)
lw $27, 0x8000($27)
sw $27, 0x8000($27)
lw $27, -0x8001($27)
sw $27, -0x8001($27)
lw $27, symbol($27)
sw $27, symbol($27)
.set at=$s3
lw $27, 0x7fff($27)
sw $27, 0x7fff($27)
lw $27, -0x8000($27)
sw $27, -0x8000($27)
lw $27, 0x8000($27)
sw $27, 0x8000($27)
lw $27, -0x8001($27)
sw $27, -0x8001($27)
lw $27, symbol($27)
sw $27, symbol($27)
.set at=$s4
lw $27, 0x7fff($27)
sw $27, 0x7fff($27)
lw $27, -0x8000($27)
sw $27, -0x8000($27)
lw $27, 0x8000($27)
sw $27, 0x8000($27)
lw $27, -0x8001($27)
sw $27, -0x8001($27)
lw $27, symbol($27)
sw $27, symbol($27)
.set at=$s5
lw $27, 0x7fff($27)
sw $27, 0x7fff($27)
lw $27, -0x8000($27)
sw $27, -0x8000($27)
lw $27, 0x8000($27)
sw $27, 0x8000($27)
lw $27, -0x8001($27)
sw $27, -0x8001($27)
lw $27, symbol($27)
sw $27, symbol($27)
.set at=$s6
lw $27, 0x7fff($27)
sw $27, 0x7fff($27)
lw $27, -0x8000($27)
sw $27, -0x8000($27)
lw $27, 0x8000($27)
sw $27, 0x8000($27)
lw $27, -0x8001($27)
sw $27, -0x8001($27)
lw $27, symbol($27)
sw $27, symbol($27)
.set at=$s7
lw $27, 0x7fff($27)
sw $27, 0x7fff($27)
lw $27, -0x8000($27)
sw $27, -0x8000($27)
lw $27, 0x8000($27)
sw $27, 0x8000($27)
lw $27, -0x8001($27)
sw $27, -0x8001($27)
lw $27, symbol($27)
sw $27, symbol($27)
.set at=$24
lw $27, 0x7fff($27)
sw $27, 0x7fff($27)
lw $27, -0x8000($27)
sw $27, -0x8000($27)
lw $27, 0x8000($27)
sw $27, 0x8000($27)
lw $27, -0x8001($27)
sw $27, -0x8001($27)
lw $27, symbol($27)
sw $27, symbol($27)
.set at=$25
lw $27, 0x7fff($27)
sw $27, 0x7fff($27)
lw $27, -0x8000($27)
sw $27, -0x8000($27)
lw $27, 0x8000($27)
sw $27, 0x8000($27)
lw $27, -0x8001($27)
sw $27, -0x8001($27)
lw $27, symbol($27)
sw $27, symbol($27)
.set at=$26
lw $27, 0x7fff($27)
sw $27, 0x7fff($27)
lw $27, -0x8000($27)
sw $27, -0x8000($27)
lw $27, 0x8000($27)
sw $27, 0x8000($27)
lw $27, -0x8001($27)
sw $27, -0x8001($27)
lw $27, symbol($27)
sw $27, symbol($27)
.set at=$27
lw $26, 0x7fff($26)
sw $26, 0x7fff($26)
lw $26, -0x8000($26)
sw $26, -0x8000($26)
lw $26, 0x8000($26)
sw $26, 0x8000($26)
lw $26, -0x8001($26)
sw $26, -0x8001($26)
lw $26, symbol($26)
sw $26, symbol($26)
.set at=$gp
lw $27, 0x7fff($27)
sw $27, 0x7fff($27)
lw $27, -0x8000($27)
sw $27, -0x8000($27)
lw $27, 0x8000($27)
sw $27, 0x8000($27)
lw $27, -0x8001($27)
sw $27, -0x8001($27)
lw $27, symbol($27)
sw $27, symbol($27)
.set at=$fp
lw $27, 0x7fff($27)
sw $27, 0x7fff($27)
lw $27, -0x8000($27)
sw $27, -0x8000($27)
lw $27, 0x8000($27)
sw $27, 0x8000($27)
lw $27, -0x8001($27)
sw $27, -0x8001($27)
lw $27, symbol($27)
sw $27, symbol($27)
.set at=$sp
lw $27, 0x7fff($27)
sw $27, 0x7fff($27)
lw $27, -0x8000($27)
sw $27, -0x8000($27)
lw $27, 0x8000($27)
sw $27, 0x8000($27)
lw $27, -0x8001($27)
sw $27, -0x8001($27)
lw $27, symbol($27)
sw $27, symbol($27)
.set at=$ra
lw $27, 0x7fff($27)
sw $27, 0x7fff($27)
lw $27, -0x8000($27)
sw $27, -0x8000($27)
lw $27, 0x8000($27)
sw $27, 0x8000($27)
lw $27, -0x8001($27)
sw $27, -0x8001($27)
lw $27, symbol($27)
sw $27, symbol($27)
.set at
lw $27, 0x7fff($27)
sw $27, 0x7fff($27)
lw $27, -0x8000($27)
sw $27, -0x8000($27)
lw $27, 0x8000($27)
sw $27, 0x8000($27)
lw $27, -0x8001($27)
sw $27, -0x8001($27)
lw $27, symbol($27)
sw $27, symbol($27)
# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
.space 8
|
stsp/binutils-ia16
| 1,192
|
gas/testsuite/gas/mips/cp2m.s
|
.text
.set noreorder
foo:
lwc2 $0, 0($0)
lwc2 $1, 0($0)
lwc2 $2, 0($0)
lwc2 $3, 0($0)
lwc2 $4, 0($0)
lwc2 $5, 0($0)
lwc2 $6, 0($0)
lwc2 $7, 0($0)
lwc2 $8, 0($0)
lwc2 $9, 0($0)
lwc2 $10, 0($0)
lwc2 $11, 0($0)
lwc2 $12, 0($0)
lwc2 $13, 0($0)
lwc2 $14, 0($0)
lwc2 $15, 0($0)
lwc2 $16, 0($0)
lwc2 $17, 0($0)
lwc2 $18, 0($0)
lwc2 $19, 0($0)
lwc2 $20, 0($0)
lwc2 $21, 0($0)
lwc2 $22, 0($0)
lwc2 $23, 0($0)
lwc2 $24, 0($0)
lwc2 $25, 0($0)
lwc2 $26, 0($0)
lwc2 $27, 0($0)
lwc2 $28, 0($0)
lwc2 $29, 0($0)
lwc2 $30, 0($0)
lwc2 $31, 0($0)
swc2 $0, 0($0)
swc2 $1, 0($0)
swc2 $2, 0($0)
swc2 $3, 0($0)
swc2 $4, 0($0)
swc2 $5, 0($0)
swc2 $6, 0($0)
swc2 $7, 0($0)
swc2 $8, 0($0)
swc2 $9, 0($0)
swc2 $10, 0($0)
swc2 $11, 0($0)
swc2 $12, 0($0)
swc2 $13, 0($0)
swc2 $14, 0($0)
swc2 $15, 0($0)
swc2 $16, 0($0)
swc2 $17, 0($0)
swc2 $18, 0($0)
swc2 $19, 0($0)
swc2 $20, 0($0)
swc2 $21, 0($0)
swc2 $22, 0($0)
swc2 $23, 0($0)
swc2 $24, 0($0)
swc2 $25, 0($0)
swc2 $26, 0($0)
swc2 $27, 0($0)
swc2 $28, 0($0)
swc2 $29, 0($0)
swc2 $30, 0($0)
swc2 $31, 0($0)
# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
.align 4, 0
.space 16
|
stsp/binutils-ia16
| 1,278
|
gas/testsuite/gas/mips/mips32r2-ill-fp64.s
|
# source file to test illegal mips32r2 instructions
.set noreorder
.set noat
.text
text_label:
# insert and extract position/size checks:
# ext constraint: 0 <= pos < 32
ext $4, $5, -1, 1 # error
ext $4, $5, 0, 1
ext $4, $5, 31, 1
ext $4, $5, 32, 1 # error
# ext constraint: 0 < size <= 32
ext $4, $5, 0, 0 # error
ext $4, $5, 0, 1
ext $4, $5, 0, 32
ext $4, $5, 0, 33 # error
# ext constraint: 0 < (pos+size) <= 32
ext $4, $5, 0, 0 # error
ext $4, $5, 0, 1
ext $4, $5, 31, 1
ext $4, $5, 31, 2 # error
# ins constraint: 0 <= pos < 32
ins $4, $5, -1, 1 # error
ins $4, $5, 0, 1
ins $4, $5, 31, 1
ins $4, $5, 32, 1 # error
# ins constraint: 0 < size <= 32
ins $4, $5, 0, 0 # error
ins $4, $5, 0, 1
ins $4, $5, 0, 32
ins $4, $5, 0, 33 # error
# ins constraint: 0 < (pos+size) <= 32
ins $4, $5, 0, 0 # error
ins $4, $5, 0, 1
ins $4, $5, 31, 1
ins $4, $5, 31, 2 # error
# FP register checks.
#
# Even registers are supported w/ 32-bit FPU, odd
# registers supported only for 64-bit FPU.
# This file tests 64-bit FPU.
mfhc1 $17, $f0
mfhc1 $17, $f1
mthc1 $17, $f0
mthc1 $17, $f1
# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
.space 8
|
stsp/binutils-ia16
| 4,857
|
gas/testsuite/gas/mips/vr4130.s
|
.macro check2 insn
mflo $2
\insn $3,$3
.endm
.macro check3 insn
mfhi $2
\insn $0,$3,$3
.endm
.macro main func
.ent \func
.type \func,@function
\func:
# PART A
#
# Check that mfhis and mflos in .set noreorder blocks are considered.
.set noreorder
mfhi $2
.set reorder
mult $3,$3
.set noreorder
mflo $2
.set reorder
mult $3,$3
# PART B
#
# Check for simple instances.
mfhi $2
mult $3,$3 # 4 nops
mfhi $2
addiu $3,1
mult $4,$4 # 3 nops
mfhi $2
addiu $3,1
addiu $4,1
mult $5,$5 # 2 nops
mfhi $2
addiu $3,1
addiu $4,1
addiu $5,1
mult $6,$6 # 1 nop
mfhi $2
addiu $3,1
addiu $4,1
addiu $5,1
addiu $6,1
mult $7,$7 # 0 nops
mfhi $2
.set noreorder
mult $3,$3 # 4 nops
.set reorder
mfhi $2
.set noreorder
addiu $3,1
mult $4,$4 # 3 nops before noreorder
.set reorder
mfhi $2
.set noreorder
addiu $3,1
addiu $4,1
mult $5,$5 # 2 nops before noreorder
.set reorder
mfhi $2
.set noreorder
addiu $3,1
addiu $4,1
addiu $5,1
mult $6,$6 # 1 nop before noreorder
.set reorder
mfhi $2
.set noreorder
addiu $3,1
addiu $4,1
addiu $5,1
addiu $6,1
mult $7,$7 # 0 nops
.set reorder
# PART C
#
# Check that no nops are inserted after the result has been read.
mfhi $2
addiu $2,1
addiu $3,1
addiu $4,1
mult $5,$5
mfhi $2
addiu $3,1
addiu $2,1
addiu $4,1
mult $5,$5
mfhi $2
addiu $3,1
addiu $4,1
addiu $2,1
mult $5,$5
mfhi $2
addiu $3,1
addiu $4,1
addiu $5,1
mult $2,$2
mfhi $2
.set noreorder
addiu $2,1
addiu $3,1
addiu $4,1
mult $5,$5
.set reorder
mfhi $2
.set noreorder
addiu $3,1
addiu $2,1
addiu $4,1
mult $5,$5
.set reorder
mfhi $2
.set noreorder
addiu $3,1
addiu $4,1
addiu $2,1
mult $5,$5
.set reorder
mfhi $2
.set noreorder
addiu $3,1
addiu $4,1
addiu $5,1
mult $2,$2
.set reorder
# PART D
#
# Check that we still insert the usual interlocking nops in cases
# where the VR4130 errata doesn't apply.
mfhi $2
mult $2,$2 # 2 nops
mfhi $2
addiu $2,1
mult $3,$3 # 1 nop
mfhi $2
addiu $3,1
mult $2,$2 # 1 nop
# PART E
#
# Check for branches whose targets might be affected.
mfhi $2
bnez $3,1f # 2 nops for normal mode, 3 for mips16
mfhi $2
addiu $3,1
bnez $3,1f # 1 nop for normal mode, 2 for mips16
mfhi $2
addiu $3,1
addiu $3,1
bnez $3,1f # 0 nops for normal mode, 1 for mips16
mfhi $2
addiu $3,1
addiu $3,1
addiu $3,1
bnez $3,1f # 0 nops
# PART F
#
# As above, but with no dependencies between the branch and
# the previous instruction. The final branch can use the
# preceding addiu as its delay slot.
mfhi $2
addiu $3,1
bnez $4,1f # 1 nop for normal mode, 2 for mips16
mfhi $2
addiu $3,1
addiu $4,1
bnez $5,1f # 0 nops for normal mode, 1 for mips16
mfhi $2
addiu $3,1
addiu $4,1
addiu $5,1
bnez $6,1f # 0 nops, fill delay slot in normal mode
1:
# PART G
#
# Like part B, but check that intervening .set noreorders don't
# affect the number of nops.
mfhi $2
.set noreorder
addiu $3,1
.set reorder
mult $4,$4 # 3 nops
mfhi $2
.set noreorder
addiu $3,1
.set reorder
addiu $4,1
mult $5,$5 # 2 nops
mfhi $2
addiu $3,1
.set noreorder
addiu $4,1
.set reorder
mult $5,$5 # 2 nops
mfhi $2
.set noreorder
addiu $3,1
addiu $4,1
.set reorder
mult $5,$5 # 2 nops
mfhi $2
addiu $3,1
.set noreorder
addiu $4,1
.set reorder
addiu $5,1
mult $6,$6 # 1 nop
mfhi $2
.set noreorder
addiu $3,1
addiu $4,1
addiu $5,1
.set reorder
mult $6,$6 # 1 nop
mfhi $2
.set noreorder
addiu $3,1
addiu $4,1
addiu $5,1
addiu $6,1
.set reorder
mult $7,$7 # 0 nops
# PART H
#
# Like part B, but the mult occurs in a .set noreorder block.
mfhi $2
.set noreorder
mult $3,$3 # 4 nops
.set reorder
mfhi $2
.set noreorder
addiu $3,1
mult $4,$4 # 3 nops
.set reorder
mfhi $2
addiu $3,1
.set noreorder
addiu $4,1
mult $5,$5 # 2 nops
.set reorder
mfhi $2
.set noreorder
addiu $3,1
addiu $4,1
addiu $5,1
mult $6,$6 # 1 nop
.set reorder
mfhi $2
.set noreorder
addiu $3,1
addiu $4,1
addiu $5,1
addiu $6,1
mult $7,$7 # 0 nops
.set reorder
# PART I
#
# Check every affected multiplication and division instruction.
check2 mult
check2 multu
check2 dmult
check2 dmultu
check3 div
check3 divu
check3 ddiv
check3 ddivu
.end \func
.endm
.set nomips16
main foo
# PART J
#
# Check every affected multiply-accumulate instruction.
check3 macc
check3 macchi
check3 macchis
check3 macchiu
check3 macchius
check3 maccs
check3 maccu
check3 maccus
check3 dmacc
check3 dmacchi
check3 dmacchis
check3 dmacchiu
check3 dmacchius
check3 dmaccs
check3 dmaccu
check3 dmaccus
# PART K
#
# Check that mtlo and mthi are exempt from the VR4130 errata,
# although the usual interlocking delay applies.
mflo $2
mtlo $3
mflo $2
mthi $3
mfhi $2
mtlo $3
mfhi $2
mthi $3
.set mips16
main bar
|
stsp/binutils-ia16
| 3,125
|
gas/testsuite/gas/mips/ase-errors-1.s
|
.set nomicromips
.set mips32r2
.set fp=64
.set dsp # OK
lbux $4,$5($6) # OK
ldx $4,$5($6) # ERROR: 64-bit only
absq_s.qb $3,$4 # ERROR: dspr2 not enabled
.set fp=32 # OK
.set mips32 # ERROR: too low
lbux $4,$5($6) # OK
ldx $4,$5($6) # ERROR: 64-bit only
absq_s.qb $3,$4 # ERROR: dspr2 not enabled
.set nodsp
lbux $4,$5($6) # ERROR: dsp not enabled
ldx $4,$5($6) # ERROR: dsp not enabled
absq_s.qb $3,$4 # ERROR: dspr2 not enabled
.set mips32r2
.set fp=64
.set dspr2 # OK
lbux $4,$5($6) # OK
ldx $4,$5($6) # ERROR: 64-bit only
absq_s.qb $3,$4 # OK
.set fp=32 # OK
.set mips32 # ERROR: too low
lbux $4,$5($6) # OK
ldx $4,$5($6) # ERROR: 64-bit only
absq_s.qb $3,$4 # OK
.set nodspr2
lbux $4,$5($6) # ERROR: dsp not enabled
ldx $4,$5($6) # ERROR: dsp not enabled
absq_s.qb $3,$4 # ERROR: dspr2 not enabled
.set mips32r2
.set fp=64
.set mcu # OK
aclr 4,100($4) # OK
.set fp=32 # OK
.set mips32 # ERROR: too low
aclr 4,100($4) # OK
.set nomcu
aclr 4,100($4) # ERROR: mcu not enabled
.set mips32r2
.set fp=64
.set mdmx # ERROR: needs a 64-bit target
add.ob $f4,$f6,$f8 # OK
.set fp=32 # ERROR: needs fp=64
add.ob $f4,$f6,$f8 # OK
.set nomdmx
add.ob $f4,$f6,$f8 # ERROR: mdmx not enabled
.set mips32r2
.set fp=64
.set mips3d # OK
addr.ps $f4,$f6,$f8 # OK
.set fp=32 # ERROR: needs fp=64
.set mips32 # ERROR: too low
addr.ps $f4,$f6,$f8 # OK
.set nomips3d
addr.ps $f4,$f6,$f8 # ERROR: mips3d not enabled
.set mips32r2
.set fp=64
.set mt # OK
dmt # OK
.set fp=32 # OK
.set mips32 # ERROR: too low
dmt # OK
.set nomt
dmt # ERROR: mt not enabled
.set fp=32
.set mips32
.set smartmips # OK
maddp $4,$5 # OK
.set mips2 # ERROR: too low
maddp $4,$5 # OK
.set nosmartmips
maddp $4,$5 # ERROR: smartmips not enabled
.set mips32r2
.set fp=64
.set virt # OK
hypcall # OK
dmfgc0 $3, $29 # ERROR: 64-bit only
.set fp=32 # OK
.set mips32 # ERROR: too low
hypcall # OK
dmfgc0 $3, $29 # ERROR: 64-bit only
.set novirt
hypcall # ERROR: virt not enabled
dmfgc0 $3, $29 # ERROR: virt not enabled
.set mips32r2
.set fp=64
.set eva # OK
lbue $4,16($5) # OK
.set fp=32 # OK
.set mips32 # ERROR: too low
lbue $4,16($5) # OK
.set noeva
lbue $4,16($5) # ERROR: eva not enabled
.set mips32r6
.set crc # OK
crc32b $4,$7,$4 # OK
crc32d $4,$7,$4 # ERROR: 64-bit only
.set mips32r5 # ERROR: too low
crc32b $4,$7,$4 # OK
.set nocrc
crc32b $4,$7,$4 # ERROR: crc not enabled
.set mips32r6
.set ginv # OK
ginvi $a0 # OK
.set mips32r5 # ERROR: too low
ginvt $a0, 1 # OK
.set noginv
ginvi $a0 # ERROR: ginv not enabled
.set mips32r6
.set eva
llwpe $2, $3, $4 # OK
scwpe $2, $3, $4 # OK
.set noeva
llwpe $2, $3, $4 # ERROR: eva not enabled
scwpe $2, $3, $4 # ERROR: eva not enabled
.set mips32r5
.set eva
llwpe $2, $3, $4 # ERROR: only avaialable on R6
scwpe $2, $3, $4 # ERROR: only avaialable on R6
# There should be no errors after this.
.set fp=32
.set mips1
.set dsp
.set dspr2
.set mcu
.set mdmx
.set mips3d
.set mt
.set smartmips
.set eva
|
stsp/binutils-ia16
| 2,115
|
gas/testsuite/gas/mips/mips-abi32-pic2.s
|
.text
.ent func1
func1:
.frame $sp,0,$31
.set noreorder
.cpload $25 # 0000 lui gp,hi(_gp_disp)
# 0004 addiu gp,gp,lo(_gp_disp)
# 0008 addu gp,gp,t9
.set reorder
.cprestore 8 # 000c sw gp,8(sp)
jal end # 0010 lw t9,got(.text)(gp)
# 0014 nop
# 0018 addiu t9,t9,lo(end)
# 001c jalr t9
# 0020 nop
# 0024 lw gp,8(sp)
# Avoid confusion: avoid the 'lw' above being put into the delay
# slot for the jalr below!
.set noreorder
nop # 0028 nop
.set reorder
jal $25 # 002c jalr t9
# 0030 nop
# 0034 lw gp,8(sp)
.end func1
.text
.ent func2
func2:
.frame $sp,0,$31
.set noreorder
.cpload $25 # 0038 lui gp,hi(_gp_disp)
# 003c addiu gp,gp,lo(_gp_disp)
# 0040 addu gp,gp,t9
.set reorder
.cprestore 32768 # 0044 lui at,0x1
# 0048 addu at,at,sp
# 004c sw gp,-32768(at)
jal end # 0050 lw t9,got(.text)(gp)
# 0054 nop
# 0058 addiu t9,t9,lo(end)
# 005c jalr t9
# 0060 nop
# 0064 lui at,0x1
# 0068 addu at,at,sp
# 006c lw gp,-32768(at)
# Avoid confusion: avoid the 'lw' above being put into the delay
# slot for the jalr below!
.set noreorder
nop # 0070 nop
.set reorder
jal $25 # 0074 jalr t9
# 0078 nop
# 007c lui at,0x1
# 0080 addu at,at,sp
# 0084 lw gp,-32768(at)
.end func2
.text
.ent func3
func3:
.frame $sp,0,$31
.set noreorder
.cpload $25 # 0088 lui gp,hi(_gp_disp)
# 008c addiu gp,gp,lo(_gp_disp)
# 0090 addu gp,gp,t9
.set reorder
.cprestore 65536 # 0094 lui at,0x1
# 0098 addu at,at,sp
# 009c sw gp,0(at)
jal end # 00a0 lw t9,got(.text)(gp)
# 00a4 nop
# 00a8 addiu t9,t9,lo(end)
# 00ac jalr t9
# 00b0 nop
# 00b4 lui at,0x1
# 00b8 addu at,at,sp
# 00bc lw gp,0(at)
# Avoid confusion: avoid the 'lw' above being put into the delay
# slot for the jalr below!
.set noreorder
nop # 00c0 nop
.set reorder
jal $25 # 00c4 jalr t9
# 00c8 nop
# 00cc lui at,0x1
# 00d0 addu at,at,sp
# 00d4 lw gp,0(at)
.end func3
end:
# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
.space 8
|
stsp/binutils-ia16
| 2,130
|
gas/testsuite/gas/mips/unaligned-jump-micromips-1.s
|
.text
.set noreorder
.space 0x1000
.align 4
.set micromips
.ent foo
foo:
not $2, $3
jalx bar0
not $2, $3
jal bar0
not $2, $3
jals bar0
not $2, $3
j bar0
not $2, $3
jalx bar1
not $2, $3
jal bar1
not $2, $3
jals bar1
not $2, $3
j bar1
not $2, $3
jalx bar2
not $2, $3
jal bar2
not $2, $3
jals bar2
not $2, $3
j bar2
not $2, $3
jalx bar3
not $2, $3
jal bar3
not $2, $3
jals bar3
not $2, $3
j bar3
not $2, $3
jalx bar4
not $2, $3
jal bar4
not $2, $3
jals bar4
not $2, $3
j bar4
not $2, $3
jalx bar4 + 1
not $2, $3
jal bar4 + 1
not $2, $3
jals bar4 + 1
not $2, $3
j bar4 + 1
not $2, $3
jalx bar4 + 2
not $2, $3
jal bar4 + 2
not $2, $3
jals bar4 + 2
not $2, $3
j bar4 + 2
not $2, $3
jalx bar4 + 3
not $2, $3
jal bar4 + 3
not $2, $3
jals bar4 + 3
not $2, $3
j bar4 + 3
not $2, $3
jalx bar4 + 4
not $2, $3
jal bar4 + 4
not $2, $3
jals bar4 + 4
not $2, $3
j bar4 + 4
not $2, $3
jalx bar16
not $2, $3
jal bar16
not $2, $3
jals bar16
not $2, $3
j bar16
not $2, $3
jalx bar17
not $2, $3
jal bar17
not $2, $3
jals bar17
not $2, $3
j bar17
not $2, $3
jalx bar18
not $2, $3
jal bar18
not $2, $3
jals bar18
not $2, $3
j bar18
not $2, $3
jalx bar18 + 1
not $2, $3
jal bar18 + 1
not $2, $3
jals bar18 + 1
not $2, $3
j bar18 + 1
not $2, $3
jalx bar18 + 2
not $2, $3
jal bar18 + 2
not $2, $3
jals bar18 + 2
not $2, $3
j bar18 + 2
not $2, $3
jalx bar18 + 3
not $2, $3
jal bar18 + 3
not $2, $3
jals bar18 + 3
not $2, $3
j bar18 + 3
not $2, $3
jalx bar18 + 4
not $2, $3
jal bar18 + 4
not $2, $3
jals bar18 + 4
not $2, $3
j bar18 + 4
not $2, $3
jalr $0, $ra
not $2, $3
.end foo
# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
.align 4, 0
.space 16
.macro obj n:req
.type bar\@, @object
bar\@ :
.byte 0
.size bar\@, . - bar\@
.if \n - 1
obj \n - 1
.endif
.endm
.macro fun n:req
.type bar\@, @function
bar\@ :
.insn
.hword 0
.size bar\@, . - bar\@
.if \n - 1
fun \n - 1
.endif
.endm
.align 4
obj 16
fun 8
|
stsp/binutils-ia16
| 1,048
|
gas/testsuite/gas/mips/elf-rel9-mips16e2.s
|
.set mips16
.ent foo
foo:
move $28, $2
lw $4,%got(l1)($28)
addiu $4,%lo(l1)
lw $4,%got(l1 + 16)($28)
addiu $4,%lo(l1 + 16)
lw $4,%got(l1 + 0x7fec)($28)
addiu $4,%lo(l1 + 0x7fec)
lw $4,%got(l1 + 0x7ff0)($28)
addiu $4,%lo(l1 + 0x7ff0)
lw $4,%got(l1 + 0xffec)($28)
addiu $4,%lo(l1 + 0xffec)
lw $4,%got(l1 + 0xfff0)($28)
addiu $4,%lo(l1 + 0xfff0)
lw $4,%got(l1 + 0x18000)($28)
addiu $4,%lo(l1 + 0x18000)
lw $4,%got(l2)($28)
addiu $4,%lo(l2)
lw $4,%got(l2 + 0xfff)($28)
addiu $4,%lo(l2 + 0xfff)
lw $4,%got(l2 + 0x1000)($28)
addiu $4,%lo(l2 + 0x1000)
lw $4,%got(l2 + 0x12345)($28)
addiu $4,%lo(l2 + 0x12345)
lw $4,%gprel(l3)($28)
lw $4,%gprel(l3 + 4)($28)
lw $4,%gprel(l4)($28)
lw $4,%gprel(l4 + 4)($28)
lw $4,%gprel(l5)($28)
lw $4,%gprel(l5 + 8)($28)
lw $4,%gprel(l5 + 12)($28)
.end foo
# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
.space 16
.align 4, 0
.data
.word 1,2,3,4
l1: .word 4,5
.space 0x1f000 - 24
l2: .word 7,8
.sdata
l3: .word 1
l4: .word 2
.word 3
l5: .word 4
|
stsp/binutils-ia16
| 1,217
|
gas/testsuite/gas/mips/octeon-ill.s
|
.text
.set noreorder
foo:
bbit032 $23,51,foo
nop
bbit0 $23,71,foo
nop
bbit132 $23,49,foo
nop
bbit1 $23,74,foo
nop
cins $2,0,37
cins32 $19,$31,39,12
cins32 $17,$20,7,25
cins $24,$10,64,8
cins $21,$30,50,14
c2 1
bc2f foo
bc2fl foo
bc2t foo
bc2tl foo
cfc2 $25,$12
ctc2 $12,$2
ldc2 $10,0($25)
lwc2 $11,12($31)
mfc2 $24,$1
mfhc2 $17,$20
mtc2 $2,$21
mthc2 $13,$25
sdc2 $22,8($4)
swc2 $2,24($2)
cop2 23
ldc2 $8,foo
lwc2 $16,foo+4
sdc2 $10,0x12345678
swc2 $16,0x12345($15)
dmfc2 $2,0x10000
dmtc2 $2,0x12345
dmfc2 $9,$12
dmfc2 $4,$15,4
dmtc2 $16,$8
dmtc2 $22,$7,$4
exts $26,26,32
exts32 $7,$21,32,10
exts32 $31,$13,3,29
exts $14,$29,70,14
exts $20,$16,39,25
seqi $14,$13,512
seqi $19,-771
snei $18,$30,615
snei $17,-513
|
stsp/binutils-ia16
| 2,153
|
gas/testsuite/gas/mips/elf-rel-got-n32.s
|
# MIPS ELF GOT reloc n32
.data
.align 2
sp1:
.space 60
.globl dg1
dg1:
dl1:
.space 60
.text
.globl fn
.ent fn
.type fn,@function
fn:
.Lfn:
la $5,dg1+0
la $5,dg1+12
la $5,dg1+123456
la $5,dg1+0($17)
la $5,dg1+12($17)
la $5,dg1+123456($17)
lw $5,dg1+0
lw $5,dg1+12
lw $5,dg1+0($17)
lw $5,dg1+12($17)
lw $5,dg1+34($5)
sw $5,dg1+56($5)
ulw $5,dg1+0
ulw $5,dg1+12
ulw $5,dg1+0($17)
ulw $5,dg1+12($17)
ulw $5,dg1+34($5)
usw $5,dg1+56($5)
la $5,dl1+0
la $5,dl1+12
la $5,dl1+123456
la $5,dl1+0($17)
la $5,dl1+12($17)
la $5,dl1+123456($17)
lw $5,dl1+0
lw $5,dl1+12
lw $5,dl1+0($17)
lw $5,dl1+12($17)
lw $5,dl1+34($5)
sw $5,dl1+56($5)
ulw $5,dl1+0
ulw $5,dl1+12
ulw $5,dl1+0($17)
ulw $5,dl1+12($17)
ulw $5,dl1+34($5)
usw $5,dl1+56($5)
la $5,fn
la $5,.Lfn
la $25,fn
la $25,.Lfn
jal fn
jal .Lfn
la $5,dg2+0
la $5,dg2+12
la $5,dg2+123456
la $5,dg2+0($17)
la $5,dg2+12($17)
la $5,dg2+123456($17)
lw $5,dg2+0
lw $5,dg2+12
lw $5,dg2+0($17)
lw $5,dg2+12($17)
lw $5,dg2+34($5)
sw $5,dg2+56($5)
ulw $5,dg2+0
ulw $5,dg2+12
ulw $5,dg2+0($17)
ulw $5,dg2+12($17)
ulw $5,dg2+34($5)
usw $5,dg2+56($5)
la $5,dl2+0
la $5,dl2+12
la $5,dl2+123456
la $5,dl2+0($17)
la $5,dl2+12($17)
la $5,dl2+123456($17)
lw $5,dl2+0
lw $5,dl2+12
lw $5,dl2+0($17)
lw $5,dl2+12($17)
lw $5,dl2+34($5)
sw $5,dl2+56($5)
ulw $5,dl2+0
ulw $5,dl2+12
ulw $5,dl2+0($17)
ulw $5,dl2+12($17)
ulw $5,dl2+34($5)
usw $5,dl2+56($5)
la $5,fn2
la $5,.Lfn2
la $25,fn2
la $25,.Lfn2
jal fn2
jal .Lfn2
# Check that filling delay slots doesn't break our relocations.
la $5,dg1
b .Lfn
lw $5,dg2
b .Lfn2
la $5,dl1
b .Lfn
la $5,dl2+12
b .Lfn2
la $5,dl1+123456
b .Lfn
lw $5,dl2
b .Lfn2
lw $5,dl1+12
b .Lfn
lw $5,dl2+34($5)
b .Lfn2
# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
.align 2
.space 8
.end fn
.globl fn2
.ent fn2
.type fn2,@function
fn2:
.Lfn2:
.end fn2
.globl __start
__start:
# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
.align 2
.space 8
.data
.align 2
sp2:
.space 60
.globl dg2
dg2:
dl2:
.space 60
|
stsp/binutils-ia16
| 1,153
|
gas/testsuite/gas/mips/loongson-2f.s
|
.text
.set noreorder
movz_insns:
movz $2, $3, $4
movnz $2, $3, $4
movn $2, $3, $4
integer_insns:
mult.g $2, $3, $4
multu.g $5, $6, $7
dmult.g $8, $9, $10
dmultu.g $11, $12, $13
div.g $14, $15, $16
divu.g $17, $18, $19
ddiv.g $20, $21, $22
ddivu.g $23, $24, $25
mod.g $26, $27, $28
modu.g $29, $30, $31
dmod.g $2, $3, $4
dmodu.g $5, $6, $7
fpu_insns:
madd.s $f0, $f1, $f2
madd.d $f3, $f4, $f5
madd.ps $f6, $f7, $f8
msub.s $f9, $f10, $f11
msub.d $f12, $f13, $f14
msub.ps $f15, $f16, $f17
nmadd.s $f18, $f19, $f20
nmadd.d $f21, $f22, $f23
nmadd.ps $f24, $f25, $f26
nmsub.s $f27, $f28, $f29
nmsub.d $f0, $f1, $f2
nmsub.ps $f3, $f4, $f5
mips5_ps_insns:
abs.ps $f0, $f2
add.ps $f2, $f4, $f6
c.eq.ps $f8, $f10
c.f.ps $f8, $f10
c.le.ps $f8, $f10
c.lt.ps $f8, $f10
c.nge.ps $f8, $f10
c.ngl.ps $f8, $f10
c.ngle.ps $f8, $f10
c.ngt.ps $f8, $f10
c.ole.ps $f8, $f10
c.olt.ps $f8, $f10
c.seq.ps $f8, $f10
c.sf.ps $f8, $f10
c.ueq.ps $f8, $f10
c.ule.ps $f8, $f10
c.ult.ps $f8, $f10
c.un.ps $f8, $f10
mov.ps $f24, $f26
mul.ps $f2, $f4, $f6
neg.ps $f6, $f8
sub.ps $f22, $f24, $f26
|
stsp/binutils-ia16
| 20,563
|
gas/testsuite/gas/mips/r5900-error-vu0.s
|
.set noreorder
.set noat
.globl text_label .text
text_label:
# All instructions have at least one error in suffix or in register
# usage. All errors should be detected by the assembler.
vabs.w $vf0w, $vf0z
vabs.w $vf0z, $vf31w
vabs.xw $vf0xw, $vf0w
vabs.xw $vf0x, $vf31xw
vabs.xyzw $vf0xyz, $vf0xyzw
vaddai.w $ACCw, $vf0w, $Q
vaddai.w $ACCz, $vf0w, $Q
vaddai.xyzw $ACCxyw, $vf0xyzw, $I
vaddaq.w $ACCw, $vf31z, $Q
vaddaq.x $ACCx, $vf0w, $Q
vaddaq.x $ACCw, $vf1x, $Q
vaddaq.xw $ACCxw, $vf1z, $Q
vaddaq.xw $ACCw, $vf31xw, $Q
vaddaq.xyw $ACCxw, $vf0xyw, $Q
vaddaq.xyw $ACCxyw, $vf1yw, $Q
vaddaq.xyzw $ACCxyzw, $vf1yzw, $Q
vaddaq.z $ACCxz, $vf0xz, $Q
vaddaq.x $ACCxz, $vf1xz, $Q
vaddaq.xzw $ACCxw, $vf0xzw, $Q
vaddaq.y $ACCy, $vf0y, $R
vaddaq.y $ACCy, $vf1y, $I
vaddaq.yw $ACCxyw, $vf0yw, $Q
vaddaq.yw $ACCwy, $vf1yw, $Q
vaddaq.yw $ACCyw, $vf31wy, $Q
vaddaq.yz $ACCy, $vf0yz, $Q
vaddaq.yzw $ACCxyzw, $vf0yzw, $Q
vaddaq.yzw $ACCyzw, $vf1xyzw, $Q
vaddaq.yzw $ACCyzw, $vf31yzw, $Qyzw
vadda.w $ACCw, $vf1w, $vf2z
vadda.w $ACCw, $vf31w, $vf0x
vaddaw.xyzw $ACCxyzw, $vf0xyzw, $vf0x
vaddaw.xyzw $ACCxyzw, $vf0xyzw, $vf31xyzw
vaddaw.xz $ACCxyz, $vf0xz, $vf0w
vaddaw.xz $ACCxzw, $vf0xz, $vf31w
vaddaw.xz $ACCxz, $vf1xyz, $vf2w
vaddaw.xz $ACCxz, $vf31xzw, $vf0w
vaddaw.xz $ACCxz, $vf31z, $vf15w
vaddaw.xzw $ACCxyzw, $vf0xzw, $vf0w
vaddaw.xzw $ACC, $vf0, $vf31z
vaddaw.xzw $ACCxzw, $vf1xzw, $vf2z
vaddaw.xzw $ACCxzw, $vf31xzw, $vf0x
vaddaw.y $ACCy, $vf0y, $vf0z
vaddax.w $ACCw, $vf0w, $vf31z
vaddax.w $ACC, $vf1, $vf2z
vaddax.w $ACCw, $vf31w, $vf0w
vaddax.w $ACCw, $vf31w, $vf15y
vadda.xw $ACCxw, $vf0xw, $vf0xyw
vadda.xw $ACCxw, $vf0xw, $vf31wx
vaddax.x $ACCw, $vf0x, $vf0x
vaddax.x $ACCx, $vf0x, $vf31w
vaddax.x $ACCx, $vf1x, $vf2y
vaddax.x $ACCx, $vf31x, $vf0z
vaddax.xw $ACCxw, $vf0xw, $vf0y
vaddax.xw $ACCxw, $vf0xw, $vf31z
vaddax.xw $ACCxw, $vf1xw, $vf2w
vaddax.xw $ACCxw, $vf31wx, $vf0
vaddax.xyzw $ACC, $vf1, $vf2y
vaddax.xyzw $ACC, $vf31, $vf0z
vadda.zw $ACCzw, $vf0zw, $vf0wz
vadda.zw $ACCzw, $vf0w, $vf31zw
vadda.zw $ACCw, $vf1zw, $vf2zw
vadda.zw $ACCxzw, $vf31zw, $vf0zw
vadda.zw $ACCzw, $vf31xzw, $vf15zw
vadda.zw $ACCzw, $vf31zw, $vf31yzw
vaddaz.x $ACCx, $vf0x, $vf0x
vaddaz.x $ACCx, $vf0x, $vf31y
vaddaz.xw $ACCxw, $vf31w, $vf15z
vaddaz.xw $ACCx, $vf31xw, $vf31z
vaddaz.xy $ACCx, $vf0xy, $vf0z
vaddaz.xy $ACCxyz, $vf0xy, $vf31z
vaddaz.y $ACCx, $vf31y, $vf0z
vaddaz.yw $ACCyw, $vf0yw, $a0
vaddi.w $vf0w, $vf31w, $Q
vaddi.w $vf1w, $vf2w, $R
vaddi.w $vf31w, $vf0w, $ACC
vaddi.w $vf31w, $vf15w, $ACCw
vaddi.xzw $vf1xyzw, $vf2xzw, $I
vaddi.xzw $vf31xw, $vf0xzw, $I
vaddi.xzw $vf31xzw, $vf15xzw, $Ixzw
vaddq.w $vf1w, $vf2w, $Qw
vaddq.w $vf31w, $vf0w, $R
vaddq.w $vf31w, $vf15w, $ACCw
vaddq.w $vf31w, $vf31w, $ACC
vaddq.xyzw $vf31xyzw, $vf32xyzw, $Q
vaddq.xyzw $vf31xyzw, $32, $Q
vaddq.xz $vf0xz, $-1, $Q
vaddw.xyzw $vf31xyzw, $vf15xyzw, $vf7z
vaddx.yw $vf31yw, $vf31yw, $vf31y
vadd.xyz $vf0xyz, $vf0xyz, $vf0xz
vadd.xyz $vf0xyz, $vf0xyz, $vf31xyzw
vadd.xyz $vf0xyz, $vf31xyzw, $vf0xyz
vaddx.yz $vf0yz, $vf0xyz, $vf0x
vaddz.xyzw $vf31xyzw, $vf0xyzw, $vf0x
vaddz.xyzw $vf31xyzw, $vf15xyzw, $vf7y
vaddz.xyzw $vf31xyzw, $vf31xyzw, $vf31w
vcallms -1
vcallms -0x0080
vcallms 0x1
vcallms 0x7
vcallms 0x4
vcallms 0x2
vcallms 0x40000
vcallms 0x40008
vclipw.xyz $vf0xyz, $vf0x
vclipw.xyz $vf0xyz, $vf31y
vclipw.xyz $vf1xyz, $vf2z
vdiv $Q, $vf0x, $vf0xy
vdiv $Q, $vf0xyzw, $vf31y
vdiv $Q, $vf1, $vf2z
vdiv $Q, $vf31x, $vf15
vdiv $0, $vf31w, $vf31y
vdiv $Q, $vf32y, $vf0w
vftoi0.w $vf0w, $vf0x
vftoi0.w $vf0x, $vf31w
vftoi0.w $vf1xw, $vf2w
vftoi0.w $vf31wx, $vf0w
vftoi0.w $vf31w, $vf15wz
vftoi12.xw $vf0xw, $vf0w
vftoi12.xw $vf0x, $vf31xw
vftoi15.xyz $vf31xyzw, $vf15xyz
vftoi15.xyz $vf31xyz, $vf31xyzw
vftoi15.xyzw $vf0xyzw, $vf0xyz
vftoi15.y $vf1y, $vf2x
vftoi15.y $vf31y, $vf0w
viaddi $vi0, $vi0, -17
viaddi $vi1, $vi2, 16
viaddi $vi31, $vi0, 17
viaddi $vi31, $vi15, 32
viaddi $vi31, $vi31, 31
viand $vi0xyzw, $vi0, $vi0
viand $vi0, $vi0xyzw, $vi31
viand $vi0, $vi31, $vi0xyzw
viand $vi1, $vi2, $vi3x
viand $vi31, $vi0y, $vi0
viand $vi31w, $vi15, $vi7
viand $vi31, $vi31, $vi31x
vilwr.w $vi0, ($vi0x)
vilwr.w $vi0, ($vi31y)
vilwr.w $vi1, ($vi2z)
vilwr.w $vi31, ($vi0w)
vilwr.w $vi31, ($vi15xyzw)
vilwr.w $vi31x, ($vi31)
vilwr.x $vi0y, ($vi0)
vilwr.x $vi0z, ($vi31)
vilwr.x $vi1w, ($vi2)
vilwr.x $vi31xyzw, ($vi0)
vilwr.x $vi31xy, ($vi15)
vilwr.x $vi31zw, ($vi31)
vilwr.y $vi0wx, ($vi0)
vilwr.y $vi0xyzw, ($vi31)
vilwr.y $vi1y, ($vi2)
vilwr.y $vi31, ($vi0y)
vilwr.z $vi0z, ($vi0)
vilwr.z $vi0, ($vi31z)
vior $vi0x, $vi0, $vi0
vior $vi0, $vi0x, $vi31
vior $vi0, $vi31, $vi0x
vior $vi1y, $vi2, $vi3
vior $vi31, $vi0y, $vi0
vior $vi31, $vi15, $vi7y
vior $vi31xyzw, $vi31, $vi31
visub $vi0x, $vi0, $vi0
visub $vi0, $vi0y, $vi31
visub $vi0, $vi31, $vi0z
visub $vi1w, $vi2, $vi3
visub $vi31, $vi0xy, $vi0
visub $vi31, $vi15, $vi7zw
visub $vi31, $vi31, $vi31w
viswr.w $vi0, ($vi0w)
viswr.w $vi0w, ($vi31)
viswr.x $vi0x, ($vi31)
viswr.x $vi1, ($vi2x)
viswr.x $vi31x, ($vi0x)
viswr.y $vi31y, ($vi15)
viswr.y $vi31, ($vi31y)
viswr.z $vi0, ($vi0z)
viswr.z $vi0z, ($vi31)
viswr.z $vi1z, ($vi2z)
vitof0.w $vf1w, $vf2x
vitof0.w $vf31z, $vf0w
vitof0.xw $vf0xw, $vf0xyw
vitof0.xw $vf0xw, $vf31w
vitof12.xw $vf31xw, $vf0x
vitof12.xzw $vf0xzw, $vf31xz
vitof12.xzw $vf1xzw, $vf2xw
vitof12.xzw $vf31xzw, $vf0xyzw
vitof12.xzw $vf31xyzw, $vf15xzw
vitof12.xzw $vf31xw, $vf31xzw
vitof12.y $vf0y, $vf0w
vitof12.y $vf0x, $vf31y
vitof15.xyw $vf0xyw, $vf31xw
vitof15.xyw $vf1xyw, $vf2yxw
vitof15.xyw $vf31xwy, $vf15xyw
vitof15.xyzw $vf1.xyzw, $vf2xyzw
vitof15.xyzw $vf31xyzw, $vf0.xyzw
vitof4.xw $vf31xw, $31xw
vitof4.xy $0xy, $vf0xy
vitof4.xyzw $vf0yzw, $vf0xyzw
vitof4.yzw $vf1yzw, $vf2yw
vlqd.w $vf0, (--$vi0w)
vlqd.w $vf0, (--$vi31w)
vlqd.w $vf0x, (--$vi0)
vlqd.x $vf0w, (--$vi0x)
vlqd.x $vf0x, (--$vi31x)
vlqd.x $vf0w, (--$vi0)
vlqd.xw $vf0, (--$vi0xw)
vlqd.xy $vf0, (--$vi0xy)
vlqd.xyw $vf0, (--$vi0xyw)
vlqd.xyz $vf0, (--$vi0xyz)
vlqd.xyzw $vf0, (--$vi0xyzw)
vlqd.xz $vf0, (--$vi0xz)
vlqd.xzw $vf0, (--$vi0xzw)
vlqd.y $vf0, (--$vi0y)
vlqd.yw $vf0, (--$vi0yw)
vlqd.yz $vf0, (--$vi0yz)
vlqd.yzw $vf0, (--$vi0yzw)
vlqd.z $vf0, (--$vi0z)
vlqd.zw $vf0, (--$vi0zw)
vlqi.w $vf0, ($vi0w++)
vlqi.x $vf31, ($vi15x++)
vlqi.xw $vf0x, ($vi0++)
vlqi.xw $vf0, ($vi31xw++)
vlqi.xy $vf0, ($vi0xy++)
vlqi.xy $vf1, ($2xy++)
vlqi.xyw $vf0, ($vi0xyw++)
vlqi.xyz $vf0, ($vi0xyz++)
vlqi.xyzw $vf0, ($vi0xyzw++)
vlqi.xz $vf0, ($vi0xz++)
vlqi.xzw $vf0, ($vi0xzw++)
vlqi.y $vf0, ($vi0y++)
vlqi.yw $vf0, ($vi0yw++)
vlqi.yz $vf0yz, ($vi0yz++)
vlqi.yzw $vf0, ($vi0yzw++)
vlqi.z $vf0, ($vi0z++)
vlqi.zw $vf0, ($vi0zw++)
vmaddai.w $ACCw, $vf0w, $R
vmaddai.w $ACCw, $vf1w, $Iw
vmaddai.w $ACCw, $vf31w, $Q
vmaddai.x $ACCx, $vf0x, $ACC
vmaddai.x $ACCy, $vf1w, $I
vmaddai.x $ACCxy, $vf31x, $I
vmaddai.xw $ACCxw, $vf0xyw, $I
vmaddai.xy $ACCxy, $vf0xyw, $I
vmaddai.xy $ACCxy, $vf1xyz, $I
vmaddai.xy $ACCxyz, $vf31xy, $I
vmaddai.xyw $ACCxy, $vf0xyw, $I
vmaddai.yw $ACCyw, $vf1w, $I
vmaddai.yw $ACCyw, $vf31y, $I
vmaddai.yz $ACCyz, $vf0yz, $R
vmaddaq.xyz $ACCxyz, $vf0xyz, $R
vmaddaq.xyz $ACCxyz, $vf1xyz, $Qxyz
vmaddaq.xzw $ACCxzw, $vf31xzw, $Qxzw
vmaddaq.y $ACCy, $vf0y, $R
vmaddaq.y $ACCy, $vf1y, $ACCy
vmaddaq.y $ACCy, $vf31y, $ACC
vmaddaw.z $ACCz, $vf31z, $vf0x
vmaddaw.zw $ACCzw, $vf31zw, $vf15y
vmaddax.w $ACCw, $vf1w, $vf2w
vmadda.xw $ACCxw, $vf31xw, $vf31wx
vmaddax.xyz $ACCxyz, $vf0xyz, $vf0xyz
vmaddax.xyzw $ACCxyzw, $vf0xyzw, $vf0xyzw
vmaddax.xz $ACCxz, $vf0xz, $vf31xz
vmaddax.xzw $ACCxzw, $vf0xzw, $vf0xzw
vmaddax.z $ACCz, $vf31z, $vf15z
vmaddax.zw $ACCzw, $vf1zw, $vf2zw
vmadday.w $ACCw, $vf1w, $vf2w
vmadday.w $ACCw, $vf31y, $vf0y
vmadday.w $ACCy, $vf31w, $vf15y
vmadday.w $ACCy, $vf31y, $vf31y
vmadday.xyzw $ACCxyzw, $vf0xyzw, $vf0xyzw
vmadday.xyzw $ACCxyzw, $vf0y, $vf31y
vmadday.xyzw $ACCy, $vf1xyzw, $vf2y
vmadday.xyzw $ACCy, $vf31y, $vf0y
vmaddi.x $vf0x, $vf31x, $Ix
vmaddi.xw $vf1xw, $vf2xw, $Ixw
vmaddi.xy $vf31xy, $vf0xy, $Ixy
vmaddi.xyw $vf0xyw, $vf0xyw, $Ixyw
vmaddi.xyzw $vf1xyzw, $vf2xyzw, $Ixyzw
vmaddi.y $vf0y, $vf0y, $Iy
vmaddi.yw $vf0yw, $vf0yw, $Iyw
vmaddi.zw $vf0zw, $vf31zw, $0
vmaddq.w $vf0w, $vf0w, $0
vmadd.w $vf0w, $vf0w, $vf0y
vmaddw.xyz $vf31xyz, $vf15xyz
vmaddw.xyzw $vf0xyzw, $vf31xyzw, $vf0xyzw
vmaddx.yw $vf1yw, $vf2yw, $vf3yw
vmaddy.xy $vf31xy, $vf15xy, $vf7xy
vmadd.z $vf1z, $vf2z, $vf3x
vmadd.z $vf31z, $vf0z, $vf0w
vmaddz.xyw $vf0xyw, $vf0xyw, $vf31x
vmaddz.xz $vf0xz, $vf31xz, $vf0xz
vmaddz.y $vf31y, $vf0y, $vf0y
vmaxi.w $vf31w, $vf15w, $Q
vmaxi.w $vf31w, $vf31w, $0
vmax.w $vf31w, $vf31w, $vf31x
vmaxw.w $vf0w, $vf0w, $vf0x
vmaxw.x $vf0x, $vf0x, $vf0x
vmaxw.x $vf0w, $vf0w, $vf31w
vmaxw.xw $vf0xw, $vf0xw, $vf0xw
vmaxw.xw $vf0w, $vf0w, $vf31w
vmaxw.xy $vf0xy, $vf31xy, $vf0xy
vmaxw.xy $vf1xy, $vf2w, $vf3w
vmaxw.xy $vf31w, $vf0xy, $vf0w
vmax.x $vf0x, $vf0x, $vf31w
vmaxx.w $vf0w, $vf0w, $vf31w
vmaxx.w $vf0x, $vf31x, $vf0x
vmaxx.w $vf31w, $vf0w, $vf0w
vmaxx.w $vf31x, $vf15x, $vf7x
vmax.xw $vf31xw, $vf15xw, $vf7w
vmaxx.x $vf0x, $vf0x, $vf0w
vmaxx.x $vf31w, $vf15x, $vf7x
vmaxx.x $vf31x, $vf31w, $vf31x
vmaxx.xw $vf31xw, $vf15xw, $vf7xw
vmaxx.xy $vf0xy, $vf31xy, $vf0xy
vmaxx.xyw $vf0xyw, $vf0xyw, $vf0xyw
vmaxx.xyz $vf0xyz, $vf0xyz, $vf0xyz
vmaxx.xyzw $vf0xyzw, $vf0xyzw, $vf0xyzw
vmaxx.xyzw $vf0xyzw, $vf0x, $vf31x
vmaxx.xyzw $vf0x, $vf31xyzw, $vf0x
vmaxx.xyzw $vf1x, $vf2x, $vf3x
vmaxx.xzw $vf31xzw, $vf15xzw, $vf7xzw
vmaxx.y $vf0y, $vf0y, $vf0y
vmaxx.y $vf0y, $vf0x, $vf31x
vmaxx.y $vf0x, $vf31y, $vf0x
vmaxx.yw $vf1yw, $vf2yw, $vf3yw
vmaxx.yz $vf0yz, $vf0yz, $vf0yz
vmaxx.yz $vf0x, $vf0x, $vf31x
vmaxx.z $vf31z, $vf0z, $vf0z
vmaxx.z $vf31z, $vf15x, $vf7x
vmaxx.z $vf31x, $vf31z, $vf31x
vmaxx.zw $vf1zw, $vf2zw, $vf3zw
vmax.y $vf0y, $vf0y, $vf31x
vmax.yw $vf0yw, $vf0yw, $vf31w
vmax.yw $vf0yw, $vf31yw, $vf0y
vmaxy.xz $vf31xz, $vf15xz, $vf7xz
vmaxy.xzw $vf1xzw, $vf2xzw, $vf3xzw
vmaxy.y $vf1y, $vf2y
vmaxy.yz $vf0yz, $vf31yz, $vf0yz
vmaxy.yzw $vf0yzw, $vf0yzw, $vf0yzw
vmaxy.yzw $vf31y, $vf15y, $vf7y
vmaxy.yzw $vf31yzw, $vf31yw, $vf31y
vmaxy.z $vf0z, $vf0z, $vf0z
vmaxy.z $vf0z, $vf0y, $vf31y
vmaxy.z $vf0y, $vf31z, $vf0y
vmaxz.xw $vf31xw, $vf31xw, $vf31xw
vmaxz.xy $vf0xy, $vf0xy, $vf0xy
vmaxz.xyw $vf0xyw, $vf0xyw, $vf0xyw
vmaxz.xyz $vf1xyz, $vf2xyz, $vf3xyz
vmaxz.xyz $vf31xyz, $vf0z, $vf0z
vmaxz.xyz $vf31z, $vf15xyz, $vf7z
vmaxz.xyz $vf31z, $vf31z, $vf31z
vmaxz.xyzw $vf0xyzw, $vf0xyzw, $vf0xyzw
vmaxz.xyzw $vf0xyzw, $vf0z, $vf31z
vmaxz.xyzw $vf0z, $vf31z, $vf0z
vmaxz.xyzw $vf1xyzw, $vf2xyzw, $vfz
vmaxz.xyzw $vf31xyzw, $vf0xyzw, $vf0xyzw
vmaxz.xz $vf0xz, $vf0xz, $vf0xz
vmaxz.y $vf31y, $vf15z, $vf7z
vmaxz.y $vf31y, $vf31y, $vf31y
vmaxz.yw $vf0yw, $vf0yw, $vf0yw
vmaxz.yzw $vf0yzw, $vf0yzw, $vf31yzw
vmaxz.yzw $vf0yzw, $vf31z, $vf0z
vmaxz.yzw $vf1z, $vf2yzw, $vf3z
vmaxz.yzw $vf31z, $vf0z, $vf0z
vmaxz.z $vf31z, $vf31z, $vf31x
vmfir.w $vf0w, $vi0w
vmfir.w $vf0, $vi31w
vmfir.x $vf0x, $vi0x
vmfir.x $vf0, $vi31x
vmfir.xw $vf0xw, $vi31xw
vmfir.xy $vf1xy, $vi2xy
vmfir.xy $vf31, $vi0xy
vmfir.xyw $vf0xyw, $vi31xyw
vmfir.xyw $vf31xyw, $vi0x
vmfir.xyz $vf0xyz, $vi0xyz
vmfir.xyzw $vf1xyzw, $vi2xyzw
vmfir.xz $vf0xz, $vi31xz
vmfir.xzw $vf0xzw, $vi31xzw
vmfir.y $vf0y, $vi0y
vmfir.yw $vf0yw, $vi0yw
vmfir.yz $vf0yz, $vi31yz
vmfir.yzw $vf0yzw, $vi0yzw
vmfir.z $vf0z, $vi0z
vmfir.z $0z, $vi31
vmfir.zw $vf0zw, $vi0zw
vminii.w $vf0w, $vf0w, $Iw
vminii.w $vf0w, $vf31x, $I
vminii.w $vf1x, $vf2w, $I
vminii.xw $vf0xw, $vf31xw, $Ixw
vminii.xw $vf1xw, $vf2w, $I
vminii.xw $vf31x, $vf0xw, $I
vminii.xyw $vf31xw, $vf0xyw, $I
vminii.xyz $vf0xy, $vf0xyz, $I
minii.xz $vf31z, $vf15xz, $I
vminii.xz $vf31xz, $vf31x, $I
vminii.xzw $vf0xzw, $vf0xw, $I
vminii.xzw $vf0zw, $vf31xzw, $I
vminii.xzw $vf1xyzw, $vf2xzw, $I
vminii.xzw $vf31xzw, $vf0xyzw, $I
vminii.yw $vf31yw, $vf31yw, $R
vminii.yz $vf0yz, $vf0yz, $Q
vminii.yz $vf0yz, $vf31yz, $ACC
vminii.yzw $vf31yzw, $vf0yzw, $R
vminii.yzw $vf31yzw, $vf15yzw, $ACC
vminii.yzw $vf31yzw, $vf31yzw, $Q
vmini.w $vf0w, $vf0w, $vf0x
vminiw.w $vf31w, $vf31w, $vf31x
vminiw.x $vf0x, $vf0x, $vf0x
vminiw.x $vf0x, $vf0w, $vf31w
vminiw.x $vf0w, $vf31x, $vf0w
vminiw.x $vf1w, $vf2w, $vf3w
vminiw.xw $vf0xw, $vf31xw, $vf0xw
vminiw.xw $vf1w, $vf2w, $vf3w
vminiw.xyzw $vf0xyzw, $vf0xyzw, $vf0xyzw
vminiw.xyzw $vf0xyzw, $vf0xxyzw, $vf31w
vminiw.xyzw $vf0xyzw, $vf31xyzw, $vf0xyzw
vminiw.xyzw $vf1xyzw, $vf2xyzw, $vf3ww
vminiw.xz $vf31xz, $vf0xz, $vf0xz
vminiw.yw $vf0yw, $vf0yw, $vf0yw
vminiw.yz $vf31yz, $vf0yz, $vf0yz
vminiw.z $vf31z, $vf0z, $vf0z
vminiw.z $vf31z, $vf15w, $vf7w
vminiw.z $vf31w, $vf31z, $vf31w
vminix.xw $vf0xw, $vf31xw, $vf0xw
vminix.xyw $vf0xyw, $vf0xyw, $vf0xyw
vminix.xyzw $vf0xyzw, $vf31xyzw, $vf0xyzw
vminix.yw $vf31yw, $vf31yw, $vf31yw
vminix.zw $vf31zw, $vf31zw, $vf31zw
vmini.y $vf0y, $vf0x, $vf0y
vminiy.w $vf0w, $vf31w, $vf0w
vminiy.x $vf31x, $vf15x, $vf7x
vminiy.x $vf31x, $vf31y, $vf31y
vminiy.xw $vf0y, $vf0xw, $vf0y
vminiy.xw $vf0xw, $vf0y, $vf31y
vminiy.xw $vf0xw, $vf31xw, $vf0xw
vminiy.xyz $vf31xyz, $vf31xyz, $vf31xyz
vminiy.xyzw $vf0xyzw, $vf0y, $vf0y
vminiy.xyzw $vf0y, $vf0xyzw, $vf31y
vminiy.xyzw $vf0xyzw, $vf31xyzw, $vf0xyzw
vminiy.yw $vf1yw, $vf2yw, $vf3yw
vminiy.zw $vf1zw, $vf2zw, $vf3zw
vmini.z $vf0z, $vf0z, $vf0x
vminiz.x $vf0x, $vf31x, $vf0x
vminiz.xw $vf0xw, $vf31xw, $vf0xw
vminiz.xyw $vf31xyw, $vf0xyw, $vf0xyw
vminiz.xyw $vf31xyw, $vf15z, $vf7z
vmove.xyw $vf0xyw, $vf0xw
vmove.y $vf0y, $vf31x
vmr32.xw $vf0xw, $vf0w
vmr32.xw $vf0w, $vf31xw
vmsubai.xy $ACCxy, $vf31xy, $Q
vmsubai.xyw $ACCxyw, $vf0xyw, $0
vmsubai.xyw $ACCxyw, $vf1xyw, $ACC
vmsubai.xyw $ACCxyw, $vf31xw, $I
vmsubaq.y $ACCy, $vf31y, $Qy
vmsubaq.yw $ACCw, $vf0yw, $Q
vmsubaq.yw $ACCwy, $vf1yw, $Q
vmsubaw.x $ACCx, $vf31x, $vf0x
vmsubaw.x $ACCx, $vf31w, $vf15w
vmsubaw.x $ACCw, $vf31x, $vf31w
vmsubaw.xw $ACCw, $vf0xw, $vf0w
vmsubaw.xw $ACCxw, $vf0w, $vf31w
vmsubaw.xw $ACCxw, $vf1xw, $vf2xw
vmsubax.yzw $ACCyzw, $vf0yzw, $vf31yzw
vmsubax.z $ACCz, $vf31z, $vf0z
vmsuba.y $ACCy, $vf31y, $vf15a
vmsuba.yw $ACCyw, $vf31yw, $vf0w
vmsubay.x $ACCx, $vf31x, $vf15x
vmsubay.x $ACCx, $vf31y, $vf31y
vmsubay.xw $ACCxw, $vf0xw, $vf0xw
vmsubaz.xy $ACCxy, $vf0xy, $vf31xy
vmsubaz.yw $ACCyw, $vf31yw, $vf0yw
vmsubi.xyzw $vf31xyzw, $vf0xyzw, $R
vmsubw.xyw $vf0xyw, $vf0xyw, $vf0xyw
vmsubw.xzw $vf0xzw, $vf0xzw, $vf31xzw
vmsubw.y $vf31y, $vf31y, $vf31y
vmsubw.yw $vf0yw, $vf0y, $vf0w
vmsubw.yw $vf0w, $vf0yw, $vf31w
vmsubw.zw $vf0zw, $vf0zw, $vf31zw
vmsubx.w $vf0w, $vf0w, $vf0w
vmsub.y $vf31y, $vf15y, $vf7w
vmsuby.x $vf0x, $vf0x, $vf31x
vmsuby.x $vf0x, $vf31y, $vf0y
vmsubz.x $vf0x, $vf31x, $vf0x
vmulai.xyz $ACCxyz, $vf1xz, $I
vmulaq.zw $ACCzw, $vf31zw, $I
vmula.w $ACCw, $vf31w, $vf0x
vmulax.xz $ACCxz, $vf0xz, $vf31xz
vmulax.xz $ACCxz, $vf1x, $vf2x
vmulax.xz $ACCx, $vf31xz, $vf0x
vmulay.yzw $ACCyzw, $vf0yzw, $vf31yzw
vmulaz.w $ACCw, $vf0w, $vf31w
mulaz.xy $ACCz, $vf31xy, $vf0z
vmulaz.xy $ACCxy, $vf31z, $vf15z
vmulaz.z $ACCz, $vf1z, $vf2x
vmuli.x $vf31x, $vf15x, $ACC
vmulq.x $vf0x, $vf31x, $0
vmulq.x $vf1x, $vf2x, $ACC
vmulq.x $vf31x, $vf0x, $R
vmulq.x $vf31x, $vf15x, $I
vmulw.z $vf31z, $vf15z, $vf7z
vmulw.z $vf31z, $vf31w, $vf31w
vmulw.zw $vf0zw, $vf0zw, $vf0zw
vmuly.xyzw $vf0xyzw, $vf0y, $vf31y
vmuly.xyzw $vf0xyzw, $vf31xyzw, $vf0xyzw
vmuly.xyzw $vf1xyzw, $vf2y, $vf3y
vmuly.xyzw $vf31y, $vf0xyzw, $vf0y
vmulz.y $vf0y, $vf31y, $vf0y
vmulz.y $vf1y, $vf2z, $vf3z
vmulz.y $vf31z, $vf0y, $vf0z
vmulz.y $vf31z, $vf15z, $vf7z
vopmsub $vf0x, $vf0, $vf31
vopmsub $vf0, $vf31x, $vf0
vopmsub $vf1, $vf2, $vf3x
vopmsub $ACC, $vf0, $vf0
vopmsub $vf31, $R, $vf7
vopmsub $vf31, $vf31, $I
vopmsub.xyz $vf0xyz, $vf0xyz, $vf0xy
vopmula $0, $vf0, $vf0
vopmula $Q, $vf0, $vf31
vopmula $R, $vf1, $vf2
vopmula $I, $vf31, $vf0
vopmula $ACCx, $vf31, $vf15
vopmula $ACCxyzw, $vf31, $vf31
vopmula.xyz $ACCxyzw, $vf0xyz, $vf0xyz
vopmula.xyzw $ACCxyzw, $vf0xyzw, $vf31xyzw
vrget.w $vf0w, $0
vrget.w $vf1w, $I
vrget.w $vf31w, $Q
vrget.x $vf0x, $ACC
vrget.x $vf1y, $R
vrget.xy $vf31x, $R
vrget.xyw $vf0xw, $R
vrget.xyw $vf1yw, $R
vrget.xyw $vf31xy, $R
vrget.xyz $vf0xy, $R
vrget.xyz $vf1xyzw, $R
vrget.xyz $vf31xyzw, $R
vrget.xyzw $vf0xyz, $R
vrget.xyzw $vf1xzw, $R
vrget.xyzw $vf31yzw, $R
vrget.xz $vf0xz, $0
vrget.xz $vf1z, $R
vrget.xzw $vf0xw, $R
vrget.y $vf0z, $R
vrget.y $vf1y, $I
vrget.z $vf31z, $Q
vrget.zw $vf0zw, $ACC
vrnext.xyzw $vf0xyz, $R
vrnext.xyzw $vf1xyzw, $0
vrnext.xyzw $vf31xyzw, $Rxyzw
vrnext.yz $vf31yz, $Ryz
vrnext.z $vf0z, $Rz
vrsqrt $Q, $vf0xz, $vf31y
vrsqrt $Q, $vf1z, $vf2xz
vrsqrt $Q, $vf31yx, $vf15w
vrsqrt $Qx, $vf31x, $vf31y
vrsqrt $0, $vf31y, $vf0w
vrxor $0, $vf0w
vrxor $R, $vf0xy
vrxor $R, $vf0zw
vrxor $R, $vf1yz
vrxor $ACC, $vf31x
vrxor $Q, $vf31y
vsqd.w $vf0, (--$vi0w)
vsqd.w $vf0, (--$vi31w)
vsqd.x $vf1, (--$vi2x)
vsqd.xw $vf0, (--$vi0xw)
vsqd.xy $vf0, (--$vi0xy)
vsqd.xyw $vf0, (--$vi0xyw)
vsqd.xyz $vf0, (--$vi31xyz)
vsqd.xyzw $vf0, (--$vi0xyzw)
vsqd.xz $vf0, (--$vi31xz)
vsqd.xzw $vf0, (--$vi0xzw)
vsqd.y $vf0, (--$vi0y)
vsqd.yw $vf0, (--$vi31yw)
vsqd.yz $vf0, (--$vi31yz)
vsqd.yzw $vf0, (--$vi31yzw)
vsqd.yzw $vf0yzw, (--$vi0x)
vsqd.z $vf1, (--$vi2z)
vsqd.zw $vf1, (--$vi2zw)
vsqi.w $vf0, ($vi0w++)
vsqi.x $vf0x, ($vi0x++)
vsqi.xw $vf0xw, ($vi0xw++)
vsqi.xw $vf1x, ($vi2++)
vsqi.xw $vf31w, ($vi0++)
vsqi.xy $vf0, ($vi31xy++)
vsqi.xyw $vf0x, ($vi0++)
vsqi.xyw $vf0, ($vi31xyw++)
vsqi.xyz $vf0xyz, ($vi0xyz++)
vsqi.xyzw $vf0, ($vi31xyzw++)
vsqi.xz $vf0xz, ($vi0xz++)
vsqi.xzw $vf0xzw, ($vi0xzw++)
vsqi.y $vf1, ($vi2y++)
vsqi.yw $vf0yw, ($vi0yw++)
vsqi.yz $vf1, ($vi2yz++)
vsqi.yzw $vf0yzw, ($vi0yzw++)
vsqi.z $vf0, ($vi31z++)
vsqi.zw $vf0zw, ($vi0zw++)
vsqrt $Q, $vf1zw
vsqrt $Q, $vf31xw
vsqrt $Q, $vf31xy
vsubai.w $ACCw, $vf0w, $0
vsubai.w $ACCw, $vf1x, $I
vsubai.w $ACCx, $vf31w, $I
vsubai.x $ACCw, $vf31x, $I
vsubai.xw $ACCw, $vf0xw, $I
vsubai.xw $ACCxw, $vf1x, $I
vsubai.xw $ACCxw, $vf31xw, $0
vsubai.xy $ACCxy, $vf0y, $I
vsubai.xy $ACCxy, $vf1x, $I
vsubai.xy $ACCxy, $vf311xy, $I
vsubai.xyz $ACCxyz, $vf1yz, $I
vsubai.xyz $ACCxyz, $vf31xyz, $ACC
vsubai.xyzw $ACCxyzw, $vf0xyzw, $R
vsubai.xyzw $ACCxyzw, $vf1xyzw, $Q
vsubai.xz $ACCxz, $vf1z, $I
vsubai.y $ACCy, $vf31, $3
vsubai.yw $ACCyw, $vf0yw, $Iyw
vsubai.zw $ACCzw, $vf1zw, $Izw
vsubai.zw $ACCzw, $vf31w, $I
vsubaq.w $ACCw, $Q, $Q
vsubaq.w $ACCw, $I, $Q
vsubaq.xyw $ACCxyw, $vf0xw, $Q
vsubaq.xyzw $ACCxyzw, $vf0xyz, $Q
vsubaq.xzw $ACCxzw, $vf1xw, $Q
vsubaq.yw $ACCyw, $vf31y, $Q
vsubaq.yz $ACCyz, $vf0yz, $ACC
vsubaq.yz $ACCyz, $vf1yz, $I
vsubax.w $ACCw, $vf0w, $vf0w
vsubax.w $ACCw, $vf0x, $vf31x
vsubax.w $ACCx, $vf1w, $vf2x
vsubax.w $ACCx, $vf31x, $vf0x
vsubax.xyzw $ACCxyzw, $vf31xyzw, $vf0xyzw
vsubax.xzw $ACCxzw, $vf1xzw, $vf2xzw
vsubax.y $ACCy, $vf31y, $vf0y
vsubax.yw $ACCyw, $vf0yw, $vf0yw
vsubay.yw $ACCyw, $vf0yw, $vf31yw
vsubay.yzw $ACCyzw, $vf0yzw, $vf31yzw
vsubay.z $ACCz, $vf0z, $vf31z
vsubay.zw $ACCzw, $vf0zw, $vf0zw
vsubaz.w $ACCw, $vf31w, $vf15w
vsubaz.x $ACCx, $vf0x, $vf31x
vsubaz.xy $ACCxy, $vf0xy, $vf0xy
vsubaz.xz $ACCxz, $vf31xz, $vf15xz
vsubaz.xz $ACCxz, $vf31z, $vf31z
vsubaz.xzw $ACCxw, $vf0xzw, $vf0z
vsubaz.xzw $ACCz, $vf0xzw, $vf31z
vsubaz.xzw $ACCxzw, $vf1z, $vf2z
vsubaz.yw $ACCyw, $vf1yw, $vf2yw
vsubi.w $vf31w, $vf15w, $0
vsubi.w $vf31w, $vf31w, $R
vsubi.x $vf0x, $vf0y, $I
vsubi.x $vf0x, $vf31x, $Ix
vsubi.xy $vf0xy, $vf31y, $I
vsubi.xy $vf1x, $vf2xy, $I
vsubq.x $vf31x, $vf15x, $Qx
vsubq.x $vf31x, $vf31y, $Q
vsubq.xw $vf0xw, $vf0xw, $0
vsubq.xw $vf0xw, $vf31xw, $2
vsubq.xyzw $vf1yzw, $vf2xyzw, $Q
vsubq.yw $vf31w, $vf15yw, $Q
vsubq.yw $vf31yw, $vf31y, $Q
vsubx.xyw $vf0xyw, $vf31xyw, $vf0xyw
vsubx.xzw $vf1xzw, $vf2xzw, $vf3xzw
vsuby.xw $vf0xw, $vf0xw, $vf0xw
vsuby.zw $vf0zw, $vf0zw, $vf0zw
vsub.z $vf0z, $vf31z, $vf0x
vsubz.xyw $vf31yw, $vf15xyw, $vf7z
vsubz.xyw $vf31xyw, $vf31yw, $vf31z
vsubz.xyz $vf0xyz, $vf0xyz, $vf0x
vwaitq $vf0x
# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
.space 8
|
stsp/binutils-ia16
| 1,688
|
gas/testsuite/gas/mips/ase-errors-4.s
|
.set micromips
.set mips64r2
.set dsp # OK
lbux $4,$5($6) # OK
ldx $4,$5($6) # ERROR: micromips doesn't have 64-bit DSPr1
absq_s.qb $3,$4 # ERROR: dspr2 not enabled
.set mips3 # OK (we assume r2 anyway)
.set nodsp
lbux $4,$5($6) # ERROR: dsp not enabled
absq_s.qb $3,$4 # ERROR: dspr2 not enabled
.set mips64r2
.set dspr2 # OK
lbux $4,$5($6) # OK
absq_s.qb $3,$4 # OK
.set mips3 # OK (we assume r2 anyway)
.set nodspr2
lbux $4,$5($6) # ERROR: dsp not enabled
absq_s.qb $3,$4 # ERROR: dspr2 not enabled
.set mips64r2
.set mcu # OK
aclr 4,100($4) # OK
.set mips3 # OK (we assume r2 anyway)
.set nomcu
aclr 4,100($4) # ERROR: mcu not enabled
.set mips64r2
.set mdmx # ERROR: not supported at all
add.ob $f4,$f6,$f8 # ERROR: not supported at all
.set nomdmx
.set mips64r2
.set mips3d # ERROR: not supported at all
addr.ps $f4,$f6,$f8 # ERROR: not supported at all
.set nomips3d
.set mips64r2
.set mt # ERROR: not supported at all
dmt # ERROR: not supported at all
.set nomt
.set mips64
.set smartmips # ERROR: not supported at all
maddp $4,$5 # ERROR: not supported at all
.set nosmartmips
.set mips64r2
.set virt # OK
hypcall # OK
dmfgc0 $3, $29 # OK
.set mips3 # OK (we assume r2 anyway)
.set novirt
hypcall # ERROR: virt not enabled
dmfgc0 $3, $29 # ERROR: virt not enabled
.set mips64r2
.set eva # OK
lbue $4,16($5) # OK
.set mips3 # OK (we assume r2 anyway)
lbue $4,16($5) # OK
.set noeva
lbue $4,16($5) # ERROR: eva not enabled
# There should be no errors after this.
.set fp=32
.set mips4
.set dsp
.set dspr2
.set mcu
.set mdmx
.set mips3d
.set mt
.set smartmips
.set eva
|
stsp/binutils-ia16
| 9,323
|
gas/testsuite/gas/mips/set-arch.s
|
.text
.set noreorder
.set noat
.set arch=4010
flushi
flushd
flushid
madd $4,$5
maddu $5,$6
ffc $6,$7
ffs $7,$8
msub $8,$9
msubu $9,$10
selsl $10,$11,$12
selsr $11,$12,$13
waiti
wb 16($14)
addciu $14,$15,16
.set arch=4100
hibernate
standby
suspend
.set arch=4650
mad $4,$5
madu $5,$6
mul $6,$7,$8
# test mips4 instructions.
.set arch=mips4
text_label:
bc1f text_label
bc1f $fcc1,text_label
bc1fl $fcc1,text_label
bc1t $fcc1,text_label
bc1tl $fcc2,text_label
c.f.d $f4,$f6
c.f.d $fcc1,$f4,$f6
ldxc1 $f2,$4($5)
lwxc1 $f2,$4($5)
madd.d $f0,$f2,$f4,$f6
madd.s $f0,$f2,$f4,$f6
movf $4,$5,$fcc4
movf.d $f4,$f6,$fcc0
movf.s $f4,$f6,$fcc0
movn $4,$6,$6
movn.d $f4,$f6,$6
movn.s $f4,$f6,$6
movt $4,$5,$fcc4
movt.d $f4,$f6,$fcc0
movt.s $f4,$f6,$fcc0
movz $4,$6,$6
movz.d $f4,$f6,$6
movz.s $f4,$f6,$6
msub.d $f0,$f2,$f4,$f6
msub.s $f0,$f2,$f4,$f6
nmadd.d $f0,$f2,$f4,$f6
nmadd.s $f0,$f2,$f4,$f6
nmsub.d $f0,$f2,$f4,$f6
nmsub.s $f0,$f2,$f4,$f6
# We don't test pref because currently the disassembler will
# disassemble it as lwc3. lwc3 is correct for mips1 to mips3,
# while pref is correct for mips4. Unfortunately, the
# disassembler does not know which architecture it is
# disassembling for.
# pref 4,0($4)
prefx 4,$4($5)
recip.d $f4,$f6
recip.s $f4,$f6
rsqrt.d $f4,$f6
rsqrt.s $f4,$f6
sdxc1 $f4,$4($5)
swxc1 $f4,$4($5)
# test mips5 instructions.
.set arch=mips5
abs.ps $f0, $f2
add.ps $f2, $f4, $f6
alnv.ps $f6, $f8, $f10, $3
c.eq.ps $f8, $f10
c.eq.ps $fcc2, $f10, $f12
c.f.ps $f8, $f10
c.f.ps $fcc2, $f10, $f12
c.le.ps $f8, $f10
c.le.ps $fcc2, $f10, $f12
c.lt.ps $f8, $f10
c.lt.ps $fcc2, $f10, $f12
c.nge.ps $f8, $f10
c.nge.ps $fcc2, $f10, $f12
c.ngl.ps $f8, $f10
c.ngl.ps $fcc2, $f10, $f12
c.ngle.ps $f8, $f10
c.ngle.ps $fcc2, $f10, $f12
c.ngt.ps $f8, $f10
c.ngt.ps $fcc2, $f10, $f12
c.ole.ps $f8, $f10
c.ole.ps $fcc2, $f10, $f12
c.olt.ps $f8, $f10
c.olt.ps $fcc2, $f10, $f12
c.seq.ps $f8, $f10
c.seq.ps $fcc2, $f10, $f12
c.sf.ps $f8, $f10
c.sf.ps $fcc2, $f10, $f12
c.ueq.ps $f8, $f10
c.ueq.ps $fcc2, $f10, $f12
c.ule.ps $f8, $f10
c.ule.ps $fcc2, $f10, $f12
c.ult.ps $f8, $f10
c.ult.ps $fcc2, $f10, $f12
c.un.ps $f8, $f10
c.un.ps $fcc2, $f10, $f12
cvt.ps.s $f12, $f14, $f16
cvt.s.pl $f16, $f18
cvt.s.pu $f18, $f20
luxc1 $f20, $4($5)
madd.ps $f20, $f22, $f24, $f26
mov.ps $f24, $f26
movf.ps $f26, $f28, $fcc2
movn.ps $f26, $f28, $3
movt.ps $f28, $f30, $fcc4
movz.ps $f28, $f30, $5
msub.ps $f30, $f0, $f2, $f4
mul.ps $f2, $f4, $f6
neg.ps $f6, $f8
nmadd.ps $f6, $f8, $f10, $f12
nmsub.ps $f6, $f8, $f10, $f12
pll.ps $f10, $f12, $f14
plu.ps $f14, $f16, $f18
pul.ps $f16, $f18, $f20
puu.ps $f20, $f22, $f24
sub.ps $f22, $f24, $f26
suxc1 $f26, $6($7)
c.eq.ps $fcc3, $f10, $f12 # warns
movf.ps $f26, $f28, $fcc3 # warns
# test assembly of mips32 instructions
.set arch=mips32
# unprivileged CPU instructions
clo $1, $2
clz $3, $4
madd $5, $6
maddu $7, $8
msub $9, $10
msubu $11, $12
mul $13, $14, $15
pref 4, ($16)
pref 4, 32767($17)
pref 4, -32768($18)
ssnop
# unprivileged coprocessor instructions.
# these tests use cp2 to avoid other (cp0, fpu, prefetch) opcodes.
bc2f text_label
nop
bc2fl text_label
nop
bc2t text_label
nop
bc2tl text_label
nop
# XXX other BCzCond encodings not currently expressable
cfc2 $1, $2
cop2 0x1234567 # disassembles as c2 ...
ctc2 $2, $3
mfc2 $3, $4
mfc2 $4, $5, 0 # disassembles without sel
mfc2 $5, $6, 7
mtc2 $6, $7
mtc2 $7, $8, 0 # disassembles without sel
mtc2 $8, $9, 7
# privileged instructions
cache 5, ($1)
cache 5, 32767($2)
cache 5, -32768($3)
eret
tlbp
tlbr
tlbwi
tlbwr
wait
wait 0 # disassembles without code
wait 0x56789
# For a while break for the mips32 ISA interpreted a single argument
# as a 20-bit code, placing it in the opcode differently to
# traditional ISAs. This turned out to cause problems, so it has
# been removed. This test is to assure consistent interpretation.
break
break 0 # disassembles without code
break 0x345
break 0x48,0x345 # this still specifies a 20-bit code
# Instructions in previous ISAs or CPUs which are now slightly
# different.
sdbbp
sdbbp 0 # disassembles without code
sdbbp 0x56789
# test assembly of mips32r2 instructions
.set arch=mips32r2
# unprivileged CPU instructions
ehb
ext $4, $5, 6, 8
ins $4, $5, 6, 8
jalr.hb $8
jalr.hb $20, $9
jr.hb $8
# Note, further testing of rdhwr is done in hwr-names-mips32r2.d
rdhwr $10, $0
rdhwr $11, $1
rdhwr $12, $2
rdhwr $13, $3
rdhwr $14, $4
rdhwr $15, $5
# This file checks that in fact HW rotate will
# be used for this arch, and checks assembly
# of the official MIPS mnemonics. (Note that disassembly
# uses the traditional "ror" and "rorv" mnemonics.)
# Additional rotate tests are done by rol-hw.d.
rotl $25, $10, 4
rotr $25, $10, 4
rotl $25, $10, $4
rotr $25, $10, $4
rotrv $25, $10, $4
seb $7
seb $8, $10
seh $7
seh $8, $10
synci 0x5555($10)
wsbh $7
wsbh $8, $10
# cp0 instructions
di
di $0
di $10
ei
ei $0
ei $10
rdpgpr $10, $25
wrpgpr $10, $25
# FPU (cp1) instructions
#
# Even registers are supported w/ 32-bit FPU, odd
# registers supported only for 64-bit FPU.
# Only the 32-bit FPU instructions are tested here.
mfhc1 $17, $f0
mthc1 $17, $f0
# cp2 instructions
mfhc2 $17, 0x5555
mthc2 $17, 0x5555
.set arch=mips64
# test assembly of mips64 instructions
# unprivileged CPU instructions
dclo $1, $2
dclz $3, $4
# unprivileged coprocessor instructions.
# these tests use cp2 to avoid other (cp0, fpu, prefetch) opcodes.
dmfc2 $3, $4
dmfc2 $4, $5, 0 # disassembles without sel
dmfc2 $5, $6, 7
dmtc2 $6, $7
dmtc2 $7, $8, 0 # disassembles without sel
dmtc2 $8, $9, 7
.set arch=vr4111
dmadd16 $4,$5
madd16 $5,$6
.set arch=vr4120
# Include mflos to check for nop insertion.
mflo $4
dmacc $4,$5,$6
dmacchi $4,$5,$6
dmacchis $4,$5,$6
dmacchiu $4,$5,$6
dmacchius $4,$5,$6
dmaccs $4,$5,$6
dmaccu $4,$5,$6
dmaccus $4,$5,$6
mflo $4
macc $4,$5,$6
macchi $4,$5,$6
macchis $4,$5,$6
macchiu $4,$5,$6
macchius $4,$5,$6
maccs $4,$5,$6
maccu $4,$5,$6
maccus $4,$5,$6
.set arch=vr5400
/* Integer instructions. */
mulu $4,$5,$6
mulhi $4,$5,$6
mulhiu $4,$5,$6
muls $4,$5,$6
mulsu $4,$5,$6
mulshi $4,$5,$6
mulshiu $4,$5,$6
macc $4,$5,$6
maccu $4,$5,$6
macchi $4,$5,$6
macchiu $4,$5,$6
msac $4,$5,$6
msacu $4,$5,$6
msachi $4,$5,$6
msachiu $4,$5,$6
ror $4,$5,25
rorv $4,$5,$6
dror $4,$5,25
dror $4,$5,57 /* Should expand to dror32 $4,$5,25. */
dror32 $4,$5,25
drorv $4,$5,$6
/* Debug instructions. */
dbreak
dret
mfdr $3,$3
mtdr $3,$3
/* Coprocessor 0 instructions, minus standard ISA 3 ones.
That leaves just the performance monitoring registers. */
mfpc $4,1
mfps $4,1
mtpc $4,1
mtps $4,1
/* Multimedia instructions. */
.macro nsel2 op
/* Test each form of each vector opcode. */
\op $f0,$f2
\op $f4,$f6[2]
\op $f6,15
.if 0 /* Which is right?? */
/* Test negative numbers in immediate-value slot. */
\op $f4,-3
.else
/* Test that it's recognized as an unsigned field. */
\op $f4,31
.endif
.endm
.macro nsel3 op
/* Test each form of each vector opcode. */
\op $f0,$f2,$f4
\op $f2,$f4,$f6[2]
\op $f6,$f4,15
.if 0 /* Which is right?? */
/* Test negative numbers in immediate-value slot. */
\op $f4,$f6,-3
.else
/* Test that it's recognized as an unsigned field. */
\op $f4,$f6,31
.endif
.endm
nsel3 add.ob
nsel3 and.ob
nsel2 c.eq.ob
nsel2 c.le.ob
nsel2 c.lt.ob
nsel3 max.ob
nsel3 min.ob
nsel3 mul.ob
nsel2 mula.ob
nsel2 mull.ob
nsel2 muls.ob
nsel2 mulsl.ob
nsel3 nor.ob
nsel3 or.ob
nsel3 pickf.ob
nsel3 pickt.ob
nsel3 sub.ob
nsel3 xor.ob
/* ALNI, SHFL: Vector only. */
alni.ob $f0,$f2,$f4,5
shfl.mixh.ob $f0,$f2,$f4
shfl.mixl.ob $f0,$f2,$f4
shfl.pach.ob $f0,$f2,$f4
shfl.pacl.ob $f0,$f2,$f4
/* SLL,SRL: Scalar or immediate. */
sll.ob $f2,$f4,$f6[3]
sll.ob $f4,$f6,14
srl.ob $f2,$f4,$f6[3]
srl.ob $f4,$f6,14
/* RZU: Immediate, must be 0, 8, or 16. */
rzu.ob $f2,13
/* No selector. */
rach.ob $f2
racl.ob $f2
racm.ob $f2
wach.ob $f2
wacl.ob $f2,$f4
ror $4,$5,$6
rol $4,$5,15
dror $4,$5,$6
drol $4,$5,31
drol $4,$5,62
.set arch=vr5500
/* Prefetch instructions. */
# We don't test pref because currently the disassembler will
# disassemble it as lwc3. lwc3 is correct for mips1 to mips3,
# while pref is correct for mips4. Unfortunately, the
# disassembler does not know which architecture it is
# disassembling for.
# pref 4,0($4)
prefx 4,$4($5)
/* Miscellaneous instructions. */
wait
wait 0 # disassembles without code
wait 0x56789
ssnop
clo $3,$4
dclo $3,$4
clz $3,$4
dclz $3,$4
luxc1 $f0,$4($2)
suxc1 $f2,$4($2)
tlbp
tlbr
.set arch=default
# make objdump print ...
.space 8
|
stsp/binutils-ia16
| 3,752
|
gas/testsuite/gas/mips/mips64-dsp.s
|
# source file to test assembly of MIPS DSP ASE for MIPS64 instructions
.set noreorder
.set nomacro
.set noat
.text
text_label:
absq_s.pw $0,$1
absq_s.qh $30,$31
addq.pw $5,$6,$7
addq_s.pw $6,$7,$8
addq.qh $2,$3,$4
addq_s.qh $3,$4,$5
addu.ob $9,$10,$11
addu_s.ob $10,$11,$12
bposge64 text_label
nop
cmp.eq.pw $20,$21
cmp.lt.pw $21,$22
cmp.le.pw $22,$23
cmp.eq.qh $17,$18
cmp.lt.qh $18,$19
cmp.le.qh $19,$20
cmpu.eq.ob $14,$15
cmpu.lt.ob $15,$16
cmpu.le.ob $16,$17
cmpgu.eq.ob $8,$9,$10
cmpgu.lt.ob $9,$10,$11
cmpgu.le.ob $10,$11,$12
dextpdp $31,$ac3,0
dextpdp $31,$ac3,1
dextpdp $31,$ac3,31
dextpdpv $0,$ac0,$1
dextp $29,$ac1,0
dextp $29,$ac1,1
dextp $29,$ac1,31
dextpv $30,$ac2,$31
dextr.l $3,$ac3,0
dextr.l $3,$ac3,1
dextr.l $3,$ac3,31
dextr_r.l $4,$ac0,0
dextr_r.l $4,$ac0,1
dextr_r.l $4,$ac0,31
dextr_rs.l $5,$ac1,0
dextr_rs.l $5,$ac1,1
dextr_rs.l $5,$ac1,31
dextr_r.w $1,$ac1,0
dextr_r.w $1,$ac1,1
dextr_r.w $1,$ac1,31
dextr_rs.w $2,$ac2,0
dextr_rs.w $2,$ac2,1
dextr_rs.w $2,$ac2,31
dextr_s.h $2,$ac2,0
dextr_s.h $2,$ac2,1
dextr_s.h $2,$ac2,31
dextr.w $0,$ac0,0
dextr.w $0,$ac0,1
dextr.w $0,$ac0,31
dextrv.w $11,$ac3,$12
dextrv_r.w $12,$ac0,$13
dextrv_rs.w $13,$ac1,$14
dextrv.l $14,$ac2,$15
dextrv_r.l $15,$ac3,$16
dextrv_rs.l $16,$ac0,$17
dinsv $26,$27
dmadd $ac1,$20,$21
dmaddu $ac2,$21,$22
dmsub $ac3,$22,$23
dmsubu $ac0,$23,$24
dmthlip $4,$ac2
dpaq_sa.l.pw $ac1,$0,$1
dpaq_s.w.qh $ac2,$21,$22
dpau.h.obl $ac0,$15,$16
dpau.h.obr $ac1,$16,$17
dpsq_sa.l.pw $ac0,$3,$4
dpsq_s.w.qh $ac1,$24,$25
dpsu.h.obl $ac2,$17,$18
dpsu.h.obr $ac3,$18,$19
dshilo $ac3,-64
dshilo $ac3,63
dshilov $ac0,$2
ldx $16,$17($18)
maq_sa.w.qhll $ac3,$10,$11
maq_sa.w.qhlr $ac0,$11,$12
maq_sa.w.qhrl $ac1,$12,$13
maq_sa.w.qhrr $ac2,$13,$14
maq_s.l.pwl $ac1,$16,$17
maq_s.l.pwr $ac2,$17,$18
maq_s.w.qhll $ac3,$10,$11
maq_s.w.qhlr $ac0,$11,$12
maq_s.w.qhrl $ac1,$12,$13
maq_s.w.qhrr $ac2,$13,$14
muleq_s.pw.qhl $11,$12,$13
muleq_s.pw.qhr $12,$13,$14
muleu_s.qh.obl $4,$5,$6
muleu_s.qh.obr $5,$6,$7
mulq_rs.ph $6,$7,$8
mulq_rs.qh $8,$9,$10
mulsaq_s.w.qh $ac0,$27,$28
mulsaq_s.l.pw $ac2,$29,$30
packrl.pw $28,$29,$30
pick.ob $25,$26,$27
pick.qh $26,$27,$28
pick.pw $27,$28,$29
preceq.pw.qhl $14,$15
preceq.pw.qhr $15,$16
preceq.pw.qhla $16,$17
preceq.pw.qhra $17,$18
preceq.s.l.pwl $18,$19
preceq.s.l.pwr $19,$20
precequ.pw.qhl $24,$25
precequ.pw.qhr $25,$26
precequ.pw.qhla $26,$27
precequ.pw.qhra $27,$28
preceu.qh.obl $28,$29
preceu.qh.obr $29,$30
preceu.qh.obla $30,$31
preceu.qh.obra $31,$0
precrq.ob.qh $4,$5,$6
precrq.pw.l $7,$8,$9
precrq.qh.pw $5,$6,$7
precrq_rs.qh.pw $6,$7,$8
precrqu_s.ob.qh $9,$10,$11
raddu.l.ob $26,$27
repl.ob $29,0
repl.ob $29,255
replv.ob $30,$31
repl.qh $1,-512
repl.qh $1,511
replv.qh $2,$3
repl.pw $3,-512
repl.pw $3,511
replv.pw $4,$5
shll.ob $2,$3,0
shll.ob $2,$3,7
shllv.ob $3,$4,$5
shll.qh $8,$9,0
shll.qh $8,$9,15
shllv.qh $9,$10,$11
shll_s.qh $10,$11,0
shll_s.qh $10,$11,15
shllv_s.qh $11,$12,$13
shll.pw $14,$15,0
shll.pw $14,$15,31
shllv.pw $15,$16,$17
shll_s.pw $16,$17,0
shll_s.pw $16,$17,31
shllv_s.pw $17,$18,$19
shra.qh $28,$29,0
shra.qh $28,$29,15
shrav.qh $29,$30,$31
shra_r.qh $30,$31,0
shra_r.qh $30,$31,15
shrav_r.qh $31,$0,$1
shra.pw $0,$1,0
shra.pw $0,$1,31
shrav.pw $1,$2,$3
shra_r.pw $2,$3,0
shra_r.pw $2,$3,31
shrav_r.pw $3,$4,$5
shrl.ob $20,$21,0
shrl.ob $20,$21,7
shrlv.ob $21,$22,$23
subq.qh $16,$17,$18
subq_s.qh $17,$18,$19
subq.pw $18,$19,$20
subq_s.pw $19,$20,$21
subu.ob $20,$21,$22
subu_s.ob $21,$22,$23
# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
.space 8
|
stsp/binutils-ia16
| 2,750
|
gas/testsuite/gas/mips/r5900.s
|
.text
stuff:
.ent stuff
.set push
.set noreorder
.set noat
add $0, $0, $31
add $1, $10, $3
add $31, $31, $0
addi $31, $0, 0
addi $1, $10, 3
addi $0, $31, -1
addiu $31, $0, 0
addiu $1, $10, 3
addiu $31, $0, 0xFFFF
and $0, $0, $31
and $1, $10, $3
and $31, $31, $0
andi $31, $0, 0
andi $1, $10, 3
andi $0, $31, 0xFFFF
nop
# The c.lt.s instruction of R5900 has the same opcode as c.olt.s of MIPS I.
c.lt.s $f0, $f31
c.lt.s $f31, $f0
# The c.le.s instruction of R5900 has the same opcode as c.ole.s of MIPS I.
c.le.s $f0, $f31
c.le.s $f31, $f0
c.eq.s $f0, $f31
c.eq.s $f31, $f0
c.f.s $f0, $f31
c.f.s $f31, $f0
# The cvt.w.s instruction of the R5900 does the same as trunc.w.s in MIPS I.
# The cvt.w.s instruction of MIPS I doesn't exist in the R5900 CPU.
# For compatibility the instruction trunc.w.s uses the opcode of cvt.w.s.
# cvt.w.s should not be used on R5900.
trunc.w.s $f0, $f31
trunc.w.s $f31, $f0
# 128 bit store instruction.
sq $0, 0($0)
sq $1, 0x7fff($1)
sq $8, -0x8000($8)
sq $31, -1($31)
# 128 bit load instruction.
lq $0, 0($0)
lq $1, 0x7fff($1)
lq $8, -0x8000($8)
lq $31, -1($31)
# Prefetch cache
pref 0, 0($0)
pref 1, 0x7fff($1)
pref 8, -0x8000($8)
pref 31, -1($31)
# Preformance counter registers
mfpc $31, 0
mfpc $0, 1
mfps $0, 0
mfps $31, 0
mtpc $31, 0
mtpc $0, 1
mtps $0, 0
mtps $31, 0
# Pipeline1
mfhi1 $0
mfhi1 $31
mthi1 $0
mthi1 $31
mflo1 $0
mflo1 $31
mtlo1 $0
mtlo1 $31
movn $0, $0, $31
movn $31, $31, $0
movz $0, $0, $31
movz $31, $31, $0
# Parallel instructions operating on 128 bit registers:
pcpyld $0, $0, $31
pcpyld $31, $31, $0
pextlh $0, $0, $31
pextlh $31, $31, $0
pextlw $0, $0, $31
pextlw $31, $31, $0
# G1 instructions
mult $0, $0, $31
mult $31, $31, $0
multu $0, $0, $31
multu $31, $31, $0
mul $0, $0, $31
mul $31, $31, $0
madd $0, $0, $31
madd $31, $31, $0
madd $0, $31
madd $31, $0
maddu $0, $0, $31
maddu $31, $31, $0
maddu $0, $31
maddu $31, $0
sync
.set pop
.set push
.set reorder
# Test the short loop fix with 3 loop instructions.
li $3, 300
short_loop3:
addi $3, -1
addi $4, -1
# A NOP will be inserted in the branch delay slot.
bne $3, $0, short_loop3
# Test the short loop fix with 6 loop instructions.
li $3, 300
short_loop6:
addi $3, -1
addi $4, -1
addi $5, -1
addi $6, -1
addi $7, -1
# A NOP will be inserted in the branch delay slot.
bne $3, $0, short_loop6
# Test the short loop fix with 7 loop instructions.
li $3, 300
short_loop7:
addi $3, -1
addi $4, -1
addi $5, -1
addi $6, -1
addi $7, -1
addi $8, -1
# The short loop fix does not apply for loops with
# more than 6 instructions.
bne $3, $0, short_loop7
li $4, 3
.set pop
.space 8
.end stuff
|
stsp/binutils-ia16
| 1,232
|
gas/testsuite/gas/mips/mips16-relax-unextended-1.s
|
.module mips3
.set mips16
.set autoextend
foo:
# Operand code:
sll.t $2, $3, 17 # <
sll.t $2, $3, bar
dsll.t $4, $5, 17 # [
dsll.t $4, $5, bar
dsrl.t $6, 17 # ]
dsrl.t $6, bar
lb.t $4, 0x1234($5) # 5
lb.t $4, bar($5)
lb.t $4, %hi(baz)($5)
slti.t $6, 0x5678 # 8
slti.t $6, bar
la.t $2, . + 0x1234 # A
la.t $2, . + bar
ld.t $3, . + 0x5678 # B
ld.t $3, . + bar
sd.t $31, 0x5678($29) # C
sd.t $31, bar($29)
sd.t $31, %lo(baz)($29)
sd.t $4, 0x5678($29) # D
sd.t $4, bar($29)
sd.t $4, %lo(baz)($29)
dla.t $5, . + 0x5678 # E
dla.t $5, . + bar
daddiu.t $2, $3, 0x5678 # F
daddiu.t $2, $3, bar
lh.t $6, 0x1234($7) # H
lh.t $6, bar($7)
lh.t $6, %lo(baz)($7)
addiu.t $29, 0x5678 # K
addiu.t $29, bar
addiu.t $29, %lo(baz)
cmpi.t $2, 0x1234 # U
cmpi.t $2, bar
cmpi.t $2, %hi(baz)
addiu.t $3, $pc, 0x5678 # V
addiu.t $3, $pc, bar
addiu.t $3, $pc, %lo(baz)
daddiu.t $4, $pc, 0x5678 # W
daddiu.t $4, $pc, bar
daddiu.t $4, $pc, %lo(baz)
daddiu.t $5, 0x5678 # j
daddiu.t $5, bar
daddiu.t $5, %lo(baz)
addiu.t $6, 0x1234 # k
addiu.t $6, bar
addiu.t $2, %lo(baz)
beqz.t $7, . + 0x5678 # p
b.t . + 0x1234 # q
.set bar, 0x5678
|
stsp/binutils-ia16
| 1,333
|
gas/testsuite/gas/mips/vr5500.s
|
.text
stuff:
.ent stuff
/* Integer instructions. */
mul $4,$5,$6
mulu $4,$5,$6
mulhi $4,$5,$6
mulhiu $4,$5,$6
muls $4,$5,$6
mulsu $4,$5,$6
mulshi $4,$5,$6
mulshiu $4,$5,$6
macc $4,$5,$6
maccu $4,$5,$6
macchi $4,$5,$6
macchiu $4,$5,$6
msac $4,$5,$6
msacu $4,$5,$6
msachi $4,$5,$6
msachiu $4,$5,$6
ror $4,$5,25
rorv $4,$5,$6
dror $4,$5,25
dror $4,$5,57 /* Should expand to dror32 $4,$5,25. */
dror32 $4,$5,25
drorv $4,$5,$6
/* Prefetch instructions. */
# We don't test pref because currently the disassembler will
# disassemble it as lwc3. lwc3 is correct for mips1 to mips3,
# while pref is correct for mips4. Unfortunately, the
# disassembler does not know which architecture it is
# disassembling for.
# pref 4,0($4)
prefx 4,$4($5)
/* Debug instructions. */
dbreak
dret
mfdr $3,$3
mtdr $3,$3
/* Coprocessor 0 instructions, minus standard ISA 3 ones.
That leaves just the performance monitoring registers. */
mfpc $4,1
mfps $4,1
mtpc $4,1
mtps $4,1
/* Miscellaneous instructions. */
wait
wait 0 # disassembles without code
wait 0x56789
ssnop
clo $3,$4
dclo $3,$4
clz $3,$4
dclz $3,$4
luxc1 $f0,$4($2)
suxc1 $f2,$4($2)
tlbp
tlbr
/* Align to 16-byte boundary. */
nop
nop
nop
.end stuff
|
stsp/binutils-ia16
| 3,564
|
gas/testsuite/gas/mips/lb.s
|
# Source file used to test the lb macro.
.data
data_label:
.extern big_external_data_label,1000
.extern small_external_data_label,1
.comm big_external_common,1000
.comm small_external_common,1
.lcomm big_local_common,1000
.lcomm small_local_common,1
.text
lb $4,0
lb $4,1
lb $4,0x8000
lb $4,-0x8000
lb $4,0x10000
lb $4,0x1a5a5
lb $4,0($5)
lb $4,1($5)
lb $4,0x8000($5)
lb $4,-0x8000($5)
lb $4,0x10000($5)
lb $4,0x1a5a5($5)
lb $4,data_label
lb $4,big_external_data_label
lb $4,small_external_data_label
lb $4,big_external_common
lb $4,small_external_common
lb $4,big_local_common
lb $4,small_local_common
lb $4,data_label+1
lb $4,big_external_data_label+1
lb $4,small_external_data_label+1
lb $4,big_external_common+1
lb $4,small_external_common+1
lb $4,big_local_common+1
lb $4,small_local_common+1
lb $4,data_label+0x8000
lb $4,big_external_data_label+0x8000
lb $4,small_external_data_label+0x8000
lb $4,big_external_common+0x8000
lb $4,small_external_common+0x8000
lb $4,big_local_common+0x8000
lb $4,small_local_common+0x8000
lb $4,data_label-0x8000
lb $4,big_external_data_label-0x8000
lb $4,small_external_data_label-0x8000
lb $4,big_external_common-0x8000
lb $4,small_external_common-0x8000
lb $4,big_local_common-0x8000
lb $4,small_local_common-0x8000
lb $4,data_label+0x10000
lb $4,big_external_data_label+0x10000
lb $4,small_external_data_label+0x10000
lb $4,big_external_common+0x10000
lb $4,small_external_common+0x10000
lb $4,big_local_common+0x10000
lb $4,small_local_common+0x10000
lb $4,data_label+0x1a5a5
lb $4,big_external_data_label+0x1a5a5
lb $4,small_external_data_label+0x1a5a5
lb $4,big_external_common+0x1a5a5
lb $4,small_external_common+0x1a5a5
lb $4,big_local_common+0x1a5a5
lb $4,small_local_common+0x1a5a5
lb $4,data_label($5)
lb $4,big_external_data_label($5)
lb $4,small_external_data_label($5)
lb $4,big_external_common($5)
lb $4,small_external_common($5)
lb $4,big_local_common($5)
lb $4,small_local_common($5)
lb $4,data_label+1($5)
lb $4,big_external_data_label+1($5)
lb $4,small_external_data_label+1($5)
lb $4,big_external_common+1($5)
lb $4,small_external_common+1($5)
lb $4,big_local_common+1($5)
lb $4,small_local_common+1($5)
lb $4,data_label+0x8000($5)
lb $4,big_external_data_label+0x8000($5)
lb $4,small_external_data_label+0x8000($5)
lb $4,big_external_common+0x8000($5)
lb $4,small_external_common+0x8000($5)
lb $4,big_local_common+0x8000($5)
lb $4,small_local_common+0x8000($5)
lb $4,data_label-0x8000($5)
lb $4,big_external_data_label-0x8000($5)
lb $4,small_external_data_label-0x8000($5)
lb $4,big_external_common-0x8000($5)
lb $4,small_external_common-0x8000($5)
lb $4,big_local_common-0x8000($5)
lb $4,small_local_common-0x8000($5)
lb $4,data_label+0x10000($5)
lb $4,big_external_data_label+0x10000($5)
lb $4,small_external_data_label+0x10000($5)
lb $4,big_external_common+0x10000($5)
lb $4,small_external_common+0x10000($5)
lb $4,big_local_common+0x10000($5)
lb $4,small_local_common+0x10000($5)
lb $4,data_label+0x1a5a5($5)
lb $4,big_external_data_label+0x1a5a5($5)
lb $4,small_external_data_label+0x1a5a5($5)
lb $4,big_external_common+0x1a5a5($5)
lb $4,small_external_common+0x1a5a5($5)
lb $4,big_local_common+0x1a5a5($5)
lb $4,small_local_common+0x1a5a5($5)
# Several macros are handled like lb. Sanity check them.
lbu $4,0
lh $4,0
lhu $4,0
lw $4,0
lwl $4,0
lwr $4,0
lwc0 $4,0
lwc1 $4,0
lwc2 $4,0
lwc3 $4,0
# Round to a 16 byte boundary, for ease in testing multiple targets.
nop
nop
nop
|
stsp/binutils-ia16
| 1,894
|
gas/testsuite/gas/mips/unaligned-branch-r6-1.s
|
.text
.set noreorder
.space 0x1000
.align 4
.set mips32r6
.ent foo
foo:
nor $0, $0
bc bar0
nor $0, $0
beqzc $2, bar0
nor $0, $0
beqz $2, bar0
nor $0, $0
bc bar1
nor $0, $0
beqzc $2, bar1
nor $0, $0
beqz $2, bar1
nor $0, $0
bc bar2
nor $0, $0
beqzc $2, bar2
nor $0, $0
beqz $2, bar2
nor $0, $0
bc bar3
nor $0, $0
beqzc $2, bar3
nor $0, $0
beqz $2, bar3
nor $0, $0
bc bar4
nor $0, $0
beqzc $2, bar4
nor $0, $0
beqz $2, bar4
nor $0, $0
bc bar4 + 1
nor $0, $0
beqzc $2, bar4 + 1
nor $0, $0
beqz $2, bar4 + 1
nor $0, $0
bc bar4 + 2
nor $0, $0
beqzc $2, bar4 + 2
nor $0, $0
beqz $2, bar4 + 2
nor $0, $0
bc bar4 + 3
nor $0, $0
beqzc $2, bar4 + 3
nor $0, $0
beqz $2, bar4 + 3
nor $0, $0
bc bar4 + 4
nor $0, $0
beqzc $2, bar4 + 4
nor $0, $0
beqz $2, bar4 + 4
nor $0, $0
bc bar16
nor $0, $0
beqzc $2, bar16
nor $0, $0
beqz $2, bar16
nor $0, $0
bc bar17
nor $0, $0
beqzc $2, bar17
nor $0, $0
beqz $2, bar17
nor $0, $0
bc bar18
nor $0, $0
beqzc $2, bar18
nor $0, $0
beqz $2, bar18
nor $0, $0
bc bar18 + 1
nor $0, $0
beqzc $2, bar18 + 1
nor $0, $0
beqz $2, bar18 + 1
nor $0, $0
bc bar18 + 2
nor $0, $0
beqzc $2, bar18 + 2
nor $0, $0
beqz $2, bar18 + 2
nor $0, $0
bc bar18 + 3
nor $0, $0
beqzc $2, bar18 + 3
nor $0, $0
beqz $2, bar18 + 3
nor $0, $0
bc bar18 + 4
nor $0, $0
beqzc $2, bar18 + 4
nor $0, $0
beqz $2, bar18 + 4
nor $0, $0
jalr $0, $ra
nor $0, $0
.end foo
.set mips0
# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
.align 4, 0
.space 16
.macro obj n:req
.type bar\@, @object
bar\@ :
.byte 0
.size bar\@, . - bar\@
.if \n - 1
obj \n - 1
.endif
.endm
.macro fun n:req
.type bar\@, @function
bar\@ :
.insn
.hword 0
.size bar\@, . - bar\@
.if \n - 1
fun \n - 1
.endif
.endm
.align 4
.set micromips
obj 16
fun 8
|
stsp/binutils-ia16
| 1,506
|
gas/testsuite/gas/mips/24k-triple-stores-3.s
|
# Assume to be on the same line (within 32bytes)
# Check for individual different double words
foo:
# safe
sb $2,11($sp)
sb $3,11($sp)
sb $4,4($sp)
break
# safe
sb $2,0($sp)
sb $3,11($sp)
sb $4,5($sp)
break
# edge case
sb $2,7($sp)
sb $3,11($sp)
sb $4,16($sp)
break
# edge case (unaligned)
sb $2,0($8)
sb $3,8($8)
sb $4,9($8)
break
sh $2,0($sp)
sh $3,-31($sp)
sh $4,-30($sp)
break
# edge case
sh $2,6($sp)
sh $3,8($sp)
sh $4,16($sp)
break
# edge case (unaligned)
sh $2,1($8)
sh $3,3($8)
sh $4,11($8)
break
sw $2,8($sp)
sw $3,-8($sp)
sw $4,8($sp)
break
# edge case
sw $2,4($sp)
sw $3,8($sp)
sw $4,16($sp)
break
# edge case (unaligned)
sw $2,3($8)
sw $3,7($8)
sw $4,15($8)
break
.ifndef r6
swl $2,4($sp)
swl $3,10($sp)
swl $4,17($sp)
break
# edge case
swl $2,7($sp)
swl $3,12($sp)
swl $4,16($sp)
break
# edge case
swl $2,0($sp)
swl $3,12($sp)
swl $4,23($sp)
break
# edge case (unaligned)
swl $2,3($8)
swl $3,8($8)
swl $4,12($8)
break
# mix swl & swr
swl $2,0($sp)
swl $3,12($sp)
swr $4,23($sp)
break
# mix swl & swr
swl $2,5($8)
swl $3,17($8)
swr $4,28($8)
break
.endif
# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
.align 2
.space 8
|
stsp/binutils-ia16
| 8,286
|
gas/testsuite/gas/mips/mips16e2-hilo.s
|
# Source file used to test li/addi on MIPS16e2
.set mips16
.data
data_label:
.word 0
data_label2:
.word 0
.extern big_external_data_label,1000
.extern small_external_data_label,1
.comm big_external_common,1000
.comm small_external_common,1
.lcomm big_local_common,1000
.lcomm small_local_common,1
.text
stuff:
lui $4,%hi(0)
addiu $4,%lo(0)
lui $4,%hi(data_label)
addiu $4,%lo(data_label)
lui $4,%hi(data_label2)
addiu $4,%lo(data_label2)
lui $4,%hi(big_external_data_label)
addiu $4,%lo(big_external_data_label)
lui $4,%hi(small_external_data_label)
addiu $4,%lo(small_external_data_label)
lui $4,%hi(big_external_common)
addiu $4,%lo(big_external_common)
lui $4,%hi(small_external_common)
addiu $4,%lo(small_external_common)
lui $4,%hi(big_local_common)
addiu $4,%lo(big_local_common)
lui $4,%hi(small_local_common)
addiu $4,%lo(small_local_common)
lui $4,%hi(1)
addiu $4,%lo(1)
lui $4,%hi(data_label+1)
addiu $4,%lo(data_label+1)
lui $4,%hi(data_label2+1)
addiu $4,%lo(data_label2+1)
lui $4,%hi(big_external_data_label+1)
addiu $4,%lo(big_external_data_label+1)
lui $4,%hi(small_external_data_label+1)
addiu $4,%lo(small_external_data_label+1)
lui $4,%hi(big_external_common+1)
addiu $4,%lo(big_external_common+1)
lui $4,%hi(small_external_common+1)
addiu $4,%lo(small_external_common+1)
lui $4,%hi(big_local_common+1)
addiu $4,%lo(big_local_common+1)
lui $4,%hi(small_local_common+1)
addiu $4,%lo(small_local_common+1)
lui $4,%hi(0x8000)
addiu $4,%lo(0x8000)
lui $4,%hi(data_label+0x8000)
addiu $4,%lo(data_label+0x8000)
lui $4,%hi(data_label2+0x8000)
addiu $4,%lo(data_label2+0x8000)
lui $4,%hi(big_external_data_label+0x8000)
addiu $4,%lo(big_external_data_label+0x8000)
lui $4,%hi(small_external_data_label+0x8000)
addiu $4,%lo(small_external_data_label+0x8000)
lui $4,%hi(big_external_common+0x8000)
addiu $4,%lo(big_external_common+0x8000)
lui $4,%hi(small_external_common+0x8000)
addiu $4,%lo(small_external_common+0x8000)
lui $4,%hi(big_local_common+0x8000)
addiu $4,%lo(big_local_common+0x8000)
lui $4,%hi(small_local_common+0x8000)
addiu $4,%lo(small_local_common+0x8000)
lui $4,%hi(-0x8000)
addiu $4,%lo(-0x8000)
lui $4,%hi(data_label-0x8000)
addiu $4,%lo(data_label-0x8000)
lui $4,%hi(data_label2-0x8000)
addiu $4,%lo(data_label2-0x8000)
lui $4,%hi(big_external_data_label-0x8000)
addiu $4,%lo(big_external_data_label-0x8000)
lui $4,%hi(small_external_data_label-0x8000)
addiu $4,%lo(small_external_data_label-0x8000)
lui $4,%hi(big_external_common-0x8000)
addiu $4,%lo(big_external_common-0x8000)
lui $4,%hi(small_external_common-0x8000)
addiu $4,%lo(small_external_common-0x8000)
lui $4,%hi(big_local_common-0x8000)
addiu $4,%lo(big_local_common-0x8000)
lui $4,%hi(small_local_common-0x8000)
addiu $4,%lo(small_local_common-0x8000)
lui $4,%hi(0x10000)
addiu $4,%lo(0x10000)
lui $4,%hi(data_label+0x10000)
addiu $4,%lo(data_label+0x10000)
lui $4,%hi(data_label2+0x10000)
addiu $4,%lo(data_label2+0x10000)
lui $4,%hi(big_external_data_label+0x10000)
addiu $4,%lo(big_external_data_label+0x10000)
lui $4,%hi(small_external_data_label+0x10000)
addiu $4,%lo(small_external_data_label+0x10000)
lui $4,%hi(big_external_common+0x10000)
addiu $4,%lo(big_external_common+0x10000)
lui $4,%hi(small_external_common+0x10000)
addiu $4,%lo(small_external_common+0x10000)
lui $4,%hi(big_local_common+0x10000)
addiu $4,%lo(big_local_common+0x10000)
lui $4,%hi(small_local_common+0x10000)
addiu $4,%lo(small_local_common+0x10000)
lui $4,%hi(0x1a5a5)
addiu $4,%lo(0x1a5a5)
lui $4,%hi(data_label+0x1a5a5)
addiu $4,%lo(data_label+0x1a5a5)
lui $4,%hi(data_label2+0x1a5a5)
addiu $4,%lo(data_label2+0x1a5a5)
lui $4,%hi(big_external_data_label+0x1a5a5)
addiu $4,%lo(big_external_data_label+0x1a5a5)
lui $4,%hi(small_external_data_label+0x1a5a5)
addiu $4,%lo(small_external_data_label+0x1a5a5)
lui $4,%hi(big_external_common+0x1a5a5)
addiu $4,%lo(big_external_common+0x1a5a5)
lui $4,%hi(small_external_common+0x1a5a5)
addiu $4,%lo(small_external_common+0x1a5a5)
lui $4,%hi(big_local_common+0x1a5a5)
addiu $4,%lo(big_local_common+0x1a5a5)
lui $4,%hi(small_local_common+0x1a5a5)
addiu $4,%lo(small_local_common+0x1a5a5)
lui $5,%hi(0)
lw $4,%hi(0)($5)
lui $5,%hi(data_label)
lw $4,%hi(data_label)($5)
lui $5,%hi(data_label2)
lw $4,%hi(data_label2)($5)
lui $5,%hi(big_external_data_label)
lw $4,%lo(big_external_data_label)($5)
lui $5,%hi(small_external_data_label)
lw $4,%lo(small_external_data_label)($5)
lui $5,%hi(big_external_common)
lw $4,%lo(big_external_common)($5)
lui $5,%hi(small_external_common)
lw $4,%lo(small_external_common)($5)
lui $5,%hi(big_local_common)
lw $4,%lo(big_local_common)($5)
lui $5,%hi(small_local_common)
lw $4,%lo(small_local_common)($5)
lui $5,%hi(1)
lw $4,%lo(1)($5)
lui $5,%hi(data_label+1)
lw $4,%lo(data_label+1)($5)
lui $5,%hi(data_label2+1)
lw $4,%lo(data_label2+1)($5)
lui $5,%hi(big_external_data_label+1)
lw $4,%lo(big_external_data_label+1)($5)
lui $5,%hi(small_external_data_label+1)
lw $4,%lo(small_external_data_label+1)($5)
lui $5,%hi(big_external_common+1)
lw $4,%lo(big_external_common+1)($5)
lui $5,%hi(small_external_common+1)
lw $4,%lo(small_external_common+1)($5)
lui $5,%hi(big_local_common+1)
lw $4,%lo(big_local_common+1)($5)
lui $5,%hi(small_local_common+1)
lw $4,%lo(small_local_common+1)($5)
lui $5,%hi(0x8000)
lw $4,%lo(0x8000)($5)
lui $5,%hi(data_label+0x8000)
lw $4,%lo(data_label+0x8000)($5)
lui $5,%hi(data_label2+0x8000)
lw $4,%lo(data_label2+0x8000)($5)
lui $5,%hi(big_external_data_label+0x8000)
lw $4,%lo(big_external_data_label+0x8000)($5)
lui $5,%hi(small_external_data_label+0x8000)
lw $4,%lo(small_external_data_label+0x8000)($5)
lui $5,%hi(big_external_common+0x8000)
lw $4,%lo(big_external_common+0x8000)($5)
lui $5,%hi(small_external_common+0x8000)
lw $4,%lo(small_external_common+0x8000)($5)
lui $5,%hi(big_local_common+0x8000)
lw $4,%lo(big_local_common+0x8000)($5)
lui $5,%hi(small_local_common+0x8000)
lw $4,%lo(small_local_common+0x8000)($5)
lui $5,%hi(-0x8000)
lw $4,%lo(-0x8000)($5)
lui $5,%hi(data_label-0x8000)
lw $4,%lo(data_label-0x8000)($5)
lui $5,%hi(data_label2-0x8000)
lw $4,%lo(data_label2-0x8000)($5)
lui $5,%hi(big_external_data_label-0x8000)
lw $4,%lo(big_external_data_label-0x8000)($5)
lui $5,%hi(small_external_data_label-0x8000)
lw $4,%lo(small_external_data_label-0x8000)($5)
lui $5,%hi(big_external_common-0x8000)
lw $4,%lo(big_external_common-0x8000)($5)
lui $5,%hi(small_external_common-0x8000)
lw $4,%lo(small_external_common-0x8000)($5)
lui $5,%hi(big_local_common-0x8000)
lw $4,%lo(big_local_common-0x8000)($5)
lui $5,%hi(small_local_common-0x8000)
lw $4,%lo(small_local_common-0x8000)($5)
lui $5,%hi(0x10000)
lw $4,%lo(0x10000)($5)
lui $5,%hi(data_label+0x10000)
lw $4,%lo(data_label+0x10000)($5)
lui $5,%hi(data_label2+0x10000)
lw $4,%lo(data_label2+0x10000)($5)
lui $5,%hi(big_external_data_label+0x10000)
lw $4,%lo(big_external_data_label+0x10000)($5)
lui $5,%hi(small_external_data_label+0x10000)
lw $4,%lo(small_external_data_label+0x10000)($5)
lui $5,%hi(big_external_common+0x10000)
lw $4,%lo(big_external_common+0x10000)($5)
lui $5,%hi(small_external_common+0x10000)
lw $4,%lo(small_external_common+0x10000)($5)
lui $5,%hi(big_local_common+0x10000)
lw $4,%lo(big_local_common+0x10000)($5)
lui $5,%hi(small_local_common+0x10000)
lw $4,%lo(small_local_common+0x10000)($5)
lui $5,%hi(0x1a5a5)
lw $4,%lo(0x1a5a5)($5)
lui $5,%hi(data_label+0x1a5a5)
lw $4,%lo(data_label+0x1a5a5)($5)
lui $5,%hi(data_label2+0x1a5a5)
lw $4,%lo(data_label2+0x1a5a5)($5)
lui $5,%hi(big_external_data_label+0x1a5a5)
lw $4,%lo(big_external_data_label+0x1a5a5)($5)
lui $5,%hi(small_external_data_label+0x1a5a5)
lw $4,%lo(small_external_data_label+0x1a5a5)($5)
lui $5,%hi(big_external_common+0x1a5a5)
lw $4,%lo(big_external_common+0x1a5a5)($5)
lui $5,%hi(small_external_common+0x1a5a5)
lw $4,%lo(small_external_common+0x1a5a5)($5)
lui $5,%hi(big_local_common+0x1a5a5)
lw $4,%lo(big_local_common+0x1a5a5)($5)
lui $5,%hi(small_local_common+0x1a5a5)
lw $4,%lo(small_local_common+0x1a5a5)($5)
# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
.space 16
.align 4, 0
|
stsp/binutils-ia16
| 1,779
|
gas/testsuite/gas/mips/ldstla-32-mips3-1.s
|
.set mips3
.text
ld $2, 0xfffffffeffffffff($4)
ld $2, 0xfffffffe00000000($4)
ld $2, 0xabcdef0123456789($4)
ld $2, 0x0123456789abcdef($4)
ld $2, 0x00000001ffffffff($4)
ld $2, 0x0000000100000000($4)
ld $2, 0xfffffffeffffffff
ld $2, 0xfffffffe00000000
ld $2, 0xabcdef0123456789
ld $2, 0x0123456789abcdef
ld $2, 0x00000001ffffffff
ld $2, 0x0000000100000000
sd $2, 0xfffffffeffffffff($4)
sd $2, 0xfffffffe00000000($4)
sd $2, 0xabcdef0123456789($4)
sd $2, 0x0123456789abcdef($4)
sd $2, 0x00000001ffffffff($4)
sd $2, 0x0000000100000000($4)
sd $2, 0xfffffffeffffffff
sd $2, 0xfffffffe00000000
sd $2, 0xabcdef0123456789
sd $2, 0x0123456789abcdef
sd $2, 0x00000001ffffffff
sd $2, 0x0000000100000000
lw $2, 0xfffffffeffffffff($4)
lw $2, 0xfffffffe00000000($4)
lw $2, 0xabcdef0123456789($4)
lw $2, 0x0123456789abcdef($4)
lw $2, 0x00000001ffffffff($4)
lw $2, 0x0000000100000000($4)
lw $2, 0xfffffffeffffffff
lw $2, 0xfffffffe00000000
lw $2, 0xabcdef0123456789
lw $2, 0x0123456789abcdef
lw $2, 0x00000001ffffffff
lw $2, 0x0000000100000000
sw $2, 0xfffffffeffffffff($4)
sw $2, 0xfffffffe00000000($4)
sw $2, 0xabcdef0123456789($4)
sw $2, 0x0123456789abcdef($4)
sw $2, 0x00000001ffffffff($4)
sw $2, 0x0000000100000000($4)
sw $2, 0xfffffffeffffffff
sw $2, 0xfffffffe00000000
sw $2, 0xabcdef0123456789
sw $2, 0x0123456789abcdef
sw $2, 0x00000001ffffffff
sw $2, 0x0000000100000000
la $2, 0xfffffffeffffffff($4)
la $2, 0xfffffffe00000000($4)
la $2, 0xabcdef0123456789($4)
la $2, 0x0123456789abcdef($4)
la $2, 0x00000001ffffffff($4)
la $2, 0x0000000100000000($4)
la $2, 0xfffffffeffffffff
la $2, 0xfffffffe00000000
la $2, 0xabcdef0123456789
la $2, 0x0123456789abcdef
la $2, 0x00000001ffffffff
la $2, 0x0000000100000000
.space 8
|
stsp/binutils-ia16
| 1,383
|
gas/testsuite/gas/mips/lb-pic.s
|
# Source file used to test the lb macro with PIC code.
.data
data_label:
.extern big_external_data_label,1000
.extern small_external_data_label,1
.comm big_external_common,1000
.comm small_external_common,1
.lcomm big_local_common,1000
.lcomm small_local_common,1
.text
text_label:
lb $4,0
lb $4,1
lb $4,0x8000
lb $4,-0x8000
lb $4,0x10000
lb $4,0x1a5a5
lb $4,0($5)
lb $4,1($5)
lb $4,0x8000($5)
lb $4,-0x8000($5)
lb $4,0x10000($5)
lb $4,0x1a5a5($5)
lb $4,data_label
lb $4,big_external_data_label
lb $4,small_external_data_label
lb $4,big_external_common
lb $4,small_external_common
lb $4,big_local_common
lb $4,small_local_common
lb $4,data_label+1
lb $4,big_external_data_label+1
lb $4,small_external_data_label+1
lb $4,big_external_common+1
lb $4,small_external_common+1
lb $4,big_local_common+1
lb $4,small_local_common+1
lb $4,data_label($5)
lb $4,big_external_data_label($5)
lb $4,small_external_data_label($5)
lb $4,big_external_common($5)
lb $4,small_external_common($5)
lb $4,big_local_common($5)
lb $4,small_local_common($5)
lb $4,data_label+1($5)
lb $4,big_external_data_label+1($5)
lb $4,small_external_data_label+1($5)
lb $4,big_external_common+1($5)
lb $4,small_external_common+1($5)
lb $4,big_local_common+1($5)
lb $4,small_local_common+1($5)
# Round to a 16 byte boundary, for ease in testing multiple targets.
nop
|
stsp/binutils-ia16
| 1,192
|
gas/testsuite/gas/mips/cp3d.s
|
.text
.set noreorder
foo:
ldc3 $0, 0($0)
ldc3 $1, 0($0)
ldc3 $2, 0($0)
ldc3 $3, 0($0)
ldc3 $4, 0($0)
ldc3 $5, 0($0)
ldc3 $6, 0($0)
ldc3 $7, 0($0)
ldc3 $8, 0($0)
ldc3 $9, 0($0)
ldc3 $10, 0($0)
ldc3 $11, 0($0)
ldc3 $12, 0($0)
ldc3 $13, 0($0)
ldc3 $14, 0($0)
ldc3 $15, 0($0)
ldc3 $16, 0($0)
ldc3 $17, 0($0)
ldc3 $18, 0($0)
ldc3 $19, 0($0)
ldc3 $20, 0($0)
ldc3 $21, 0($0)
ldc3 $22, 0($0)
ldc3 $23, 0($0)
ldc3 $24, 0($0)
ldc3 $25, 0($0)
ldc3 $26, 0($0)
ldc3 $27, 0($0)
ldc3 $28, 0($0)
ldc3 $29, 0($0)
ldc3 $30, 0($0)
ldc3 $31, 0($0)
sdc3 $0, 0($0)
sdc3 $1, 0($0)
sdc3 $2, 0($0)
sdc3 $3, 0($0)
sdc3 $4, 0($0)
sdc3 $5, 0($0)
sdc3 $6, 0($0)
sdc3 $7, 0($0)
sdc3 $8, 0($0)
sdc3 $9, 0($0)
sdc3 $10, 0($0)
sdc3 $11, 0($0)
sdc3 $12, 0($0)
sdc3 $13, 0($0)
sdc3 $14, 0($0)
sdc3 $15, 0($0)
sdc3 $16, 0($0)
sdc3 $17, 0($0)
sdc3 $18, 0($0)
sdc3 $19, 0($0)
sdc3 $20, 0($0)
sdc3 $21, 0($0)
sdc3 $22, 0($0)
sdc3 $23, 0($0)
sdc3 $24, 0($0)
sdc3 $25, 0($0)
sdc3 $26, 0($0)
sdc3 $27, 0($0)
sdc3 $28, 0($0)
sdc3 $29, 0($0)
sdc3 $30, 0($0)
sdc3 $31, 0($0)
# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
.align 4, 0
.space 16
|
stsp/binutils-ia16
| 1,192
|
gas/testsuite/gas/mips/cp0m.s
|
.text
.set noreorder
foo:
lwc0 $0, 0($0)
lwc0 $1, 0($0)
lwc0 $2, 0($0)
lwc0 $3, 0($0)
lwc0 $4, 0($0)
lwc0 $5, 0($0)
lwc0 $6, 0($0)
lwc0 $7, 0($0)
lwc0 $8, 0($0)
lwc0 $9, 0($0)
lwc0 $10, 0($0)
lwc0 $11, 0($0)
lwc0 $12, 0($0)
lwc0 $13, 0($0)
lwc0 $14, 0($0)
lwc0 $15, 0($0)
lwc0 $16, 0($0)
lwc0 $17, 0($0)
lwc0 $18, 0($0)
lwc0 $19, 0($0)
lwc0 $20, 0($0)
lwc0 $21, 0($0)
lwc0 $22, 0($0)
lwc0 $23, 0($0)
lwc0 $24, 0($0)
lwc0 $25, 0($0)
lwc0 $26, 0($0)
lwc0 $27, 0($0)
lwc0 $28, 0($0)
lwc0 $29, 0($0)
lwc0 $30, 0($0)
lwc0 $31, 0($0)
swc0 $0, 0($0)
swc0 $1, 0($0)
swc0 $2, 0($0)
swc0 $3, 0($0)
swc0 $4, 0($0)
swc0 $5, 0($0)
swc0 $6, 0($0)
swc0 $7, 0($0)
swc0 $8, 0($0)
swc0 $9, 0($0)
swc0 $10, 0($0)
swc0 $11, 0($0)
swc0 $12, 0($0)
swc0 $13, 0($0)
swc0 $14, 0($0)
swc0 $15, 0($0)
swc0 $16, 0($0)
swc0 $17, 0($0)
swc0 $18, 0($0)
swc0 $19, 0($0)
swc0 $20, 0($0)
swc0 $21, 0($0)
swc0 $22, 0($0)
swc0 $23, 0($0)
swc0 $24, 0($0)
swc0 $25, 0($0)
swc0 $26, 0($0)
swc0 $27, 0($0)
swc0 $28, 0($0)
swc0 $29, 0($0)
swc0 $30, 0($0)
swc0 $31, 0($0)
# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
.align 4, 0
.space 16
|
stsp/binutils-ia16
| 1,405
|
gas/testsuite/gas/mips/elf-rel28.s
|
# By default test ld/sd.
# If defined, test lld/scd instead.
.ifdef tlldscd
.macro ld ops:vararg
lld \ops
.endm
.macro sd ops:vararg
scd \ops
.endm
.endif
.ent foo
foo:
# Many of these do not make conceptual sense, but they should
# at least assemble.
ld $4,%call_hi(bar)($4)
ld $4,%call_lo(bar)($4)
ld $4,%call16(bar)($4)
ld $4,%got_disp(bar)($4)
ld $4,%got_page(bar)($4)
ld $4,%got_ofst(bar)($4)
ld $4,%got_hi(bar)($4)
ld $4,%got_lo(bar)($4)
ld $4,%got(bar)($4)
ld $4,%gp_rel(bar)($4)
ld $4,%half(bar)($4)
ld $4,%highest(bar)($4)
ld $4,%higher(bar)($4)
ld $4,%neg(bar)($4)
ld $4,%tlsgd(bar)($4)
ld $4,%tlsldm(bar)($4)
ld $4,%dtprel_hi(bar)($4)
ld $4,%dtprel_lo(bar)($4)
ld $4,%tprel_hi(bar)($4)
ld $4,%tprel_lo(bar)($4)
ld $4,%gottprel(bar)($4)
sd $4,%call_hi(bar)($4)
sd $4,%call_lo(bar)($4)
sd $4,%call16(bar)($4)
sd $4,%got_disp(bar)($4)
sd $4,%got_page(bar)($4)
sd $4,%got_ofst(bar)($4)
sd $4,%got_hi(bar)($4)
sd $4,%got_lo(bar)($4)
sd $4,%got(bar)($4)
sd $4,%gp_rel(bar)($4)
sd $4,%half(bar)($4)
sd $4,%highest(bar)($4)
sd $4,%higher(bar)($4)
sd $4,%neg(bar)($4)
sd $4,%tlsgd(bar)($4)
sd $4,%tlsldm(bar)($4)
sd $4,%dtprel_hi(bar)($4)
sd $4,%dtprel_lo(bar)($4)
sd $4,%tprel_hi(bar)($4)
sd $4,%tprel_lo(bar)($4)
sd $4,%gottprel(bar)($4)
.end foo
# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
.align 2
.space 8
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.