Skip to content

Commit b7c6ef9

Browse files
authored
Merge pull request #130 from ThePortlandGroup/nv_stage
Pull 2017-07-07T07-12 Recent NVIDIA Changes
2 parents 8a5aa7e + 283802c commit b7c6ef9

File tree

5 files changed

+8
-9
lines changed

5 files changed

+8
-9
lines changed

tools/flang2/docs/xflag.n

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5317,6 +5317,8 @@ The -ffast-math command-line option is present.
53175317
Enable tuning code for -Minline.
53185318
.XF "221:"
53195319
This sets the maximum caller function size into which to Minline.
5320+
.XF "222:"
5321+
Functions whose size if smaller than this value will get inlined by Minline.
53205322

53215323
.XF "248:"
53225324
OpenMP Threadprivate TLS/TPvector implementation control.
@@ -5332,6 +5334,3 @@ Set number of bigbuffers for multi-buffer memory management for AMD GPU.
53325334
(moved to 202)
53335335
.XF "251:"
53345336
(NOT available - check declaration in global.h for flg.x[], all compilers)
5335-
5336-
.XF "260:"
5337-
Functions whose size if smaller than this value will get inlined by Minline.

tools/flang2/flang2exe/bih.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ typedef struct {
6868
*/
6969
unsigned parsect : 1; /* bih belongs to a parallel section */
7070
unsigned ujres : 1; /* bih contains ujresidual start & count info */
71-
unsigned sse : 1; /* bih contains sse code */
71+
unsigned simd : 1; /* bih contains simd code */
7272

7373
unsigned ldvol : 1; /* bih contains a load from volatile space */
7474
unsigned stvol : 1; /* bih contains a store to volatile space */
@@ -190,7 +190,7 @@ typedef struct {
190190
#define BIH_PARLOOP(i) bihb.stg_base[i].flags.bits.parloop
191191
#define BIH_PARSECT(i) bihb.stg_base[i].flags.bits.parsect
192192
#define BIH_UJRES(i) bihb.stg_base[i].flags.bits.ujres
193-
#define BIH_SSE(i) bihb.stg_base[i].flags.bits.sse
193+
#define BIH_SIMD(i) bihb.stg_base[i].flags.bits.simd
194194
#define BIH_LDVOL(i) bihb.stg_base[i].flags.bits.ldvol
195195
#define BIH_STVOL(i) bihb.stg_base[i].flags.bits.stvol
196196
#define BIH_ASM(i) bihb.stg_base[i].flags.bits.gasm

tools/flang2/flang2exe/bihutil.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ merge_bih_flags(int to_bih, int fm_bih)
227227
BIH_QJSR(to_bih) = BIH_QJSR(to_bih) | BIH_QJSR(fm_bih);
228228
BIH_INVIF(to_bih) = BIH_INVIF(to_bih) | BIH_INVIF(fm_bih);
229229
BIH_NOINVIF(to_bih) = BIH_NOINVIF(to_bih) | BIH_NOINVIF(fm_bih);
230-
BIH_SSE(to_bih) = BIH_SSE(to_bih) | BIH_SSE(fm_bih);
230+
BIH_SIMD(to_bih) = BIH_SIMD(to_bih) | BIH_SIMD(fm_bih);
231231
BIH_RESID(to_bih) = BIH_RESID(to_bih) | BIH_RESID(fm_bih);
232232
BIH_VCAND(to_bih) = BIH_VCAND(to_bih) | BIH_VCAND(fm_bih);
233233
BIH_MIDIOM(to_bih) = BIH_MIDIOM(to_bih) | BIH_MIDIOM(fm_bih);

tools/flang2/flang2exe/iltutil.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,8 @@ dump_ilt(FILE *ff, int bihx)
337337
fprintf(ff, " PARLOOP");
338338
if (BIH_UJRES(bihx))
339339
fprintf(ff, " UJRES");
340-
if (BIH_SSE(bihx))
341-
fprintf(ff, " SSE");
340+
if (BIH_SIMD(bihx))
341+
fprintf(ff, " SIMD");
342342
if (BIH_LDVOL(bihx))
343343
fprintf(ff, " LDVOL");
344344
if (BIH_STVOL(bihx))

tools/flang2/flang2exe/mwd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4793,7 +4793,7 @@ db(int block)
47934793
putbit("parsect", BIH_PARSECT(block));
47944794
putbit("resid", BIH_RESID(block));
47954795
putbit("ujres", BIH_UJRES(block));
4796-
putbit("sse", BIH_SSE(block));
4796+
putbit("simd", BIH_SIMD(block));
47974797
putbit("ldvol", BIH_LDVOL(block));
47984798
putbit("stvol", BIH_STVOL(block));
47994799
putbit("task", BIH_TASK(block));

0 commit comments

Comments
 (0)