search for: cctl

Displaying 20 results from an estimated 23 matches for "cctl".

Did you mean: ctl
2016 Mar 17
4
[PATCH mesa v2 1/2] nouveau: codegen: Use FILE_MEMORY_BUFFER for buffers
...= FILE_MEMORY_GLOBAL; bld.mkCmp(OP_SET, CC_GT, TYPE_U32, pred, TYPE_U32, offset, length); i->setPredicate(CC_NOT_P, pred); if (i->defExists(0)) { @@ -1987,7 +1989,7 @@ NVC0LoweringPass::visit(Instruction *i) break; case OP_ATOM: { - const bool cctl = i->src(0).getFile() == FILE_MEMORY_GLOBAL; + const bool cctl = i->src(0).getFile() == FILE_MEMORY_BUFFER; handleATOM(i); handleCasExch(i, cctl); } diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cp...
2016 Apr 08
2
[PATCH mesa v2 1/2] nouveau: codegen: Use FILE_MEMORY_BUFFER for buffers
...red, TYPE_U32, offset, length); >> i->setPredicate(CC_NOT_P, pred); >> if (i->defExists(0)) { >> @@ -1987,7 +1989,7 @@ NVC0LoweringPass::visit(Instruction *i) >> break; >> case OP_ATOM: >> { >> - const bool cctl = i->src(0).getFile() == FILE_MEMORY_GLOBAL; >> + const bool cctl = i->src(0).getFile() == FILE_MEMORY_BUFFER; >> handleATOM(i); >> handleCasExch(i, cctl); >> } >> diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp b/src/...
2016 Mar 23
0
[PATCH mesa v2 1/2] nouveau: codegen: Use FILE_MEMORY_BUFFER for buffers
...p(OP_SET, CC_GT, TYPE_U32, pred, TYPE_U32, offset, length); > i->setPredicate(CC_NOT_P, pred); > if (i->defExists(0)) { > @@ -1987,7 +1989,7 @@ NVC0LoweringPass::visit(Instruction *i) > break; > case OP_ATOM: > { > - const bool cctl = i->src(0).getFile() == FILE_MEMORY_GLOBAL; > + const bool cctl = i->src(0).getFile() == FILE_MEMORY_BUFFER; > handleATOM(i); > handleCasExch(i, cctl); > } > diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp b/src/gallium/drivers/nouv...
2016 Apr 12
2
[PATCH mesa v2 1/2] nouveau: codegen: Use FILE_MEMORY_BUFFER for buffers
...i->setPredicate(CC_NOT_P, pred); >>>> if (i->defExists(0)) { >>>> @@ -1987,7 +1989,7 @@ NVC0LoweringPass::visit(Instruction *i) >>>> break; >>>> case OP_ATOM: >>>> { >>>> - const bool cctl = i->src(0).getFile() == FILE_MEMORY_GLOBAL; >>>> + const bool cctl = i->src(0).getFile() == FILE_MEMORY_BUFFER; >>>> handleATOM(i); >>>> handleCasExch(i, cctl); >>>> } >>>> diff --git a/src/gallium/drivers/...
2016 Apr 08
0
[PATCH mesa v2 1/2] nouveau: codegen: Use FILE_MEMORY_BUFFER for buffers
...h); >>> i->setPredicate(CC_NOT_P, pred); >>> if (i->defExists(0)) { >>> @@ -1987,7 +1989,7 @@ NVC0LoweringPass::visit(Instruction *i) >>> break; >>> case OP_ATOM: >>> { >>> - const bool cctl = i->src(0).getFile() == FILE_MEMORY_GLOBAL; >>> + const bool cctl = i->src(0).getFile() == FILE_MEMORY_BUFFER; >>> handleATOM(i); >>> handleCasExch(i, cctl); >>> } >>> diff --git a/src/gallium/drivers/nouveau/codegen/nv50...
2016 Apr 14
0
[PATCH mesa v2 1/2] nouveau: codegen: Use FILE_MEMORY_BUFFER for buffers
...C_NOT_P, pred); >>>>> if (i->defExists(0)) { >>>>> @@ -1987,7 +1989,7 @@ NVC0LoweringPass::visit(Instruction *i) >>>>> break; >>>>> case OP_ATOM: >>>>> { >>>>> - const bool cctl = i->src(0).getFile() == FILE_MEMORY_GLOBAL; >>>>> + const bool cctl = i->src(0).getFile() == FILE_MEMORY_BUFFER; >>>>> handleATOM(i); >>>>> handleCasExch(i, cctl); >>>>> } >>>>> diff --git a/...
2015 Nov 06
2
Documentation request for MP warp error 0x10
...Hopefully this clears things up. Local memory is a per-thread space. Shared memory is a per-CTA space (compute shaders only). LDL and STL instructions access local memory with a zero offset. LDS, LSDLK, STS, and STSCUL instructions access shared memory with a zero offset. LD, ST, RED, ATOM, and CCTL.D instructions access the generic thread address space, which is layered on top of the channel's virtual address space. In the generic thread address space, there are 16MB windows into local and shared memory; everything not in a Local or Shared address window accesses global virtual memory....
2016 Mar 16
2
[PATCH mesa 4/6] nouveau: codegen: s/FILE_MEMORY_GLOBAL/FILE_MEMORY_BUFFER/
...st->src(0).getFile() == FILE_MEMORY_GLOBAL && > + return ldst->src(0).getFile() == FILE_MEMORY_BUFFER && > ldst->src(0).isIndirect(0) && > ldst->getIndirect(0, 0)->reg.size == 8; > } > @@ -1862,7 +1862,7 @@ CodeEmitterGK110::emitCCTL(const Instruction *i) > > code[0] = 0x00000002 | (i->subOp << 2); > > - if (i->src(0).getFile() == FILE_MEMORY_GLOBAL) { > + if (i->src(0).getFile() == FILE_MEMORY_BUFFER) { > code[1] = 0x7b000000; > } else { > code[1] = 0x7c000000; &...
2016 Mar 16
0
[PATCH mesa 4/6] nouveau: codegen: s/FILE_MEMORY_GLOBAL/FILE_MEMORY_BUFFER/
...n *ldst) { - return ldst->src(0).getFile() == FILE_MEMORY_GLOBAL && + return ldst->src(0).getFile() == FILE_MEMORY_BUFFER && ldst->src(0).isIndirect(0) && ldst->getIndirect(0, 0)->reg.size == 8; } @@ -1862,7 +1862,7 @@ CodeEmitterGK110::emitCCTL(const Instruction *i) code[0] = 0x00000002 | (i->subOp << 2); - if (i->src(0).getFile() == FILE_MEMORY_GLOBAL) { + if (i->src(0).getFile() == FILE_MEMORY_BUFFER) { code[1] = 0x7b000000; } else { code[1] = 0x7c000000; diff --git a/src/gallium/drivers/nouv...
2011 May 10
5
Tuning disk failure detection?
We recently had a disk fail on one of our whitebox (SuperMicro) ZFS arrays (Solaris 10 U9). The disk began throwing errors like this: May 5 04:33:44 dev-zfs4 scsi: [ID 243001 kern.warning] WARNING: /pci at 0,0/pci8086,3410 at 9/pci15d9,400 at 0 (mpt_sas0): May 5 04:33:44 dev-zfs4 mptsas_handle_event_sync: IOCStatus=0x8000, IOCLogInfo=0x31110610 And errors for the drive were
2016 Mar 16
0
[PATCH mesa 4/6] nouveau: codegen: s/FILE_MEMORY_GLOBAL/FILE_MEMORY_BUFFER/
...== FILE_MEMORY_GLOBAL && >> + return ldst->src(0).getFile() == FILE_MEMORY_BUFFER && >> ldst->src(0).isIndirect(0) && >> ldst->getIndirect(0, 0)->reg.size == 8; >> } >> @@ -1862,7 +1862,7 @@ CodeEmitterGK110::emitCCTL(const Instruction *i) >> >> code[0] = 0x00000002 | (i->subOp << 2); >> >> - if (i->src(0).getFile() == FILE_MEMORY_GLOBAL) { >> + if (i->src(0).getFile() == FILE_MEMORY_BUFFER) { >> code[1] = 0x7b000000; >> } else { >...
2019 Jan 25
0
[klibc:update-dash] parser: Fix single-quoted patterns in here-documents
...2 insertions(+), 1 deletion(-) diff --git a/usr/dash/parser.c b/usr/dash/parser.c index c28363ca..cd980941 100644 --- a/usr/dash/parser.c +++ b/usr/dash/parser.c @@ -934,7 +934,8 @@ readtoken1(int firstc, char const *syntax, char *eofmark, int striptabs) USTPUTC(c, out); break; case CCTL: - if (eofmark == NULL || synstack->dblquote) + if ((!eofmark) | synstack->dblquote | + synstack->varnest) USTPUTC(CTLESC, out); USTPUTC(c, out); break;
2020 Mar 28
0
[klibc:update-dash] dash: parser: Fix single-quoted patterns in here-documents
...2 insertions(+), 1 deletion(-) diff --git a/usr/dash/parser.c b/usr/dash/parser.c index c28363ca..cd980941 100644 --- a/usr/dash/parser.c +++ b/usr/dash/parser.c @@ -934,7 +934,8 @@ readtoken1(int firstc, char const *syntax, char *eofmark, int striptabs) USTPUTC(c, out); break; case CCTL: - if (eofmark == NULL || synstack->dblquote) + if ((!eofmark) | synstack->dblquote | + synstack->varnest) USTPUTC(CTLESC, out); USTPUTC(c, out); break;
2015 Nov 06
0
Documentation request for MP warp error 0x10
...; Local memory is a per-thread space. > Shared memory is a per-CTA space (compute shaders only). > > LDL and STL instructions access local memory with a zero offset. > LDS, LSDLK, STS, and STSCUL instructions access shared memory with a zero > offset. > > LD, ST, RED, ATOM, and CCTL.D instructions access the generic thread address > space, which is layered on top of the channel's virtual address space. > > In the generic thread address space, there are 16MB windows into local and > shared memory; everything not in a Local or Shared address window accesses >...
2016 Mar 16
13
[PATCH mesa 1/6] tgsi_build: Fix return of uninitialized memory in tgsi_*_instruction_memory
tgsi_default_instruction_memory / tgsi_build_instruction_memory were returning uninitialized memory for tgsi_instruction_memory.Texture and tgsi_instruction_memory.Format. Note 0 means not set, and thus is a correct default initializer for these. Fixes: 3243b6fc97 ("tgsi: add Texture and Format to tgsi_instruction_memory") Cc: Nicolai Hähnle <nicolai.haehnle at amd.com>
2019 Jan 25
0
[klibc:update-dash] expand: Do not quote backslashes in unquoted parameter expansion
...ff --git a/usr/dash/expand.c b/usr/dash/expand.c index 3abfa0c4..59a202cb 100644 --- a/usr/dash/expand.c +++ b/usr/dash/expand.c @@ -849,8 +849,7 @@ memtodest(const char *p, size_t len, const char *syntax, int quotes) { if (c) { if ((quotes & QUOTES_ESC) && ((syntax[c] == CCTL) || - (((quotes & EXP_FULL) || syntax != BASESYNTAX) && - syntax[c] == CBACK))) + (syntax != BASESYNTAX && syntax[c] == CBACK))) USTPUTC(CTLESC, q); } else if (!(quotes & QUOTES_KEEPNUL)) continue; @@ -1341,7 +1340,7 @@ expmeta(char *name, u...
2020 Mar 28
0
[klibc:update-dash] dash: expand: Do not quote backslashes in unquoted parameter expansion
...ff --git a/usr/dash/expand.c b/usr/dash/expand.c index 3abfa0c4..59a202cb 100644 --- a/usr/dash/expand.c +++ b/usr/dash/expand.c @@ -849,8 +849,7 @@ memtodest(const char *p, size_t len, const char *syntax, int quotes) { if (c) { if ((quotes & QUOTES_ESC) && ((syntax[c] == CCTL) || - (((quotes & EXP_FULL) || syntax != BASESYNTAX) && - syntax[c] == CBACK))) + (syntax != BASESYNTAX && syntax[c] == CBACK))) USTPUTC(CTLESC, q); } else if (!(quotes & QUOTES_KEEPNUL)) continue; @@ -1341,7 +1340,7 @@ expmeta(char *name, u...
2015 Oct 26
2
Documentation request for MP warp error 0x10
On Fri, Oct 2, 2015 at 6:14 PM, Robert Morell <rmorell at nvidia.com> wrote: > Hi Ilia, > > On Fri, Oct 02, 2015 at 06:05:21PM -0400, Ilia Mirkin wrote: >> Hi Robert, >> >> Thanks for the quick response! That goes in line with my observations >> which is that these things happen when using an ATOM/RED instruction. >> I've checked and rechecked that
2020 Mar 28
0
[klibc:update-dash] dash: expand: Merge syntax/quotes in memtodest with flags
...ASESYNTAX; char *q; if (unlikely(!len)) @@ -847,11 +844,11 @@ memtodest(const char *p, size_t len, const char *syntax, int quotes) { do { int c = (signed char)*p++; if (c) { - if ((quotes & QUOTES_ESC) && + if ((flags & QUOTES_ESC) && ((syntax[c] == CCTL) || - (syntax != BASESYNTAX && syntax[c] == CBACK))) + (flags & EXP_QUOTED && syntax[c] == CBACK))) USTPUTC(CTLESC, q); - } else if (!(quotes & QUOTES_KEEPNUL)) + } else if (!(flags & EXP_KEEPNUL)) continue; USTPUTC(c, q); } while (--len); @...
2019 Jan 25
0
[klibc:update-dash] parser: Add syntax stack for recursive parsing
...#39; */ - if (syntax == BASESYNTAX) + if (synstack->syntax == BASESYNTAX) goto endword; /* exit outer loop */ USTPUTC(c, out); nlprompt(); @@ -916,7 +934,7 @@ readtoken1(int firstc, char const *syntax, char *eofmark, int striptabs) USTPUTC(c, out); break; case CCTL: - if (eofmark == NULL || dblquote) + if (eofmark == NULL || synstack->dblquote) USTPUTC(CTLESC, out); USTPUTC(c, out); break; @@ -929,13 +947,18 @@ readtoken1(int firstc, char const *syntax, char *eofmark, int striptabs) pungetc(); } else { if ( - dbl...