head 1.2; access; symbols; locks; strict; comment @// @; 1.2 date 2019.08.21.16.30.28; author nia; state dead; branches; next 1.1; commitid c9odA7bDxTYcKUzB; 1.1 date 2019.08.21.13.35.29; author nia; state Exp; branches; next ; commitid QbuTYFguNT3eMTzB; desc @@ 1.2 log @Remove graphics/MesaLib11. "we can delete mesa 11 now. It should have been overwritten by mesa 18. Nobody will object." - tnn @ text @$NetBSD: patch-src_gallium_drivers_nouveau_codegen_nv50__ir__peephole.cpp,v 1.1 2019/08/21 13:35:29 nia Exp $ The C99 "restrict" keyword is not valid in C++, but most compilers will understand __restrict. --- src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp.orig 2015-03-28 18:20:39.000000000 +0000 +++ src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp @@@@ -1530,7 +1530,7 @@@@ private: bool replaceLdFromLd(Instruction *ld, Record *ldRec); bool replaceLdFromSt(Instruction *ld, Record *stRec); - bool replaceStFromSt(Instruction *restrict st, Record *stRec); + bool replaceStFromSt(Instruction *__restrict st, Record *stRec); void addRecord(Instruction *ldst); void purgeRecords(Instruction *const st, DataFile); @@@@ -1817,7 +1817,7 @@@@ MemoryOpt::replaceLdFromLd(Instruction * } bool -MemoryOpt::replaceStFromSt(Instruction *restrict st, Record *rec) +MemoryOpt::replaceStFromSt(Instruction *__restrict st, Record *rec) { const Instruction *const ri = rec->insn; Value *extra[3]; @ 1.1 log @Move graphics/MesaLib18 to graphics/MesaLib. Move graphics/MesaLib to graphics/MesaLib11. @ text @d1 1 a1 1 $NetBSD: patch-src_gallium_drivers_nouveau_codegen_nv50__ir__peephole.cpp,v 1.1 2015/04/25 11:19:18 tnn Exp $ @