Mesa (master): 65 new commits

Christoph Bumiller chrisbmr at kemper.freedesktop.org
Sat Apr 14 20:06:04 UTC 2012


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a6fcf14c239fa4c1542559f8c938fb574e48104f
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sat Apr 14 21:12:22 2012 +0200

    nv50/ir/opt: extend handleCVT for nv50's SET u32 to f32 chain

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a9f22b91e5b6f0d462de8a92e13d7c5af35dadc4
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Thu Apr 12 21:42:29 2012 +0200

    nv50/ir: print interpolation mode

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dcc91fc5d3e79135e912a93e9de31d6d3a3458ff
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sun Apr 8 17:33:08 2012 +0200

    nv50: update FP linkage state on one/two-sided lighting switch

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=df982399ccb477838078532c8cc7056b5b795ca0
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sun Mar 18 23:28:07 2012 +0100

    nv50: delete old shader compiler files

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0bbf1659df3adf51784bcb376e681c05f49b6070
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sat Apr 14 21:42:52 2012 +0200

    nv50: hook up to new shader code generator

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=322bc7ed68ed92233c97168c036d0aa50c11a20e
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sat Apr 14 21:40:35 2012 +0200

    nv50/ir: import nv50 target

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=15ce0f76e2e014374a292550505f58da88333fb7
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sat Apr 14 04:44:28 2012 +0200

    nv50/ir: fix off-by-ones in CSE and nvc0 insnCanLoad

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce04221081cd145ac3fc8c053cc5ca0a8f05b7ef
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sat Apr 7 22:46:35 2012 +0200

    nv50/ir/tgsi: generate UCPs with actual outputs instead of SVs
    
    gl_ClipDistance is treated the same way, this is just nicer and
    easier assign slots for them on nv50.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d07e4421ab39d10fb928dffee66698fef2679add
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Mon Apr 9 18:22:57 2012 +0200

    nv50/ir: Fix type of the instruction created by mkCmp() for dst in FILE_FLAGS.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f8c3212cbb0cddbfcf1853b55e954de31e0ff555
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sun Apr 8 23:38:55 2012 +0200

    nv50/ir: fix Instruction::isCommutationLegal for WAW

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=93508b5b0d0a2b1e966973f1d0119b32d2ccf729
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Sun Apr 8 23:14:15 2012 +0200

    nv50/ir/opt: Add isOptSupported() check in logical arith optimization.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f4dbdcbfcf7370deeb5dcccec2e8d1c471d66517
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Tue Dec 27 12:43:27 2011 +0100

    nv50/ir/ra: Fix live set propagation in the secondary passes of buildLiveSets().

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2fc014f8c0d9339b1652f4e037aee5697142304a
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Tue Feb 7 22:39:20 2012 +0100

    nv50/ir/opt: don't regard OP_WRSV as dead code

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a765d7880f80d01be261a5d1f4b356a2b6fcfaad
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sat Apr 14 21:30:52 2012 +0200

    nv50/ir: add isUniform query to Values

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e43a3a66a9d8a99021d76ff4d07dec7b8cfd62ca
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Mon Apr 9 20:58:39 2012 +0200

    nv50/ir: rewrite the register allocator as GCRA, with spilling
    
    This is more flexible than the linear scan, and we don't need the
    separate allocation pass for constrained values anymore.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=99319328d4c249090d3e4a387f6bdc00f711b688
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Thu Apr 5 23:14:33 2012 +0200

    nv50/ir/tgsi: only export x-component of PSIZE

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=12a2f5121d42f6f7cd94fe01f3cabe59280c62f8
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Thu Apr 5 22:53:46 2012 +0200

    nvc0: fix emission of 3rd src in SET_AND,OR,XOR

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f01efba60a37abfdefabecabe7abc899e76102ac
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Mon Apr 9 20:48:43 2012 +0200

    nv50/ir: Fix BuildUtil::mkSelect and mkClobber

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=054fab5b48ed8657da8549b9e1276acf4705f42c
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Fri Apr 6 19:18:05 2012 +0200

    nv50/ir: fix reg file conflicts with undefined-value placeholders

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=51327a2df283da9a77c6e537751c6a45baed6951
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Mon Apr 2 20:55:03 2012 +0200

    nv50/ir/opt: silence warning (int < Elements() signedness)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ef7f9f68cfe71b1f812e59abc644a54a0b80dd06
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Mon Apr 2 20:53:46 2012 +0200

    nv50/ir/opt: fix combineSt access to wrong instruction

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bb9c15bac42cf323ef267095b33031ffc1d4fba4
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sun Jan 29 15:41:52 2012 +0100

    nv50/ir/opt: another insn NULL check in phi elimination

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4ece0dbd2f595c376dc58252643e67bb63552e88
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Sun Nov 27 13:06:10 2011 +0100

    nv50/ir/ssa: Take into account function inputs and outputs.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a44f94caf8887f6dfc66c4193e95c6430c9de57
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Tue Mar 27 21:48:58 2012 +0200

    nv50/ir: Clean up before calculating instruction ordering for a new function.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a5397851870d3a9969b2b864c849ba209ef9b0f7
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Tue Nov 15 17:24:18 2011 +0100

    nv50/ir/ra: Allocate registers for function arguments.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=530ff61ba77f940f6f4093956b99221ab62ab430
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Fri Apr 6 19:16:04 2012 +0200

    nv50/ir: Take into account function args in the live range calculation code.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ed255dbae2ada50cbdb71f6b03f4e42d3ed7ebc6
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Thu Mar 29 23:23:53 2012 +0200

    nv50/ir/ra: Use matching physical regs for function args in caller and callee.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a3dd45e1c27e4e55dadb9467c2ea428f58083ac1
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Fri Apr 6 19:08:27 2012 +0200

    nv50/ir/tgsi: Infer function inputs/outputs.
    
    Edit: Don't do it for the main function of (graphics) shaders,
    its inputs and outputs always go through TGSI_FILE_INPUT/OUTPUT.
    This prevents all TEMPs from counting as live out and reduces
    register pressure.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9bb36d54a2c69ebdc9d1c9c4c71945060de8c860
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Tue Mar 27 17:29:55 2012 +0200

    nv50/ir/tgsi: Replace the inlining logic with proper function calls.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=56d40aa51b34b77791cc3a49d7e86473a7459b72
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Tue Mar 27 17:30:31 2012 +0200

    nv50/ir: Decouple DataArray from the dictionary that maps locations to values.
    
    The point is to keep an independent dictionary for each function.
    
    The array that was being used as dictionary has been converted into a
    "bimap" for two different reasons: first, because having an almost
    empty instance of an array with as many entries as registers there are
    in the program, once for every function, would be wasteful, and
    second, because we want to be able to map Value pointers back to
    locations at some point.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d41f293bf014e08df3df4324cdc02de5ce49d5ed
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Thu Mar 22 11:59:32 2012 +0100

    nv50/ir/opt: don't delete instruction in removeFlow before its last use

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=be161e66d6108e56d40c116a4ee12668d6b8d960
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Thu Mar 22 11:58:31 2012 +0100

    nv50/ir/opt: check BB equality before instruction ordering in CSE

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=44e84d6f161e95d44d847440b3bc6d670c242cd7
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Thu Mar 22 11:51:52 2012 +0100

    nv50/ir/opt: don't copy-propagate cond MOVs or MOVs to other reg files
    
    We've never encountered the latter on nvc0, but on nv50 we have moves
    between GPRs and address regs.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ca1fc2b86400e3fc9dd0517863e22721b5e91c77
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Tue Feb 7 20:45:03 2012 +0100

    nv50/ir/opt: don't replace conditional definitions in CSE

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=90f0fac65524fbc4e2f2d396d20d9808e4a0a95c
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Thu Nov 17 18:23:28 2011 +0100

    nv50/ir/opt: Update the symbol size when combining loads and stores.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5df92c81c3a2132bc2974d68a09fd28076a61c5e
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Wed Dec 21 17:06:27 2011 +0100

    nv50/ir: initialize FlowInstruction::builtin

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1e957941735fae514de658c836b8bdaf6c66bc06
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Wed Mar 21 23:53:01 2012 +0100

    nv50/ir/opt: Fix for function calls.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=98116cc3dc3fc2cd84990cc2c968f05fe2978b4a
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Fri Apr 6 18:50:56 2012 +0200

    nv50/ir: Build a "symbol" table with the binary offsets of each function.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5e4b2a1a47ca9a173f6419ed2f12c9fba80e757c
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Tue Nov 15 00:18:28 2011 +0100

    nv50/ir: Add support for removing functions from a program.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d32ebb8c304725fa6bb7ec2d3d40ce828c713917
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Mon Apr 9 21:18:31 2012 +0200

    nv50/ir: Scan program functions in DFS-postorder.
    
    The reason is that several passes (regalloc, function argument
    binding, inlining) are going to require the callees of a function to
    be processed before the caller.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=78de8c8ab54c50c96bc3fae2fe0976054e0acd14
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Fri Apr 6 18:43:29 2012 +0200

    nv50/ir: Deal with graph iterators using RAII.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=898b0981b6c90d2f1e446a532b6ac3cbbb49747d
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Tue Nov 15 02:07:21 2011 +0100

    nv50/ir: Add convenience method for calculating the live sets of a function.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3e9150cd961b2399e402e940400deae11ec7852f
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Wed Mar 21 21:43:26 2012 +0100

    nv50/ir: Add support code for calculating the clobber set of a BB or function.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d6d1f0e4a25c9fbefce7485d77617855a8ea956a
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Mon Apr 9 20:43:28 2012 +0200

    nv50/ir/opt: Don't lose modifiers during constant folding.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=14d5f975a65c57830077dabf2f95261afbc51773
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Wed Mar 21 00:39:00 2012 +0100

    nv50/ir/opt: Improve modifier handling.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=784848a94d621b11020838fc058fc04a7fc57aa9
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Sat Apr 14 21:25:22 2012 +0200

    nv50/ir: Add support for cloning FlowInsns, ImmediateVals and BBs.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a05e6a3fa28168d58a13cfb07f7a664e84b925ae
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Sat Apr 14 21:24:16 2012 +0200

    nv50/ir: Decouple object cloning logic from the sub-object recursion policy.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=da28ba00d84f59650bf180769d9d9a1609eb6164
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Sat Apr 14 21:23:03 2012 +0200

    nv50/ir: Make sure that several IR objects are destroyed on takedown.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9362d4bc0a03860ec386156cf499e855a9c2d2a5
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Mon Apr 9 20:40:35 2012 +0200

    nv50/ir: make Instruction::src/def container private

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8cc2eca5df0116aa7fb8233a9ab6ad1c9e4203cd
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Thu Mar 29 21:18:24 2012 +0200

    nv50/ir: Add support for unlimited instruction arguments.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=15d224f7a7b099fa0e603d786a1980f50b3195a6
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Thu Mar 29 21:32:41 2012 +0200

    nv50/ir: temporarily exclude nv50 code emitter from build
    
    It's not used yet and shouldn't have been included in the first
    place.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f113b6f959d746bed5360c6ddb01f232c5d9c48e
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Fri Apr 6 18:37:24 2012 +0200

    nv50/ir: copy value size in SSA-rename pass

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=55f9bdb64e1f88c74754c8e090cd2cdbe62bba05
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Mon Apr 9 20:34:24 2012 +0200

    nv50/ir/opt: improve post-multiply and check target for support

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=56cf2da02226aee6b7476675c0e05ac7c218756e
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Wed Mar 28 23:50:32 2012 +0200

    nv50/ir: add setFlagsDef/Src helper
    
    Will be used by nv50 target.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=286abcb51ec2c27970e901ed815a814b3f0bebf6
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Fri Apr 6 18:34:44 2012 +0200

    nv50/ir: add isAccessSupported check for memory access coalescing

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c04d6d95e0efb8eea4d788d8d7b629209a3afaea
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Wed Mar 28 21:30:59 2012 +0200

    nv50/ir: add function for splitting a BasicBlock
    
    Fixes to initial implementation by Francisco Jerez.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0056e1b9889ce9cdf3669e5ebc02638e5acc448e
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Tue Nov 15 21:39:52 2011 +0100

    nv50/ir: Allow attaching two nodes when either one is already inside the graph.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=099b81396eb4518cc4de0393ceff1028c5bee2bd
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Tue Nov 15 21:39:22 2011 +0100

    nv50/ir: Allow inserting isolated nodes to a graph.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=18294844584f1a64454593c056148201c4d79ef7
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Tue Nov 15 00:38:15 2011 +0100

    nv50/ir: Fix memory corruption in Function::orderInstructions().
    
    "iter" doesn't reference a BasicBlock directly, but a Node::Graph,
    i.e. BasicBlock::get() is casting to the wrong pointer type.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ab382fbc35f6fd007dc278fcf4bc0dd3c0987a60
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Tue Nov 15 15:58:04 2011 +0100

    nv50/ir: Fix up insertion of PHI instructions using bb->insertHead().

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc740e7924dfa52a39de5f2b8031c2cded0fafb3
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Wed Nov 16 00:39:41 2011 +0100

    nv50/ir: fix insertHead and remove for BBs with PHI ops only

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=349cb60ed58e42341351c5f0ebd186acb8f12005
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Sat Nov 19 21:31:28 2011 +0100

    nv50/ir: Don't crash on zero sized BitSets.

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f0a7ec9a2fad56eeb70c76202c21c97a33915d0b
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Tue Nov 15 01:50:58 2011 +0100

    nv50/ir: Fix Interval::clear().

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cd6d63fa60b7a5d7b81ebc51fa560bcc5b701c73
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date:   Sun Dec 25 18:34:35 2011 +0100

    nv50/ir/tgsi: handle inferSrcType(NOT) to be u32

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=658c0bee712368fba31de677c3b64fc72ea1171d
Author: Francisco Jerez <currojerez at riseup.net>
Date:   Mon Nov 14 23:09:45 2011 +0100

    nv50/ir/opt: Fix OP_NOT to modifier conversion.




More information about the mesa-commit mailing list