head 1.1; branch 1.1.1; access; symbols netbsd-11-0-RC5:1.1.1.1 netbsd-11-0-RC4:1.1.1.1 netbsd-11-0-RC3:1.1.1.1 netbsd-11-0-RC2:1.1.1.1 netbsd-11-0-RC1:1.1.1.1 gcc-14-3-0:1.1.1.2 perseant-exfatfs-base-20250801:1.1.1.1 netbsd-11:1.1.1.1.0.10 netbsd-11-base:1.1.1.1 gcc-12-5-0:1.1.1.1 netbsd-10-1-RELEASE:1.1.1.1 perseant-exfatfs-base-20240630:1.1.1.1 gcc-12-4-0:1.1.1.1 perseant-exfatfs:1.1.1.1.0.8 perseant-exfatfs-base:1.1.1.1 netbsd-10-0-RELEASE:1.1.1.1 netbsd-10-0-RC6:1.1.1.1 netbsd-10-0-RC5:1.1.1.1 netbsd-10-0-RC4:1.1.1.1 netbsd-10-0-RC3:1.1.1.1 netbsd-10-0-RC2:1.1.1.1 netbsd-10-0-RC1:1.1.1.1 gcc-12-3-0:1.1.1.1 gcc-10-5-0:1.1.1.1 netbsd-10:1.1.1.1.0.6 netbsd-10-base:1.1.1.1 gcc-10-4-0:1.1.1.1 cjep_sun2x-base1:1.1.1.1 cjep_sun2x:1.1.1.1.0.4 cjep_sun2x-base:1.1.1.1 cjep_staticlib_x-base1:1.1.1.1 cjep_staticlib_x:1.1.1.1.0.2 cjep_staticlib_x-base:1.1.1.1 gcc-10-3-0:1.1.1.1 gcc-9-3-0:1.1.1.1 FSF:1.1.1; locks; strict; comment @# @; 1.1 date 2020.09.05.07.52.20; author mrg; state Exp; branches 1.1.1.1; next ; commitid ZRYA7IOuwfMjAPmC; 1.1.1.1 date 2020.09.05.07.52.20; author mrg; state Exp; branches; next 1.1.1.2; commitid ZRYA7IOuwfMjAPmC; 1.1.1.2 date 2025.09.13.23.45.58; author mrg; state Exp; branches; next ; commitid KwhwN4krNWa6XBaG; desc @@ 1.1 log @Initial revision @ text @" Syntax highlighting rules for RTL dump files (for Vim). " " Copyright (C) 2018 Free Software Foundation, Inc. " " This script 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, or (at your option) " any later version " Do not continue, if syntax is already enabled in current buffer. if exists("b:current_syntax") finish endif " General-purpose comments. syn match rtlComment ";;.*$" syn keyword rtlInstruction debug_expr insn_list int_list sequence \ address debug_insn insn expr_list \ jump_table_data barrier code_label \ cond_exec parallel asm_input asm_operands \ unspec unspec_volatile addr_vec \ addr_diff_vec prefetch set use clobber \ call return simple_return eh_return \ trap_if scratch strict_low_part concat concatn \ mem label_ref symbol_ref cc0 compare plus minus \ neg mult ss_mult us_mult div ss_div us_div mod \ udiv umod and ior xor not ashift rotate ashiftrt \ lshiftrt rotatert smin smax umin umax pre_dec \ pre_inc post_dec post_inc pre_modify post_modify \ unordered ordered uneq unge ungt unle unlt ltgt sign_extend \ zero_extend truncate float_extend float_truncate \ float fix unsigned_float unsigned_fix fract_convert \ unsigned_fract_convert sat_fract unsigned_sat_fract \ abs sqrt bswap ffs clrsb clz ctz popcount parity \ sign_extract zero_extract high lo_sum vec_merge \ vec_select vec_concat vec_duplicate vec_series ss_plus \ us_plus ss_minus ss_neg us_neg ss_abs ss_ashift \ us_ashift us_minus ss_truncate us_truncate fma \ entry_value exclusion_set presence_set final_presence_set \ absence_set final_absence_set automata_option attr set_attr \ set_attr_alternative eq_attr eq_attr_alt attr_flag cond syn keyword rtlConditional call_insn jump_insn if_then_else \ eq ne gt gtu lt ltu ge geu le leu syn keyword rtlNote note barrier code_label syn keyword rtlVariableLoation var_location syn keyword rtlPcRegister pc syn keyword rtlModes VOID BLK BI QI HI SI DI TI SF DF CC QQ HQ SQ \ DQ TQ UQQ UHQ USQ UDQ UTQ HA SA DA TA UHA \ USA UDA UTA SD DD TD " String literals syn region rtlString start=/\v"/ skip=/\v\\./ end=/\v"/ syn match rtlNoteInsn "NOTE_INSN_[A-Z_]*" syn match rtlIntegerConstant "\vconst_int -?\d+" syn match rtlFloatConstant "\vconst_double:[A-Z]+ -?\d*\.\d+(e\+\d+)?" syn match rtlRegister "\vreg(\/[a-z])?:[A-Z0-9]+ \d+ [a-z0-9]+" syn match rtlLocation /\v"[^"]*":\d+/ hi def link rtlInstruction Statement hi def link rtlConditional Conditional hi def link rtlNote Debug hi def link rtlNoteInsn Debug hi def link rtlIntegerConstant Number hi def link rtlFloatConstant Number hi def link rtlRegister Type hi def link rtlPcRegister Type hi def link rtlModes Type hi def link rtlVariableLoation Debug hi def link rtlComment Comment hi def link rtlLocation Debug hi def link rtlString String let b:current_syntax = "gcc-rtl" @ 1.1.1.1 log @initial import of GCC 9.3.0. changes include: - live patching support - shell completion help - generally better diagnostic output (less verbose/more useful) - diagnostics and optimisation choices can be emitted in json - asan memory usage reduction - many general, and specific to switch, inter-procedure, profile and link-time optimisations. from the release notes: "Overall compile time of Firefox 66 and LibreOffice 6.2.3 on an 8-core machine was reduced by about 5% compared to GCC 8.3" - OpenMP 5.0 support - better spell-guesser - partial experimental support for c2x and c++2a - c++17 is no longer experimental - arm AAPCS GCC 6-8 structure passing bug fixed, may cause incompatibility (restored compat with GCC 5 and earlier.) - openrisc support @ text @@ 1.1.1.2 log @initial import of GCC 14.3.0. major changes in GCC 13: - improved sanitizer - zstd debug info compression - LTO improvements - SARIF based diagnostic support - new warnings: -Wxor-used-as-pow, -Wenum-int-mismatch, -Wself-move, -Wdangling-reference - many new -Wanalyzer* specific warnings - enhanced warnings: -Wpessimizing-move, -Wredundant-move - new attributes to mark file descriptors, c++23 "assume" - several C23 features added - several C++23 features added - many new features for Arm, x86, RISC-V major changes in GCC 14: - more strict C99 or newer support - ia64* marked deprecated (but seemingly still in GCC 15.) - several new hardening features - support for "hardbool", which can have user supplied values of true/false - explicit support for stack scrubbing upon function exit - better auto-vectorisation support - added clang-compatible __has_feature and __has_extension - more C23, including -std=c23 - several C++26 features added - better diagnostics in C++ templates - new warnings: -Wnrvo, Welaborated-enum-base - many new features for Arm, x86, RISC-V - possible ABI breaking change for SPARC64 and small structures with arrays of floats. @ text @d3 1 a3 1 " Copyright (C) 2018-2024 Free Software Foundation, Inc. @