pan/bi: Move bi_packed_tuple to compiler.h
To be used for pack prototype. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8723>
This commit is contained in:
parent
9496689f57
commit
576a94b7b8
|
@ -389,11 +389,6 @@ bi_pack_registers(bi_registers regs)
|
|||
return packed;
|
||||
}
|
||||
|
||||
struct bi_packed_tuple {
|
||||
uint64_t lo;
|
||||
uint64_t hi;
|
||||
};
|
||||
|
||||
/* We must ensure slot 1 > slot 0 for the 63-x trick to function, so we fix
|
||||
* this up at pack time. (Scheduling doesn't care.) */
|
||||
|
||||
|
|
|
@ -748,6 +748,11 @@ signed bi_block_offset(bi_context *ctx, bi_clause *start, bi_block *target);
|
|||
|
||||
void bi_pack(bi_context *ctx, struct util_dynarray *emission);
|
||||
|
||||
struct bi_packed_tuple {
|
||||
uint64_t lo;
|
||||
uint64_t hi;
|
||||
};
|
||||
|
||||
unsigned bi_pack_fma(bi_instr *I,
|
||||
enum bifrost_packed_src src0,
|
||||
enum bifrost_packed_src src1,
|
||||
|
|
Loading…
Reference in New Issue