Module xuantie::asm

source · []
Expand description

Assembly instructions

This module allows you to use XuanTie instructions without using specialized assembler or compiler.

Not all these instructions are supported on your XuanTie platform. You may use mcpuid register to get your implementation model, or read the manual before using any of following assembly instructions.

Functions

DCACHE.CALL, D-cache clean all dirty items instruction

DCACHE.CIALL, D-cache clean all dirty and invalid item instruction

DCACHE.CIPA, D-cache clean dirty and invalid for physical address instruction

DCACHE.CISW, D-cache clean dirty and invalid for way and set instruction

DCACHE.CIVA, D-cache clean dirty and invalid for virtual address instruction

DCACHE.CPA, D-cache clean dirty item for physical address instruction

DCACHE.CPAL1, L1 D-cache clean dirty item for physical address instruction

DCACHE.CSW, D-cache clean dirty item on way and set instruction

DCACHE.CVA, D-cache clean dirty item for virtual address instruction

DCACHE.CVAL1, L1 D-cache clean dirty item for virtual address instruction

DCACHE.IALL, D-cache invalid all items instruction

DCACHE.IPA, D-cache invalid item for physical address instruction

DCACHE.ISW, D-cache invalid item for way and set instruction

DCACHE.IVA, D-cache invalid item for virtual address instruction

ICACHE.IALL, I-cache invalid all items instruction

ICACHE.IALLS, I-cache broadcast all harts to invalid all items instruction

ICACHE.IPA, I-cache invalid item for physical address instruction

ICACHE.IVA, I-cache invalid item for virtual address instruction

IPOP, fast interrupt stack pop instruction

IPUSH, fast interrupt stack push instruction

L2CACHE.CALL, L2-cache clean all dirty items instruction

L2CACHE.CIALL, L2-cache clean all dirty and invalid item instruction

L2CACHE.IALL, L2-cache invalid all items instruction

SYNC, Synchronize instruction

SYNC.I, Synchronize and clean instruction

SYNC.IS, Synchronize, clean and broadcast instruction

SYNC.S, Synchronize and broadcast instruction