aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost
Commit message (Collapse)AuthorAgeFilesLines
* pan/mdg: Replicate 16-bit swizzlesAlyssa Rosenzweig2020-04-291-0/+6
| | | | | | | We don't support vec8 quite yet anyway, this fixes dot products. Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4793>
* pan/mdg: Ensure fdot is scalar out in disasmAlyssa Rosenzweig2020-04-291-0/+11
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4793>
* pan/mdg: Move condense_writemask to disasmAlyssa Rosenzweig2020-04-292-22/+22
| | | | | | | The compiler should *never* use this. Packing should be 1 way. Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4793>
* pan/mdg: Pass through some types from schedulingAlyssa Rosenzweig2020-04-291-0/+4
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4793>
* pan/mdg: Don't crash on unknown branch targetAlyssa Rosenzweig2020-04-291-1/+2
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4793>
* pan/mdg: Make some branch targets more explicitAlyssa Rosenzweig2020-04-291-0/+2
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4793>
* pan/mdg: Always print the maskAlyssa Rosenzweig2020-04-291-3/+1
| | | | | | | Meaningful for fp16. Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4793>
* pan/mdg: Specialize swizzle to typeAlyssa Rosenzweig2020-04-291-6/+12
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4793>
* pan/mdg: Lower specials to 32-bitAlyssa Rosenzweig2020-04-291-0/+6
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4793>
* pan/mdg: Move sampler_type emission to pack timeAlyssa Rosenzweig2020-04-292-16/+16
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4793>
* pan/mdg: Set texture full fields at pack timeAlyssa Rosenzweig2020-04-292-5/+9
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4793>
* pan/mdg: Track texture typesAlyssa Rosenzweig2020-04-291-1/+10
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4793>
* pan/mdg: Track v_mov type (force uint32 for now?)Alyssa Rosenzweig2020-04-291-0/+2
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4793>
* pan/mdg: Denoise printsAlyssa Rosenzweig2020-04-291-9/+21
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4793>
* pan/mdg: Track a primary type for I/OAlyssa Rosenzweig2020-04-291-15/+17
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4793>
* pan/mdg: Another goofy comment goneAlyssa Rosenzweig2020-04-291-9/+1
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4793>
* pan/mdg: Track ALU dest typeAlyssa Rosenzweig2020-04-291-2/+3
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4793>
* pan/mdg: Track ALU src typesAlyssa Rosenzweig2020-04-291-18/+20
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4793>
* pan/mdg: Add type fields to IRAlyssa Rosenzweig2020-04-292-7/+13
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4793>
* pan/bi: Share ALU type printingAlyssa Rosenzweig2020-04-293-31/+34
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4793>
* pan/mdg: Set lower_flrp16Alyssa Rosenzweig2020-04-291-0/+1
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4793>
* pan/mdg: Remove old hackAlyssa Rosenzweig2020-04-291-3/+0
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4793>
* pan/mdg: Remove goofy 16-bit commentAlyssa Rosenzweig2020-04-291-8/+0
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4792>
* pan/mdg: Don't break SSAAlyssa Rosenzweig2020-04-291-7/+2
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4792>
* pan/mdg: SSA_FIXED_MINIMUM already covered by PAN_IS_REGAlyssa Rosenzweig2020-04-292-3/+1
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4792>
* pan/mdg: Use PAN_IS_REGAlyssa Rosenzweig2020-04-296-21/+17
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4792>
* pan/mdg: Remove nir_alu_src_indexAlyssa Rosenzweig2020-04-293-10/+4
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4792>
* pan/bi: Use common IR indicesAlyssa Rosenzweig2020-04-296-57/+24
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4792>
* panfrost: Move Bifrost IR indexing to commonAlyssa Rosenzweig2020-04-291-0/+32
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4792>
* panfrost: Fix BO reference countingAlyssa Rosenzweig2020-04-291-2/+2
| | | | | | | | Typo. Fixes: 3283c7f4dad ("panfrost: Inline reference counting routines") Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4792>
* pan/bit: Add BITWISE testAlyssa Rosenzweig2020-04-291-0/+32
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4790>
* pan/bit: Interpret BI_BITWISEAlyssa Rosenzweig2020-04-291-2/+22
| | | | | | | No shifting yet. Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4790>
* pan/bi: Handle iand/ior/ixor in NIR->BIRAlyssa Rosenzweig2020-04-291-0/+18
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4790>
* pan/bi: Pack BI_BITWISEAlyssa Rosenzweig2020-04-292-2/+77
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4790>
* pan/bi: Add bitwise modifiersAlyssa Rosenzweig2020-04-292-0/+12
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4790>
* pan/bi: Add initial fcmp testAlyssa Rosenzweig2020-04-281-0/+44
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4789>
* pan/bit: Interpret CMPAlyssa Rosenzweig2020-04-281-1/+41
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4789>
* pan/bit: Prepare condition evaluation for vectorsAlyssa Rosenzweig2020-04-281-9/+9
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4789>
* pan/bi: Relax double-abs conditionAlyssa Rosenzweig2020-04-281-1/+1
| | | | | | | Only if both ports (<==> registers) same. Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4789>
* pan/bi: Pack fma.fcmp16Alyssa Rosenzweig2020-04-282-0/+23
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4789>
* pan/bi: Factor out fp16 abs logicAlyssa Rosenzweig2020-04-281-17/+25
| | | | | | | Also used for fcmp16 Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4789>
* pan/bi: Pack FMA 32 FCMPAlyssa Rosenzweig2020-04-282-0/+85
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4789>
* pan/bi: Fix source mod testing for CMPAlyssa Rosenzweig2020-04-281-4/+5
| | | | | | | Outputs u32. Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4789>
* pan/bi: Structify ADD ICMP 32Alyssa Rosenzweig2020-04-281-0/+10
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4789>
* pan/bi: Structify FMA ICMP 16Alyssa Rosenzweig2020-04-281-0/+8
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4789>
* pan/bi: Structify FMA ICMP 32Alyssa Rosenzweig2020-04-281-0/+17
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4789>
* pan/bi: Structify ADD FCMP16Alyssa Rosenzweig2020-04-281-0/+14
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4789>
* pan/bi: Structify FMA FCMP16Alyssa Rosenzweig2020-04-281-0/+15
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4789>
* pan/bi Strucitfy ADD FCMP 32Alyssa Rosenzweig2020-04-281-0/+11
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4789>
* pan/bi: Structify FMA FCMPAlyssa Rosenzweig2020-04-281-0/+21
| | | | | Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4789>