--
You received this message because you are subscribed to the Google Groups "RISC-V ISA Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isa-dev+u...@groups.riscv.org.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/isa-dev/a4c2c04d-6211-42d9-a255-f74db24916ebn%40groups.riscv.org.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/isa-dev/CABpcLcSU33LZYYGiTYx9dwKLm5%2BQe3k3Y%3DfWTTfL_iuDq%3Dr5bA%40mail.gmail.com.
Hello,As I understand from reading the 'A' spec, the atomic memory operations (specifically atomic add) only apply to integers. Is this correct? Is there any plan or proposal to support floating point atomic memory operations (like atomic add), or is this even desirable?
Correct me if I am wrong, but I think it is possible to build up more complex atomic operations using simpler ones based on integers. That is, a float sequence could be protected by a mutex or semaphore and the results transferred atomically. I am wondering if an atomic FP sequence could be wrapped up in micro-code that uses integer atomics? That would give instruction density if FP atomics were needed. Would it be worthwhile to have a few opcodes reserved for FP atomics implemented with micro-code? I am guessing not. Maybe an instruction modifier could handle it.
I wonder if there is a HLL that handles atomic sequences?
Also, only a small subset of integer operations is typically available for atomics. My memory controller does not support multi-bit shifts by default since it is a lot of hardware. Similarly to FP, multi-cycle integer ops are also not supported (MUL, DIV, etc). So how would these ops be made atomic?
To unsubscribe from this group and stop receiving emails from it, send an email to isa-dev+u...@groups.riscv.org.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/isa-dev/8b13b54f-9b13-4298-b530-66492970eb1bn%40groups.riscv.org.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/isa-dev/800AF0FB-DD65-4AF4-81B7-E4CFE96DB8E8%40cs.washington.edu.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/isa-dev/57e07dfb-875d-494d-9b18-9d7dde467401n%40groups.riscv.org.