Skip to content
#software testing Book Open access

Unfenced: Atomic Guards Against Spectre: ISA-Level Lock-Free Mitigation for Multi-Core RISC-V Processors

Oct 2026 · Proceedings of the 15th International Workshop on Hardware and Architectural Support for Security and Privacy · 0 citations · 4 references

Abstract

Speculative execution attacks, such as Spectre Variant 1, leak sensitive data through transient microarchitectural effects. This paper introduces batched atomic guards: ISA-level software wrappers that use the lr.w.aq/sc.w.rl acquire/release pair to re-validate a security bound once per N = 16 iterations on a dedicated cache-aligned guard cell, in place of fence barriers. On the SiFive HiFive Premier P550 quad-core board, a fence wrapper imposes a 3.4 × execution-time overhead (25.41 ms vs. 7.50 ms unwrapped); the batched guard reduces this to 1.2 × (8.93 ms), 2.8 × faster than the fence wrapper. The batched guard records 0.00% SC failures when the attacker writes a separate variable rather than the dedicated guard cell; we also characterise two non-batched variants and report a counterintuitive result: moving the index-mask computation outside the LR/SC window increases the SC failure rate from 11.07% to 19.98% because of higher loop throughput, despite a narrower individual reservation window. Benign co-located core IPC is unaffected (2.601) across all five tested modes. We give a data-dependency argument for why an acquire load serialises the dependent secret load, and report P550 hardware experiments showing lr.w.aq never observes an uncommitted remote store and costs 13 ns more than a plain load; our platform’s timer resolution does not permit a direct cache side-channel leakage measurement. A four-class classifier trained on 1,480 gem5-derived execution windows distinguishes unwrapped, fence-hardened, and lock-free-hardened execution with 97.4% accuracy.

Read PDF

Similar papers

#computer vision Review Sep 2017

Agile Software Development Methods: Review and Analysis

This publication proposes a definition and a classification of agile software development approaches and analyses ten software development methods that can be characterized as being "agile" against the defined criterion.

P. Abrahamsson, O. Salo, Jussi Ronkainen et al. · 727 citations · ⚡54
#computer vision Jun 2008

The impact of agile practices on communication in software development

The study shows that agile practices improve both informal and formal communication, but indicates that, in larger development situations involving multiple external stakeholders, a mismatch of adequate communication mechanisms can sometimes even hinder the communication.

M. Pikkarainen, Jukka Haikara, O. Salo et al. · 401 citations · ⚡48
#machine learning Review Open access Oct 2014

Software development in startup companies: A systematic mapping study

The results indicate that software engineering work practices are chosen opportunistically, adapted and configured to provide value under the constrains imposed by the startup context.

Nicolò Paternoster, Carmine Giardino, M. Unterkalmsteiner et al. · 394 citations · ⚡54
#computer vision Review Mar 2008

Agile methods in European embedded software development organisations: a survey on the actual use and usefulness of Extreme Programming and Scrum

The results show that the embedded industry has been able to apply agile methods in its development processes and that the appreciation of the agile methods and their individual practices appears to increase once adopted and applied in practice.

O. Salo, P. Abrahamsson · 238 citations · ⚡9
#computer vision Open access Jul 2017

What happens when software developers are (un)happy

Consequences of happiness and unhappiness that are beneficial and detrimental for developers' mental well-being, the software development process, and the produced artifacts are found.

D. Graziotin, Fabian Fagerholm, Xiaofeng Wang et al. · 236 citations · ⚡13
#computer vision Open access Oct 2004

Mobile-D: an agile approach for mobile application development

The Mobile-D approach is briefly outlined here and the experiences gained from four case studies are discussed, which helped develop an agile development approach for mobile application development.

P. Abrahamsson, Antti Hanhineva, H. Hulkko et al. · 225 citations · ⚡18

Related blog posts

Microsoft Research Blog Nov 12, 2026

Microsoft Research Focus – Edition #98

What's new in research at Microsoft? Host Anson Ho explores the latest, including AI-powered universal translation, a breakthrough in a 31-year-old mathematics challenge, and advances making AI coding agents faster and more efficient.  The post Microsoft Research Focus – Edition #98 appeared first on Microsoft Research.

Microsoft Research Blog Nov 5, 2026

Formally verifying agent-written full-stack web apps with PDD Kit

AI agents can generate code at a scale that’s hard for humans to review line-by-line. PDD Kit helps ensure the code is doing what the developer intended by creating formal specifications and testing against them. It converts developer intent into a Verus specification, proves AI-generated code meets it for every input, and uses tests where proofs aren't practical. Developers review intent, not every line. The post Formally verifying agent-written full-stack web apps with PDD Kit appeared first o…

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.