mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 12:10:09 +01:00
pan/bi: Add disassembly prototypes
Fix a header guard too. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6749>
This commit is contained in:
parent
82f33155f6
commit
944cb8bcba
1 changed files with 11 additions and 0 deletions
|
|
@ -23,9 +23,20 @@
|
|||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef __BI_DISASM_H
|
||||
#define __BI_DISASM_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include "bifrost.h"
|
||||
|
||||
void disassemble_bifrost(FILE *fp, uint8_t *code, size_t size, bool verbose);
|
||||
|
||||
void
|
||||
bi_disasm_fma(FILE *fp, unsigned bits, struct bifrost_regs *srcs, struct bifrost_regs *next_regs, unsigned staging_register, unsigned branch_offset, uint64_t *consts);
|
||||
|
||||
void bi_disasm_add(FILE *fp, unsigned bits, struct bifrost_regs *srcs, struct bifrost_regs *next_regs, unsigned staging_register, unsigned branch_offset, uint64_t *consts);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue