← Lab /Systems

HPS-PEC runs encrypted code at 3.41× native speed, 1.26× faster than SE unit

HPS-PEC provides privacy-enhanced computing with minor CPU modifications, achieving 3.41× native execution time and outperforming dedicated SE units

Systems arXiv 9 Nov 2026 Method Simulation evidence

Published as “Hidden in Plain Sight: Privacy-Enhanced Computing Through Register Renaming”

Why it matters

The approach shows a path to encrypted execution with modest performance and area costs, but high latency on dependent chains limits its suitability for workloads with many sequential encrypted operations.

Summary

HPS-PEC runs encrypted code with a 3.41× slowdown versus native execution and 3.31× versus data-oblivious code, while being 1.26× faster than a dedicated sequestered-encryption (SE) unit and using less than a third of its area. The design achieves this by storing plaintext in hidden micro-architectural registers via register renaming and sharing the core’s existing functional units. Performance varies widely: some benchmarks see only 1.0× overhead, but dependent-chain workloads incur up to 19.3× slowdown. Evidence comes from a 25-benchmark suite comparing against native, data-oblivious, and SE baselines.

What they found 2

  1. HPS-PEC is on average 1.26× faster than a dedicated SE unit.

    “SE is 1.26× slower than HPS-PEC (geomean), slower on 16 benchmarks and faster on 5.”

  2. The three cipher units of HPS-PEC occupy less than 30% of the area of an SE unit.

    “the three cipher units of HPS-PEC 5097 μm2, under 30% of the area of SE.”

Caveats 4

  • Encryption costs least in randshell-sort (1.0×) and bitonic-sort (1.2×), where the out-of-order core hides it, and most in tea-cipher (19.3×), kadane and rabinkarp-search, whose chains of dependent encrypted operations expose every encryption and decryption.
  • SE wins on long dependent chains (nr-solver, 0.59×), where four registers per PEC instruction exhaust HPS-PEC’s register file.
  • its 3-4 micro-operations per PEC instruction are its main cost.
  • Our design enables eliminating redundant decryptions and supporting 128-bit ciphers, both left for future work.

What’s new here 4

  • Uses register renaming to hide plaintext in hidden micro-architectural registers without extra compute resources.
  • Breaks PEC instructions into ordinary μOps that share the core’s existing functional units.
  • Adds only encryption/decryption units, reducing dedicated hardware area to under 30% of a traditional SE unit.
  • Leverages out-of-order execution to overlap cipher latency and execute PEC instructions in parallel.