[Mesa-dev] [PATCH 1/2] R600/SI: add proper 64bit immediate support
Michel Dänzer
michel at daenzer.net
Mon Feb 4 09:03:18 PST 2013
On Mon, 2013-02-04 at 17:54 +0100, Christian König wrote:
>
> +// i64 immediates aren't supported in hardware, split it into two 32bit values
> +def : Pat <
> + (i64 imm:$imm),
> + (INSERT_SUBREG (INSERT_SUBREG (i64 (IMPLICIT_DEF)),
> + (S_MOV_IMM_I32 (LO32 imm:$imm)), low),
> + (S_MOV_IMM_I32 (HI32 imm:$imm)), high)
> +>;
You need to rebase this onto my changes Tom just pushed to his master
branch, using 'sub0' instead of 'low' and 'sub1' instead of 'high'.
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Debian, X and DRI developer
More information about the mesa-dev
mailing list