PR c/53037
[official-gcc.git] / gcc / brig / ChangeLog
blobdede3f405f5f1cfd0830338217aa6f4d9c9b99d8
1 2017-10-31  Henry Linjamäki  <henry.linjamaki@parmance.com>
3         * brig-lang.c (brig_langhook_type_for_mode): Fix PR 82771.
5 2017-10-23  Richard Sandiford  <richard.sandiford@linaro.org>
7         * brig-lang.c (brig_langhook_type_for_mode): Use scalar_int_mode
8         and scalar_float_mode.
10 2017-10-09  Pekka Jääskeläinen  <pekka.jaaskelainen@parmance.com>
12         * brigfrontend/brig-to-generic.cc: Support BRIG_KIND_NONE
13         directives.  These directives are legal everywhere.  They
14         can be used to patch away BRIG entries at the binary level.
15         Also add extra error detection for zeroed regions: make sure
16         the byteCount field is never zero.
17         * brig/brigfrontend/phsa.h: Added a new error prefix for
18         errors which are due to corrupted BRIG modules.
20 2017-10-09  Henry Linjamäki  <henry.linjamaki@parmance.com>
22         * brigfrontend/brig-branch-inst-handler.cc: The call code
23         still failed a few test cases. Now all PRM cases pass again.
25 2017-10-03  Henry Linjamäki  <henry.linjamaki@parmance.com>
27         * brigfrontend/brig-branch-inst-handler.cc: Fix (more) crash with
28         calls with more than 4 args.  It missed a reference which is required
29         because vector expansion can move the object to another location.
31 2017-09-29  Henry Linjamäki  <henry.linjamaki@parmance.com>
33         * brigfrontend/brig-branch-inst-handler.cc: Fix crash with
34         calls with more than 4 args. Also fix a misexecution issue
35         with kernels that have both unexpanded ID functions and
36         calls to subfunctions.
38 2017-09-28  Henry Linjamäki  <henry.linjamaki@parmance.com>
40         * brig-lang.c: Added function attributes and their handlers.
41         Make BRIGFE 3-level optimize by default.
43 2017-09-27  Pekka Jääskeläinen  <pekka.jaaskelainen@parmance.com>
45         * brig-lang.c: Improved support for function and module scope
46         group segment variables.  PRM specs defines function and module
47         scope group segment variables as an experimental feature. However,
48         PRM test suite uses and hcc relies on them. In addition, hcc
49         assumes certain group variable layout in its dynamic group segment
50         allocation code.  We cannot have global group memory offsets if we
51         want to both have kernel-specific group segment size and multiple
52         kernels calling the same functions that use function scope group memory
53         variables.  Now group segment is handled by separate book keeping of
54         module scope and function (kernel) offsets. Each function has a "frame"
55         in the group segment offset to which is given as an argument.
56         * brigfrontend/brig-branch-inst-handler.cc: See above.
57         * brigfrontend/brig-code-entry-handler.cc: See above.
58         * brigfrontend/brig-fbarrier-handler.cc: See above.
59         * brigfrontend/brig-function-handler.cc: See above.
60         * brigfrontend/brig-function.cc: See above.
61         * brigfrontend/brig-function.h: See above.
62         * brigfrontend/brig-to-generic.cc: See above.
63         * brigfrontend/brig-to-generic.h: See above.
64         * brigfrontend/brig-util.cc: See above.
65         * brigfrontend/brig-util.h: See above.
66         * brigfrontend/brig-variable-handler.cc: See above.
68 2017-09-25  Pekka Jääskeläinen  <pekka.jaaskelainen@parmance.com>
70         * brigfrontend/brig-to-generic.cc: Ensure per WI copies of
71         private variables are aligned too.
73 2017-09-17  Thomas Schwinge  <thomas@codesourcery.com>
75         * Make-lang.in (GO_TEXI_FILES): Rename to...
76         (BRIG_TEXI_FILES): ... this.
77         (doc/gccbrig.info, doc/gccbrig.dvi, doc/gccbrig.pdf, brig.info)
78         (brig.srcinfo, brig.man, brig.srcman, brig.install-man)
79         ($(DESTDIR)$(man1dir)/$(GCCBRIG_INSTALL_NAME)$(man1ext)):
80         Uncomment/enable targets.
81         (gccbrig.pod): New target.
82         * gccbrig.texi: New file.
84 2017-08-04  Henry Linjamäki  <henry.linjamaki@parmance.com>
86         Fix PR 81713
87         * brigfrontend/brig-basic-inst-handler.cc: replace build_int_cst with
88         bitsize_int in building BIT_FIELD_REF.
89         * brigfrontend/brig-code-entry-handler.cc: likewise.
91 2017-07-05  Richard Sandiford  <richard.sandiford@linaro.org>
92             Alan Hayward  <alan.hayward@arm.com>
93             David Sherwood  <david.sherwood@arm.com>
95         * brig-c.h (brig_type_for_mode): Remove "enum" before "machine_mode".
96         * brig-lang.c (brig_langhook_type_for_mode): Likewise.
98 2017-07-04  Jakub Jelinek  <jakub@redhat.com>
100         * brigfrontend/brig-function.cc: Include profile-count.h.
101         * brigfrontend/brig-to-generic.cc: Likewise.
103 2017-05-18  Thomas Schwinge  <thomas@codesourcery.com>
105         * brigfrontend/brig-to-generic.h (class brig_to_generic): Use
106         "dump_flags_t" for "m_dump_flags" member.
108 2017-05-13  Pekka Jääskeläinen  <pekka.jaaskelainen@parmance.com>
110         * brigfrontend/brig-code-entry-handler.cc
111         (brig_code_entry_handler::build_address_operand): Fix
112         an assertion when doing an 'lda' of a private array
113         offset.
115 2017-05-03  Pekka Jääskeläinen  <pekka.jaaskelainen@parmance.com>
117         * brigfrontend/brig-code-entry-handler.cc
118         (brig_code_entry_handler::build_address_operand): Fix a bug
119         with reg+offset addressing on 32b segments. In large mode,
120         the offset is treated as 32bits unless it's global, readonly or
121         kernarg address space.
123 2016-02-01  Pekka Jääskeläinen  <pekka.jaaskelainen@parmance.com>
125         * brigfrontend/brig-code-entry-handler.cc: fix address
126         expressions which refer only to offset 0, but nothing else.
127         * brigfrontend/brig-lane-inst-handler.cc: fix
128         activelanepermute_b64 HSAIL instruction.
129         * brigfrontend/brig-to-generic.cc: remove useless c_str()
130         call. Add missing va_end (). Fix PR79250.
132 2017-01-30  Jakub Jelinek  <jakub@redhat.com>
134         * brigfrontend/brig-code-entry-handler.cc
135         (brig_code_entry_handler::get_tree_cst_for_hsa_operand): For %lu
136         cast size_t arguments to unsigned long.
138 2017-01-27  Pekka Jääskeläinen  <pekka.jaaskelainen@parmance.com>
140         * config-lang.in: Removed stale target-libbrig reference.
142 2017-01-26  Jakub Jelinek  <jakub@redhat.com>
144         Update copyright years.
146 2017-01-24  Pekka Jääskeläinen  <pekka@parmance.com>
147             Martin Jambor  <mjambor@suse.cz>
149         * Make-lang.in: New file.
150         * brig-builtins.h: Likewise.
151         * brig-c.h: Likewise.
152         * brig-lang.c: Likewise.
153         * brigspec.c: Likewise.
154         * config-lang.in: Likewise.
155         * lang-specs.h: Likewise.
156         * lang.opt: Likewise.
157         * brigfrontend/brig-arg-block-handler.cc: Likewise.
158         * brigfrontend/brig-atomic-inst-handler.cc: Likewise.
159         * brigfrontend/brig-basic-inst-handler.cc: Likewise.
160         * brigfrontend/brig-branch-inst-handler.cc: Likewise.
161         * brigfrontend/brig-cmp-inst-handler.cc: Likewise.
162         * brigfrontend/brig-code-entry-handler.cc: Likewise.
163         * brigfrontend/brig-code-entry-handler.h: Likewise.
164         * brigfrontend/brig-comment-handler.cc: Likewise.
165         * brigfrontend/brig-control-handler.cc: Likewise.
166         * brigfrontend/brig-copy-move-inst-handler.cc: Likewise.
167         * brigfrontend/brig-cvt-inst-handler.cc: Likewise.
168         * brigfrontend/brig-fbarrier-handler.cc: Likewise.
169         * brigfrontend/brig-function-handler.cc: Likewise.
170         * brigfrontend/brig-function.cc: Likewise.
171         * brigfrontend/brig-function.h: Likewise.
172         * brigfrontend/brig-inst-mod-handler.cc: Likewise.
173         * brigfrontend/brig-label-handler.cc: Likewise.
174         * brigfrontend/brig-lane-inst-handler.cc: Likewise.
175         * brigfrontend/brig-machine.c: Likewise.
176         * brigfrontend/brig-machine.h: Likewise.
177         * brigfrontend/brig-mem-inst-handler.cc: Likewise.
178         * brigfrontend/brig-module-handler.cc: Likewise.
179         * brigfrontend/brig-queue-inst-handler.cc: Likewise.
180         * brigfrontend/brig-seg-inst-handler.cc: Likewise.
181         * brigfrontend/brig-signal-inst-handler.cc: Likewise.
182         * brigfrontend/brig-to-generic.cc: Likewise.
183         * brigfrontend/brig-to-generic.h: Likewise.
184         * brigfrontend/brig-util.cc: Likewise.
185         * brigfrontend/brig-util.h: Likewise.
186         * brigfrontend/brig-variable-handler.cc: Likewise.
187         * brigfrontend/phsa.h: Likewise.