/* * Copyright © 2022 Imagination Technologies Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice (including the next * paragraph) shall be included in all copies or substantial portions of the * Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ /** * \file rogue_backend_instrs.def * * \brief Contains macros defining backend instructions. */ /* * ROGUE_BUILDER_DEFINE_BACKENDds * d: Number of destinations. * s: Number of sources. */ #ifndef ROGUE_BUILDER_DEFINE_BACKEND00 #define ROGUE_BUILDER_DEFINE_BACKEND00(...) #endif /* ROGUE_BUILDER_DEFINE_BACKEND00 */ #ifndef ROGUE_BUILDER_DEFINE_BACKEND02 #define ROGUE_BUILDER_DEFINE_BACKEND02(...) #endif /* ROGUE_BUILDER_DEFINE_BACKEND02 */ #ifndef ROGUE_BUILDER_DEFINE_BACKEND11 #define ROGUE_BUILDER_DEFINE_BACKEND11(...) #endif /* ROGUE_BUILDER_DEFINE_BACKEND11 */ #ifndef ROGUE_BUILDER_DEFINE_BACKEND13 #define ROGUE_BUILDER_DEFINE_BACKEND13(...) #endif /* ROGUE_BUILDER_DEFINE_BACKEND13 */ #ifndef ROGUE_BUILDER_DEFINE_BACKEND14 #define ROGUE_BUILDER_DEFINE_BACKEND14(...) #endif /* ROGUE_BUILDER_DEFINE_BACKEND14 */ #ifndef ROGUE_BUILDER_DEFINE_BACKEND06 #define ROGUE_BUILDER_DEFINE_BACKEND06(...) #endif /* ROGUE_BUILDER_DEFINE_BACKEND06 */ #ifndef ROGUE_BUILDER_DEFINE_BACKEND16 #define ROGUE_BUILDER_DEFINE_BACKEND16(...) #endif /* ROGUE_BUILDER_DEFINE_BACKEND16 */ ROGUE_BUILDER_DEFINE_BACKEND00(UVSW_EMIT) ROGUE_BUILDER_DEFINE_BACKEND00(UVSW_ENDTASK) ROGUE_BUILDER_DEFINE_BACKEND00(UVSW_EMITTHENENDTASK) ROGUE_BUILDER_DEFINE_BACKEND02(EMITPIX) ROGUE_BUILDER_DEFINE_BACKEND02(IDF) ROGUE_BUILDER_DEFINE_BACKEND11(UVSW_WRITE) ROGUE_BUILDER_DEFINE_BACKEND11(UVSW_WRITETHENEMITTHENENDTASK) ROGUE_BUILDER_DEFINE_BACKEND13(LD) ROGUE_BUILDER_DEFINE_BACKEND13(FITR_PIXEL) ROGUE_BUILDER_DEFINE_BACKEND14(FITRP_PIXEL) ROGUE_BUILDER_DEFINE_BACKEND06(ST) ROGUE_BUILDER_DEFINE_BACKEND16(SMP1D) ROGUE_BUILDER_DEFINE_BACKEND16(SMP2D) ROGUE_BUILDER_DEFINE_BACKEND16(SMP3D) #undef ROGUE_BUILDER_DEFINE_BACKEND16 #undef ROGUE_BUILDER_DEFINE_BACKEND06 #undef ROGUE_BUILDER_DEFINE_BACKEND14 #undef ROGUE_BUILDER_DEFINE_BACKEND13 #undef ROGUE_BUILDER_DEFINE_BACKEND11 #undef ROGUE_BUILDER_DEFINE_BACKEND02 #undef ROGUE_BUILDER_DEFINE_BACKEND00