Module xuantie::asm[][src]

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

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

dcache_ciall

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

dcache_cipa

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

dcache_cisw

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

dcache_civa

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

dcache_cpa

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

dcache_csw

DCACHE.CSW, D-cache clean dirty item for way or set instruction

dcache_cva

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

dcache_iall

DCACHE.IALL, D-cache invalid all items instruction

dcache_ipa

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

dcache_isw

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

dcache_iva

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

icache_iall

ICACHE.IALL, I-cache invalid all items instruction

icache_ialls

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

icache_ipa

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

icache_iva

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

ipop

IPOP, fast interrupt stack pop instruction

ipush

IPUSH, fast interrupt stack push instruction